X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface.h;h=8eeb7db8a1c34c3afeb97c9dbf283ef885acf728;hp=90087fc0298fe137102c01e8dfdb433f4e4f005e;hb=fb2f843edf44c6f12b636cd82cdd1c71e953495f;hpb=922c169147fc6e4c4ecf94029528192636e917e7 diff --git a/interface.h b/interface.h index 90087fc..8eeb7db 100644 --- a/interface.h +++ b/interface.h @@ -41,6 +41,12 @@ enum interface_config_state { IFC_REMOVE }; +enum interface_id_selection_type { + IFID_FIXED, + IFID_RANDOM, + IFID_EUI64 +}; + enum interface_update_flags { IUF_ADDRESS = (1 << 0), IUF_ROUTE = (1 << 1), @@ -139,6 +145,8 @@ struct interface { unsigned int ip6table; /* IPv6 assignment parameters */ + enum interface_id_selection_type assignment_iface_id_selection; + struct in6_addr assignment_fixed_iface_id; uint8_t assignment_length; int32_t assignment_hint; struct list_head assignment_classes;