CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/05/10 09:13:38
Modified files:
sys/net : if_switch.c if_switch.h switchofp.c
Log message:
Add port protection support to switch(4). The behavior copies that of
bridge(4), where the SIOCBRDGSIFPROT ioctl can be used to add a port to up
to 31 protected domains. This allows configuration by specifying a list of
IDs to the 'protected' option in ifconfig(8):
# ifconfig switch0 protected pair1 1,2,..
Domain membership is checked for unicast, flooded (broadcast), and
local (host-network-bound, e.g. trunk) traffic.
OK benno@