summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-03-13 12:52:43 +0100
committerFelix Fietkau <nbd@nbd.name>2018-03-13 12:57:40 +0100
commitc06f84238952211b35c2940a82fcce3fcc3221c1 (patch)
tree10c9006c5bce37cc64f2939177ee4e22b50efb5d /device.h
parent1f5a29c3de6e3fec5883796ee772e25d56db6a69 (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.h b/device.h
index dc45967..84acf52 100644
--- a/device.h
+++ b/device.h
@@ -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;
};
/*