History

bridge: Add a flag to control unicast packet flood.

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.

Vlad Yasevich committed 13 years ago

Commit 867a5941 parent 9ba18898 files · +32 −16Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -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_MAX226 __IFLA_BRPORT_MAX
226};227};
227#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)228#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t