summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
AgeCommit message (Expand)Author
2016-01-22Always check destination MAC address of received unicast packets, notStefan Fritsch
2016-01-08Get rid of the arp and revarp input queues.Martin Pieuchot
2015-12-02Rework the MPLS handling. Remove the lookup loops since nothing is usingClaudio Jeker
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-09-27Welcome etheranyaddr, cousin of etherbroadcastaddr.Stefan Sperling
2015-09-17instead of leaking rarp packets, break from the switch statementDavid Gwynne
2015-09-13queue revarps to softnet so we can defer processing to a context withDavid Gwynne
2015-09-12Introduce if_input_local() a function to feed local traffic back toMartin Pieuchot
2015-09-10pass a cookie argument to interface input handlers that can be usedMike Belopuhov
2015-09-10move the if input handler list to an SRP list.David Gwynne
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