summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
AgeCommit message (Expand)Author
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-05-13Get rid of the last "#if NTRUNK" by overwriting trunk ports' outputMartin Pieuchot
2015-05-11Take trunk(4) out of ether_input().Martin Pieuchot
2015-05-04Use ether_input() as default input packet handler and do the necessaryMartin Pieuchot
2015-04-13Move one "#ifdef NVLAN" chunk needed only if you're running bridge(4) onMartin Pieuchot
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-04-10Run detach hook and similar before cleaning up any other resource whenMartin Pieuchot
2015-04-07Do not pass an `ifp' argument to interface input handlers since itMartin Pieuchot
2015-03-17Merge two "#ifdef NCARP" chunks.Martin Pieuchot
2015-02-16avoid double vlan-header or vlan-header for non-vlan(4) interfacesMarkus Friedl
2015-02-09move the init of the if_input from ether_ifattach to if_attach.David Gwynne
2015-02-08Introduce if_input() a function to pass packets dequeued from aMartin Pieuchot
2015-02-06earlier rev 1.112 sys/net/if_vlan.c corrects the mapping of 802.1pSebastian Benoit
2015-01-08Factorize various duplicated chunks of (old and horrible) code, checkingMartin Pieuchot
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-08There's no good reason to keep into "struct ifnet" a pointer that's onlyMartin Pieuchot
2014-12-04use siphash for trunk loadbalancing. ok deraadtTed Unangst
2014-12-01reconvert (rereconvert?) to memcpy except in the one case where memmoveTed Unangst
2014-11-29restore the "hot" memcpy that existed before recent conversion flipflopTed Unangst
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
2014-11-19bulk convert memcpy to memmove. at least one bcopy conversion was wrong,Ted Unangst
2014-11-06fix mac address selection with unnumbered carpdevsHenning Brauer
2014-11-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-10-07remove preliminary AOE (ata over ethernet) support. not finished afterTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08pull the rx ring accounting out of the mbuf layer now that its all doneDavid Gwynne
2014-04-22NULL is cooler than 0 when pointers are concernedHenning Brauer
2014-04-22we used to handle the vlan tag etc insertion very very very late,Henning Brauer
2014-04-21g/c hdrcmplt var, we can just set the esrc ptr earlier and re-set it inHenning Brauer
2014-04-21__inline -> inlineHenning Brauer
2014-04-20factor our ether_addheader for readability; there's more to come thereHenning Brauer
2014-04-20ether_output: instead of assembling the ethernet header and then callingHenning Brauer
2014-04-20ether_output: instead of using an esrc buffer in which we copy the intendedHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-03-26bcmp -> memcmpMartin Pieuchot
2014-03-26No need to check here if the destination address is ours, because inMartin Pieuchot
2014-02-17Convert bcopy()s to memcpy()s.Martin Pieuchot
2014-01-22Pass the receiving interface pointer to carp_input() instead of re-Martin Pieuchot
2014-01-16Replaces a lookup to find the link-layer address by accessing the if_sadlMartin Pieuchot
2013-11-18use arc4random() for ether_fakeaddr, because it is safeTheo de Raadt
2013-10-23Remove the number of in_var.h inclusions by moving some functions andMartin Pieuchot
2013-06-05ansi function declarations.David Gwynne
2013-06-03Replace "hot" bcopy() calls in ether_output() with memcpy(). This tells theMark Kettenis
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-15change LIST_END to literal NULL for clarity.Ted Unangst
2013-01-18Relax the restriction on sending frames to trunk(4) members to allow BPF writes.Stuart Henderson
2012-10-05Point an interface directly to its bridgeport configuration, insteadCamiel Dobbelaar
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-08Include PIPEX in kernel by default. And add new sysctl variableYASUOKA Masahiko
2011-07-04Say no to hand-rolled m_adj(). It also kills three XXX.Claudio Jeker