X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=device.h;h=dc410b425c9398a3f690a0d0f080c0c9f46a7675;hb=458b1a7e9473c150a40cae5d8be174f4bb03bd39;hp=ab5a162a964ce0d3be4cdcc98de18b2ddf86213c;hpb=42c48866f1c1fce068f41536baa8dd2e80fc08d7;p=project%2Fnetifd.git diff --git a/device.h b/device.h index ab5a162..dc410b4 100644 --- a/device.h +++ b/device.h @@ -53,6 +53,7 @@ enum { DEV_ATTR_SENDREDIRECTS, DEV_ATTR_NEIGHLOCKTIME, DEV_ATTR_ISOLATE, + DEV_ATTR_IP6SEGMENTROUTING, __DEV_ATTR_MAX, }; @@ -107,6 +108,7 @@ enum { DEV_OPT_SENDREDIRECTS = (1 << 21), DEV_OPT_NEIGHLOCKTIME = (1 << 22), DEV_OPT_ISOLATE = (1 << 23), + DEV_OPT_IP6SEGMENTROUTING = (1 << 24), }; /* events broadcasted to all users of a device */ @@ -173,6 +175,7 @@ struct device_settings { bool learning; bool unicast_flood; bool sendredirects; + bool ip6segmentrouting; bool isolate; }; @@ -320,4 +323,6 @@ device_set_disabled(struct device *dev, bool value) device_refresh_present(dev); } +bool device_check_ip6segmentrouting(void); + #endif