diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-03-13 12:52:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-03-13 12:57:40 +0100 |
commit | c06f84238952211b35c2940a82fcce3fcc3221c1 (patch) | |
tree | 10c9006c5bce37cc64f2939177ee4e22b50efb5d /device.h | |
parent | 1f5a29c3de6e3fec5883796ee772e25d56db6a69 (diff) |
device: add support for setting the isolate options for bridge ports
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -50,6 +50,7 @@ enum { DEV_ATTR_NEIGHGCSTALETIME, DEV_ATTR_SENDREDIRECTS, DEV_ATTR_NEIGHLOCKTIME, + DEV_ATTR_ISOLATE, __DEV_ATTR_MAX, }; @@ -102,6 +103,7 @@ enum { DEV_OPT_MULTICAST_FAST_LEAVE = (1 << 20), DEV_OPT_SENDREDIRECTS = (1 << 21), DEV_OPT_NEIGHLOCKTIME = (1 << 22), + DEV_OPT_ISOLATE = (1 << 23), }; /* events broadcasted to all users of a device */ @@ -168,6 +170,7 @@ struct device_settings { bool learning; bool unicast_flood; bool sendredirects; + bool isolate; }; /* |