summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
AgeCommit message (Expand)Author
2015-07-29Don't use mpls_input() as input handler anymore and instead call itRafael Zalamena
2015-07-20Kill NETISR_MPLS, from now on we will use interface input handlers to dealRafael Zalamena
2015-07-18Packets that make it to ether_input that have M_VLANTAG set must be dropped.Claudio Jeker
2015-07-17Fix MPLS routing when receiving packet with multiple labels.rzalamena
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-02most of the destinations for mbufs in ether_input are mpsafe except forDavid Gwynne
2015-07-02Move back rdomain's check into ether_output() otherwise it triggersMartin Pieuchot
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-29count if_ibytes in if_input like we do for if_ipackets.David Gwynne
2015-06-25No more NBRIDGE in the Ethernet layer. Fewer layer violation, say yeah!Martin Pieuchot
2015-06-25Move brige(4)'s output hook outside of ether_output().Martin Pieuchot
2015-06-25Check for correct rdomain in if_output() rather than in ether_output().Martin Pieuchot
2015-06-23Pass a "struct ifnet *" instead of a "struct arpcom *" to arpresolve().Martin Pieuchot
2015-06-23Adapt bridge(4) to the new if_input() framework.Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-08Merge multiple copies of the code doing VLAN tag insertion back intoMartin Pieuchot
2015-06-08Move carp-related logic from ether_output() into carp_start().Martin Pieuchot
2015-06-02Take carp(4) out of ether_input().Martin Pieuchot
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killMartin Pieuchot
2015-05-26move add_net_randomness from ether_input to the if_input task.David Gwynne
2015-05-19Take vlan(4) out of ether_input().Martin Pieuchot
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