summaryrefslogtreecommitdiffstats
path: root/sys/net/bridge.h
Commit message (Collapse)AuthorAgeFilesLines
* network interface and link layer changes:sam2002-11-151-2/+1
| | | | | | | | | | | | o on input don't strip the Ethernet header from packets o input packet handling is now done with if_input o track changes to ether_ifattach/ether_ifdetach API o track changes to bpf tapping o call ether_ioctl for default handling of ioctl's o use constants from net/ethernet.h where possible Reviewed by: many Approved by: re
* Lots of improvement to the bridging code.luigi2002-02-151-60/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* MFS: sync the ipfw/dummynet/bridge code with the one recently mergedluigi2001-11-041-42/+8
| | | | into stable (mostly , but not only, formatting and comments changes).
* Fix this so it compiles cleanly for alpha. Tried to do some minimal testing.mjacob2001-10-191-3/+4
| | | | Reviewed by: freebsd-net
* Make it so dummynet and bridge can be loaded as modules.ps2001-10-051-6/+9
| | | | Submitted by: billf
* MFS: bridge/ipfw/dummynet fixes (bridge.c will be committed separately)luigi2001-02-021-6/+43
|
* Make the bridge_refresh operation automatic when ethernet interfacesnsayer2000-07-291-0/+2
| | | | are attached or detached.
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-05-141-4/+3
| | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net
* Update bridging code to the one already in -stable (this wasluigi2000-02-081-4/+2
| | | | | | forgotten some time ago...). Approved-by: jordan
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+3
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Bridging support. Wait for LINT to be updated before trying it.luigi1998-12-141-1/+1
|
* Bring in files for bridging support.luigi1998-09-121-0/+142
OpenPOWER on IntegriCloud