Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-02-16 | KNF | Theo de Raadt | |
2003-01-07 | remove the altq classifier code which is replaced by pf and no longer used. | Kenjiro Cho | |
ok henning@, deraadt@ | |||
2002-09-11 | KNF - return is not a function. | Jun-ichiro itojun Hagino | |
2002-06-30 | allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always know | Jun-ichiro itojun Hagino | |
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok | |||
2002-06-10 | Split common code which converts a multicast address to an ethernet | Chris Cappuccio | |
address from ether_addmulti() and ether_delmulti() into ether_multiaddr(), a'la netbsd. Also clean up some magic numbers. itojun likes it | |||
2002-05-17 | sync with KAME. | Kenjiro Cho | |
- make altq_etherclassify() able to handle packets whose ethernet header is in a separate mbuf. | |||
2002-05-07 | move ether_crc32_le to if_ethersubr.c. Add ether_crc32_be | Nathan Binkert | |
2002-02-07 | Quiet down an annoying message in altq_etherclassify. | Artur Grabowski | |
2001-12-09 | Use queue.h TAILQ macros instead of accessing members directly. | Jason Wright | |
(And convert a few loops to TAILQ_FOREACH). | |||
2001-11-30 | unifdef OLDIP6OUTPUT | Jun-ichiro itojun Hagino | |
2001-10-03 | M_WAIT in ether_output is wrong. Fix APPLETALK stuff. | Artur Grabowski | |
2001-09-20 | document why we use random() | Theo de Raadt | |
2001-09-20 | the use of arc4random() in ether_ifattach() is wrong as randomattach() | Peter Galbavy | |
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@ | |||
2001-08-19 | compile w/out INET | Jason Wright | |
2001-07-30 | use queue.h macros | Jason Wright | |
2001-07-25 | Initialization of arpcom * based on ifp was too soon: ifp can change as | Jason Wright | |
a result of a call to bridge_input(). | |||
2001-06-27 | introduce the ALTQ queue macros into sys/net files. | Kenjiro Cho | |
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 | |||
2001-06-24 | Use ETHER_IS_MULTICAST macro; jason@ ok. | Federico G. Schwindt | |
2001-06-23 | Add ether_input_mbuf to help us remove the ether_header from | Federico G. Schwindt | |
ether_input; all drivers should start migrating to this. Discussed with jason@, deraadt@ more or les ok'ed. | |||
2001-06-23 | Check for bridge loops. | Angelos D. Keromytis | |
2001-06-23 | Use standard defined macros to access inner ifnet data structure members. | Aaron Campbell | |
2001-06-15 | change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. | Jun-ichiro itojun Hagino | |
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. | |||
2001-06-14 | drop multicast packet from myself, if the interface is !IFF_SIMPLEX. | Jun-ichiro itojun Hagino | |
sync with netbsd/kame. | |||
2001-05-28 | add BIOC[GS]HDRCMPLT ioctl for BPF, to disable overwriting of link level ↵ | Dug Song | |
source address in forged frames. from NetBSD. art@ok | |||
2001-03-23 | move the vlan and bridge handling around a bit, and make sure the test | Jason Wright | |
for (mcast || bcase || (unicast || for us)) is always called. | |||
2001-03-22 | remove vlan_proto variable, replace with ETHERTYPE_8021Q | Jason Wright | |
define if_type for vlan interfaces (IFT_8021_VLAN) #ifdef DEBUG some debugging printf's protect against other uses of M_PROTO1 | |||
2001-02-20 | for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok | Michael Shalayeff | |
2001-02-01 | packets received on gif's for local processing can't just fall down the | Jason Wright | |
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. | |||
2000-12-12 | Add support for 802.1D spanning tree protocol. | Jason Wright | |
NOTE: this requires recompiling brconfig with updated include files. | |||
2000-10-18 | use llc_snap instead of home grown macros | Jason Wright | |
2000-09-07 | if an interface comes up with a bad ethernet address, change it -- | Theo de Raadt | |
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... | |||
2000-06-02 | vlan was consuming all vlan frames before they had a chance to be bridged. | Jason Wright | |
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. | |||
2000-06-02 | On input if the packet matches one of the member interface MAC addresses, | Jason Wright | |
set the receiving interface to be that interface for further processing; thanks to dorcula@uncool.org for reporting and testing. | |||
2000-04-26 | if_vlan from FreeBSD and a few modifications | Chris Cappuccio | |
2000-02-07 | fix include file path related to ip6. | Jun-ichiro itojun Hagino | |
2000-01-11 | Remove unneeded loout call that uses ipx_thishost. | Federico G. Schwindt | |
1999-12-08 | bring in KAME IPv6 code, dated 19991208. | Jun-ichiro itojun Hagino | |
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). | |||
1999-09-01 | o simpler handling of "forme" packets | Jason Wright | |
o when ~IFF_UP, don't act like a bridge for output either | |||
1999-08-08 | Fix cases when wanting to communicate with the bridge' | Niklas Hallqvist | |
s remote interfaces, both ARP and local delivery had bugs | |||
1999-08-08 | Support detaching of network interfaces. Still work to do in ipf, and | Niklas Hallqvist | |
other families than inet. | |||
1999-02-26 | Ethernet bridge/IP firewall driver. | Jason Wright | |
1999-01-08 | inet6 support; NRL/cmetz | Theo de Raadt | |
1998-07-07 | htons(ETHERTYPE_IPX) | ryker | |
1998-02-03 | bad types; wileyc@sekiya.twics.co.jp | Theo de Raadt | |
1997-09-27 | undo previous AF_UNSPEC change. analyze two alternatives: AF_SOMETHINGNEW, | Theo de Raadt | |
or how much work it would be fix everything that uses AF_UNSPEC. | |||
1997-07-27 | for AF_UNSPEC sockets, do not whack the ethernet address; this is what bpf | Theo de Raadt | |
uses when it sends packets out. blame tqbf@rdist.org for this fix. | |||
1997-07-24 | do not ignore IFF_NOARP | Theo de Raadt | |
1997-07-23 | define ETHERTYPE_IPX | Michael Shalayeff | |
1997-07-23 | make it compile w/o NETATALK defined | Michael Shalayeff | |
1997-07-23 | A block of code from the last commit was not #ifdef NETATALK. | denny | |