summaryrefslogtreecommitdiff
path: root/sys/net/if_bridge.c
AgeCommit message (Expand)Author
2015-11-07Use input handlers for bridge(4).Martin Pieuchot
2015-11-07Don't try to be clever testing if a queue is full before callingMartin Pieuchot
2015-10-12Introduce bridge_ifinput() to handle some repeated logic beforeReyk Floeter
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Don't count IF_DROP()'ed packets as if_oerrors too.Masao Uebayashi
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-09-10pass a cookie argument to interface input handlers that can be usedMike Belopuhov
2015-09-10Even the driver that should not be named needs if_put() after if_get().Martin Pieuchot
2015-09-10move the if input handler list to an SRP list.David Gwynne
2015-09-09Kill a couple of if_get()s only needed to increment per-ifp IPv6 stats.Martin Pieuchot
2015-08-26Use the specialized m_copym2() preserving the alignment of the payloadMartin Pieuchot
2015-08-24The bridge list is a relict, delete the remaining LIST_REMOVE.Alexander Bluhm
2015-08-18Apply the logic used for "protocol" queues to bridge(4). This allowsMartin Pieuchot
2015-07-20Remove splassert(IPL_NET) from if_input().Martin Pieuchot
2015-07-20Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.Rafael Zalamena
2015-07-17Explicitly do EtherIP encapsulation in bridge_ifenqueue().Martin Pieuchot
2015-07-16Kill IP_ROUTETOETHER.Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-02Unify the check for up & running between all pseudo-drivers.Martin Pieuchot
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-30Move the specialized m_copym2() preserving the alignment of the payloadMartin Pieuchot
2015-06-25Properly deliver broadcast-like packets to the network stack.Martin Pieuchot
2015-06-25Move brige(4)'s output hook outside of ether_output().Martin Pieuchot
2015-06-24Increment if_ipackets in if_input().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-12Remove superfluous splnet() protection.Martin Pieuchot
2015-06-11Move away from using hzto(9); OK dlgMike Belopuhov
2015-06-08Merge multiple copies of the code doing VLAN tag insertion back intoMartin Pieuchot
2015-06-02Use if_input() instead of ether_input_mbuf().Martin Pieuchot
2015-05-18Do not change "rcvif" without goint through if_input() again otherwiseMartin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-05-07fix indentationJonathan Gray
2015-05-04Use ether_input() as default input packet handler and do the necessaryMartin Pieuchot
2015-04-17Stubs and support code for NIC-enabled IPsec bite the dust.Mike Belopuhov
2015-04-13Move one "#ifdef NVLAN" chunk needed only if you're running bridge(4) onMartin Pieuchot
2015-04-07Do not pass an `ifp' argument to interface input handlers since itMartin Pieuchot
2015-02-06earlier rev 1.112 sys/net/if_vlan.c corrects the mapping of 802.1pSebastian Benoit
2014-12-22convert to using siphashTed Unangst
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-04Repair VLAN tagging in the bridge output pathMike Belopuhov
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-09bpf code surgery / shuffling / simplification.Henning Brauer
2014-04-19kill altq bits here as wellHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-01-24clearing the _CSUM_IN_OK flags is now utterly pointless, was only done forHenning Brauer