Add a flag to control flood of unicast traffic. By default, flood is on and the bridge will flood unicast traffic if it doesn't know the destination. When the flag is turned off, unicast traffic without an FDB will not be forwarded to the specified port.
Showing the changes to include/uapi/linux (1 of 8 files). Show all
Unified · Split
| @@ -222,6 +222,7 @@ enum { · 221 unmodified lines | |||
| 222 | IFLA_BRPORT_PROTECT, /* root port protection */ | 222 | IFLA_BRPORT_PROTECT, /* root port protection */ |
| 223 | IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */ | 223 | IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */ |
| 224 | IFLA_BRPORT_LEARNING, /* mac learning */ | 224 | IFLA_BRPORT_LEARNING, /* mac learning */ |
| 225 | IFLA_BRPORT_UNICAST_FLOOD, /* flood unicast traffic */ | ||
| 225 | __IFLA_BRPORT_MAX | 226 | __IFLA_BRPORT_MAX |
| 226 | }; | 227 | }; |
| 227 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) | 228 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |