From c06f84238952211b35c2940a82fcce3fcc3221c1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 13 Mar 2018 12:52:43 +0100 Subject: device: add support for setting the isolate options for bridge ports Signed-off-by: Felix Fietkau --- device.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'device.h') 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; }; /* -- cgit v1.2.1