Module Name: src Committed By: martin Date: Thu Sep 5 09:27:13 UTC 2024
Modified Files: src/distrib/sets/lists/tests [netbsd-10]: mi src/sbin/brconfig [netbsd-10]: brconfig.8 brconfig.c src/sys/net [netbsd-10]: if_bridge.c if_bridgevar.h src/tests/net/if_bridge [netbsd-10]: Makefile t_bridge.sh Added Files: src/tests/net/if_bridge [netbsd-10]: broadcast.pcap.uue unicast.pcap.uue Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #818): sys/net/if_bridgevar.h: revision 1.39 sbin/brconfig/brconfig.c: revision 1.18 tests/net/if_bridge/unicast.pcap.uue: revision 1.1 tests/net/if_bridge/t_bridge.sh: revision 1.20 sbin/brconfig/brconfig.8: revision 1.21 tests/net/if_bridge/t_bridge.sh: revision 1.21 sys/net/if_bridge.c: revision 1.194 tests/net/if_bridge/Makefile: revision 1.4 distrib/sets/lists/tests/mi: revision 1.1336 tests/net/if_bridge/broadcast.pcap.uue: revision 1.1 bridge: implement interface protection It enables a feature similar to "protected-port" or "isolation" in some router products by marking member interfaces protected; when a frame arrives on a protected interface and is being forwarded to another protected interface, the frame will be discarded. The code is developed by the SEIL team at IIJ. tests: dedup test scripts like others brconfig: add protect/-protect commands It marks/clears a specified interface "protected". tests, bridge: add tests for interface protection The original author of the test is k-goda@IIJ. ozaki-r improved the test slightly. distrib: install uuencoded pcap files for testing To generate a diff of this commit: cvs rdiff -u -r1.1238.2.10 -r1.1238.2.11 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.20 -r1.20.6.1 src/sbin/brconfig/brconfig.8 cvs rdiff -u -r1.17 -r1.17.26.1 src/sbin/brconfig/brconfig.c cvs rdiff -u -r1.189.4.1 -r1.189.4.2 src/sys/net/if_bridge.c cvs rdiff -u -r1.37 -r1.37.4.1 src/sys/net/if_bridgevar.h cvs rdiff -u -r1.3 -r1.3.22.1 src/tests/net/if_bridge/Makefile cvs rdiff -u -r0 -r1.1.2.2 src/tests/net/if_bridge/broadcast.pcap.uue \ src/tests/net/if_bridge/unicast.pcap.uue cvs rdiff -u -r1.19 -r1.19.8.1 src/tests/net/if_bridge/t_bridge.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.