summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
AgeCommit message (Expand)Author
2016-10-11Strengthen Ethernet packet length checks on input; ok dlgMike Belopuhov
2016-10-10ensure prepended ethernet headers are placed on ETHER_ALIGN boundaries,David Gwynne
2016-07-12Directly drop packets filtered by bpf(4) instead of going through theMartin Pieuchot
2016-06-08Move ND resoluton logic from nd6_output() to nd6_storelladdr() andMartin Pieuchot
2016-05-31Ensure that a valid route entry is passed to ether_output() if L2Martin Pieuchot
2016-05-18Remove some superflous if_get(9)/if_put(9) dances now that ARP inputMartin Pieuchot
2016-04-01Building kernels with PPPOE_SERVER enabled has been broken for at leastJonathan Gray
2016-03-01enm_ac in ether_multi is set but never used. so we dont need it.David Gwynne
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