diff options
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |