summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 5 insertions, 0 deletions
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