freebsd-nq/sys/net
Luigi Rizzo e88516c29b Lots of improvement to the bridging code.
In order of importance:

 + each cluster now uses private data structures (filtering and
   local address tables) so you can treat them as fully independent
   switches. This part of the work was supported by:
        Cisco Systems, Inc. - NSITE lab, RTP, NC.

 + cleaned up the handling of configuration, so the system will behave
   much better when real or pseudo devices are dynamically attached
   or detached. It should also not panic anymore on systems with large
   number of devices, closing a few existings PRs on the topic.

 + while at it, add support for VLAN. This means that a FreeBSD box
   can now work as a real VLAN switch, with trunk interfaces etc.
   As an example:
        ifconfig vlan0 vlan 3 vlandev dc0
        ifconfig vlan1 vlan 4 vlandev dc0
        net.link.ether.bridge_cfg="vlan0:3,dc1:3,vlan1:4,dc1:4"
   uses dc0 as a trunk interface, and dc1 and dc3 as ports on vlans 3 and 4
   You get the idea...
   NOTA BENE: by default bridge_cfg is initialised to "" so even if
   you enable bridging, no packets will be bridged until you set the
   list of interfaces on which you want this to happen.

 + large restructuring of the code, moving private vars and types from
   bridge.h to bridge.c.

 + added a lot of comments to the code to explain how to use it.
2002-02-15 05:11:11 +00:00
..
bpf_compat.h Small fix for bpf compat: 2000-12-27 22:20:13 +00:00
bpf_filter.c sparc64 needs the same alignment fixes that ia64 and alpha need. 2001-12-29 08:44:08 +00:00
bpf.c Make bpf's read timeout feature work more correctly with 2001-12-14 22:17:54 +00:00
bpf.h Update our bpf.h with tcpdump.org's new DLT_ types. 2001-07-31 23:27:06 +00:00
bpfdesc.h Make bpf's read timeout feature work more correctly with 2001-12-14 22:17:54 +00:00
bridge.c Lots of improvement to the bridging code. 2002-02-15 05:11:11 +00:00
bridge.h Lots of improvement to the bridging code. 2002-02-15 05:11:11 +00:00
bsd_comp.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ethernet.h Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
fddi.h
if_arc.h remove superflous empty line (in preparation to MFC) 2002-02-13 19:36:14 +00:00
if_arcsubr.c - generic Arcnet framework 2002-01-08 20:03:13 +00:00
if_arp.h bring in ARP support for variable length link level addresses 2001-10-14 20:17:53 +00:00
if_atm.h
if_atmsubr.c Fix warning; remove unused variable 2001-06-15 07:32:25 +00:00
if_disc.c minor style fix. 2001-12-14 19:28:06 +00:00
if_dl.h
if_ef.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
if_ethersubr.c Remove useless initialization to 0 of a couple of global variables. 2002-02-15 04:57:18 +00:00
if_faith.c Staticise private interface lists. 2002-01-08 10:30:09 +00:00
if_fddisubr.c bring in ARP support for variable length link level addresses 2001-10-14 20:17:53 +00:00
if_gif.c Staticise private interface lists. 2002-01-08 10:30:09 +00:00
if_gif.h /home/brooks/ng_gif.message 2001-09-26 23:50:17 +00:00
if_ieee80211.h Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_iso88025subr.c whitespace fixes. 2001-12-14 19:32:47 +00:00
if_llc.h
if_loop.c sparc64 needs the same alingment fixes that alpha and ia64 do. 2001-12-29 08:45:17 +00:00
if_media.c Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_media.h Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_mib.c The interface index space may be sparsely populated (e.g. when an 2001-10-17 04:12:29 +00:00
if_mib.h
if_ppp.c Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
if_ppp.h
if_pppvar.h Staticise private interface lists. 2002-01-08 10:30:09 +00:00
if_sl.c Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
if_slvar.h sc_lasttime and sc_starttime are time_t's, not long's. 2001-10-27 20:31:24 +00:00
if_sppp.h Implement an option to administratively disable the negotiation of 2001-12-30 20:42:29 +00:00
if_spppsubr.c Implement an option to administratively disable the negotiation of 2001-12-30 20:42:29 +00:00
if_stf.c Staticise private interface lists. 2002-01-08 10:30:09 +00:00
if_stf.h Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
if_tap.c Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
if_tap.h Add the tap driver. 2000-07-20 17:01:10 +00:00
if_tapvar.h Add cloning support for the tap(4) device similar to that in the tun(4) 2001-09-05 01:06:21 +00:00
if_tun.c Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
if_tun.h
if_tunvar.h Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
if_types.h Add recently assigned interface types. 2001-04-04 14:18:57 +00:00
if_var.h whitespace fixes. 2001-12-14 19:32:47 +00:00
if_vlan_var.h Make vlan(4) loadable, unloadable, and clonable. As a side effect, 2001-09-05 21:10:28 +00:00
if_vlan.c - Utilize the great M_ZERO flag rather than allocating memory then do 2001-11-21 20:29:08 +00:00
if.c Introduce an interface announcement message for the routing 2002-01-18 14:33:04 +00:00
if.h Introduce an interface announcement message for the routing 2002-01-18 14:33:04 +00:00
intrq.c Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
intrq.h Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
iso88025.h - Define payload length constants for 4Mbps and 16Mbps. 2001-03-18 05:41:07 +00:00
net_osdep.c incorrect bounds-check on snprintf. 2001-07-26 19:14:52 +00:00
net_osdep.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
netisr.h Device Polling code for -current. 2001-12-14 17:56:12 +00:00
pfil.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
pfil.h Remove extra memory region kept by "struct pfil_head pfil_head_t;". 2001-10-22 08:46:23 +00:00
pfkeyv2.h printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
ppp_comp.h Remove bogus undocumented macros used to control conditional assembly. 2000-10-27 08:39:41 +00:00
ppp_deflate.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppp_defs.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ppp_tty.c Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
radix.c Initialize rn_mklist in rn_newpair(). The undocumented assumption 2000-10-27 20:50:14 +00:00
radix.h
raw_cb.c Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
raw_cb.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
raw_usrreq.c Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
route.c Fix a typo in a comment 2001-11-28 16:15:52 +00:00
route.h Introduce an interface announcement message for the routing 2002-01-18 14:33:04 +00:00
rtsock.c Prevent the kernel from generating an unaligned sysctl data buffer on 2002-01-27 20:39:01 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h