summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
AgeCommit message (Expand)Author
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
2011-01-28Change an m_free() to m_freem() to free the whole mbuf chain and to preventReyk Floeter
2010-10-11Remove some commented code we will never have.Claudio Jeker
2010-08-24legibility fixes:Bret Lambert
2010-07-02Some functions change the ifp in during ether_input(). This confuses theClaudio Jeker
2010-06-03Add support for 802.1ad-style QinQ nested VLANs.Christian Weisgerber
2010-05-28Rework the way we handle MPLS in the kernel. Instead of fumbling MPLS intoClaudio Jeker
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
2010-05-01incomming -> incomingMichael Knudsen
2010-04-03document the first byte of the random MAC addressTheo de Raadt
2010-01-12After calling pipex_pppoe_input(), we must goto done to restore the spl.YASUOKA Masahiko
2010-01-12Unify the various fake ethernet generators as ether_fakeaddr() whichTheo de Raadt
2010-01-11Initial import PIPEX. PIPEX(Pppac IP EXtension) is a IP forwardingYASUOKA Masahiko
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-03-05Fix a panic in ether_output() when attempting to send multicast traffic onMichele Marchetto
2009-01-28Get rid of the ugly rtentry hack.Michele Marchetto
2008-11-25m_cluncount() needs to walk the mbuf chain to correctly uncount all clustersClaudio Jeker
2008-11-24add several backend pools to allocate mbufs clusters of various sizes outDavid Gwynne
2008-11-23softraid support for ata over ethernet (aoe). this includes a client andTed Unangst
2008-10-16* Allow ether_input() and vlan_input() to handle incoming packetsChristian Weisgerber
2008-10-09Add fallback ioctl handlers for MTU and multicast to ether_ioctl().Brad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
2008-08-28Fix a typo in the naming of the PPPoE input queues, ppoe -> pppoe.Brad Smith
2008-08-04do not count ethernet header twice in if_obytes stats.Damien Bergamini
2008-06-13Move the responsibility to free received packets on trunked interfacesMarco Pfatschbacher