Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | unifdef OLDIP6OUTPUT | 2001-11-30 | 1 | -6/+1 | ||
| | ||||||
* | M_WAIT in ether_output is wrong. Fix APPLETALK stuff. | 2001-10-03 | 1 | -4/+5 | ||
| | ||||||
* | document why we use random() | 2001-09-20 | 1 | -1/+6 | ||
| | ||||||
* | the use of arc4random() in ether_ifattach() is wrong as randomattach() | 2001-09-20 | 1 | -2/+2 | ||
| | | | | | | | | | | | | has not yet been called at this point. replace arc4random() with the more mundae random()&0xff as the use of a strong PRNG is not need here, where this code just helps fix up broken MAC addresses anyway now to find the real problem with my sis(4) LAN interface... ok'd by jason@ | |||||
* | compile w/out INET | 2001-08-19 | 1 | -1/+5 | ||
| | ||||||
* | use queue.h macros | 2001-07-30 | 1 | -4/+5 | ||
| | ||||||
* | Initialization of arpcom * based on ifp was too soon: ifp can change as | 2001-07-25 | 1 | -2/+4 | ||
| | | | | a result of a call to bridge_input(). | |||||
* | introduce the ALTQ queue macros into sys/net files. | 2001-06-27 | 1 | -8/+107 | ||
| | | | | | | | | | | | | | | the new model removes direct references to the fields in ifp->if_snd, and defines the following macros to manipulate ifp->if_snd. IFQ_ENQUEUE(ifq, m, pktattr, err) IFQ_DEQUEUE(ifq, m) IFQ_POLL(ifq, m) IFQ_PURGE(ifq) IFQ_IS_EMPTY(ifq) the new model also enforces some rules regarding how to use these macros. details are descrined in http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt | |||||
* | Use ETHER_IS_MULTICAST macro; jason@ ok. | 2001-06-24 | 1 | -2/+2 | ||
| | ||||||
* | Add ether_input_mbuf to help us remove the ether_header from | 2001-06-23 | 1 | -1/+17 | ||
| | | | | | ether_input; all drivers should start migrating to this. Discussed with jason@, deraadt@ more or les ok'ed. | |||||
* | Check for bridge loops. | 2001-06-23 | 1 | -3/+35 | ||
| | ||||||
* | Use standard defined macros to access inner ifnet data structure members. | 2001-06-23 | 1 | -2/+2 | ||
| | ||||||
* | change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. | 2001-06-15 | 1 | -3/+1 | ||
| | | | | | | | | follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed. | |||||
* | drop multicast packet from myself, if the interface is !IFF_SIMPLEX. | 2001-06-14 | 1 | -5/+26 | ||
| | | | | sync with netbsd/kame. | |||||
* | add BIOC[GS]HDRCMPLT ioctl for BPF, to disable overwriting of link level source address in forged frames. from NetBSD. art@ok | 2001-05-28 | 1 | -5/+15 | ||
| | ||||||
* | move the vlan and bridge handling around a bit, and make sure the test | 2001-03-23 | 1 | -19/+19 | ||
| | | | | for (mcast || bcase || (unicast || for us)) is always called. | |||||
* | remove vlan_proto variable, replace with ETHERTYPE_8021Q | 2001-03-22 | 1 | -2/+2 | ||
| | | | | | | define if_type for vlan interfaces (IFT_8021_VLAN) #ifdef DEBUG some debugging printf's protect against other uses of M_PROTO1 | |||||
* | for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok | 2001-02-20 | 1 | -1/+10 | ||
| | ||||||
* | packets received on gif's for local processing can't just fall down the | 2001-02-01 | 1 | -1/+5 | ||
| | | | | | | | stack, they have to be pushed; when calling ether_input(): 1 - unicast packets have the ifp of the matching interface 2 - bcast/mcast packets have the ifp of the first IFT_ETHER bridge member based on discussion with angelos. | |||||
* | Add support for 802.1D spanning tree protocol. | 2000-12-12 | 1 | -1/+2 | ||
| | | | | NOTE: this requires recompiling brconfig with updated include files. | |||||
* | use llc_snap instead of home grown macros | 2000-10-18 | 1 | -10/+7 | ||
| | ||||||
* | if an interface comes up with a bad ethernet address, change it -- | 2000-09-07 | 1 | -1/+14 | ||
| | | | | | | setting it to fe:e1:ba:d0:xx where xx is a random number. this avoids various network catastrophies, and also client machines will complain everytime that server is rebooted... | |||||
* | vlan was consuming all vlan frames before they had a chance to be bridged. | 2000-06-02 | 1 | -11/+12 | ||
| | | | | | | Change the order of operations to be: ether_input() -> bridge_input() -> vlan_input() Also, only process vlan frames that are unicast for us or bcast/mcast. | |||||
* | On input if the packet matches one of the member interface MAC addresses, | 2000-06-02 | 1 | -1/+2 | ||
| | | | | | set the receiving interface to be that interface for further processing; thanks to dorcula@uncool.org for reporting and testing. | |||||
* | if_vlan from FreeBSD and a few modifications | 2000-04-26 | 1 | -2/+16 | ||
| | ||||||
* | fix include file path related to ip6. | 2000-02-07 | 1 | -6/+1 | ||
| | ||||||
* | Remove unneeded loout call that uses ipx_thishost. | 2000-01-11 | 1 | -3/+1 | ||
| | ||||||
* | bring in KAME IPv6 code, dated 19991208. | 1999-12-08 | 1 | -15/+65 | ||
| | | | | | | | | | replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon). | |||||
* | o simpler handling of "forme" packets | 1999-09-01 | 1 | -4/+6 | ||
| | | | | o when ~IFF_UP, don't act like a bridge for output either | |||||
* | Fix cases when wanting to communicate with the bridge' | 1999-08-08 | 1 | -4/+4 | ||
| | | | | s remote interfaces, both ARP and local delivery had bugs | |||||
* | Support detaching of network interfaces. Still work to do in ipf, and | 1999-08-08 | 1 | -1/+15 | ||
| | | | | other families than inet. | |||||
* | Ethernet bridge/IP firewall driver. | 1999-02-26 | 1 | -3/+44 | ||
| | ||||||
* | inet6 support; NRL/cmetz | 1999-01-08 | 1 | -23/+120 | ||
| | ||||||
* | htons(ETHERTYPE_IPX) | 1998-07-07 | 1 | -2/+2 | ||
| | ||||||
* | bad types; wileyc@sekiya.twics.co.jp | 1998-02-03 | 1 | -2/+2 | ||
| | ||||||
* | undo previous AF_UNSPEC change. analyze two alternatives: AF_SOMETHINGNEW, | 1997-09-27 | 1 | -13/+8 | ||
| | | | | or how much work it would be fix everything that uses AF_UNSPEC. | |||||
* | for AF_UNSPEC sockets, do not whack the ethernet address; this is what bpf | 1997-07-27 | 1 | -8/+13 | ||
| | | | | uses when it sends packets out. blame tqbf@rdist.org for this fix. | |||||
* | do not ignore IFF_NOARP | 1997-07-24 | 1 | -1/+5 | ||
| | ||||||
* | define ETHERTYPE_IPX | 1997-07-23 | 1 | -8/+5 | ||
| | ||||||
* | make it compile w/o NETATALK defined | 1997-07-23 | 1 | -2/+3 | ||
| | ||||||
* | A block of code from the last commit was not #ifdef NETATALK. | 1997-07-23 | 1 | -2/+3 | ||
| | ||||||
* | AppleTalk support based on netatalk-1.4a2 and FreeBSD. | 1997-07-23 | 1 | -1/+109 | ||
| | ||||||
* | Don't examine an mbuf after it has been released; from Andreas Gunnarsson | 1997-01-26 | 1 | -3/+3 | ||
| | ||||||
* | accept llc/snap packets; still cannot send them... | 1997-01-02 | 1 | -36/+34 | ||
| | ||||||
* | do SIOCGIFADDR | 1996-12-19 | 1 | -1/+8 | ||
| | ||||||
* | treat only ether II type packets for ipx. | 1996-12-19 | 1 | -5/+1 | ||
| | ||||||
* | removed an unused variable | 1996-06-02 | 1 | -2/+1 | ||
| | ||||||
* | if_name/if_unit -> if_xname/if_softc | 1996-05-10 | 1 | -3/+3 | ||
| | ||||||
* | fix includes for x25/llc. | 1996-05-06 | 1 | -2/+4 | ||
| | ||||||
* | if.h was missed from the commit. | 1996-05-06 | 1 | -2/+4 | ||
| | | | | if_ethersubr.c: missed variables added. |