X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=6fceaa1ca07a4780a2e9ce1fc3d4c7f2e33ba965;hp=e71027ee28888420dfd1d73c5cab0432248928e5;hb=98ca67469da70accd710b14c28e77be2126170a8;hpb=08d35c7a59a182b9ef05d95ca3c583806b2ba924;ds=sidebyside diff --git a/device.h b/device.h index e71027e..6fceaa1 100644 --- a/device.h +++ b/device.h @@ -31,6 +31,7 @@ enum { DEV_ATTR_MACADDR, DEV_ATTR_TXQUEUELEN, DEV_ATTR_ENABLED, + DEV_ATTR_IPV6, __DEV_ATTR_MAX, }; @@ -60,6 +61,7 @@ enum { DEV_OPT_MTU = (1 << 0), DEV_OPT_MACADDR = (1 << 1), DEV_OPT_TXQUEUELEN = (1 << 2), + DEV_OPT_IPV6 = (1 << 3), }; /* events broadcasted to all users of a device */ @@ -105,6 +107,7 @@ struct device_settings { unsigned int mtu; unsigned int txqueuelen; uint8_t macaddr[6]; + bool ipv6; }; /*