summaryrefslogtreecommitdiff
path: root/sys/netmpls/mpls_output.c
AgeCommit message (Expand)Author
2023-05-13Instead of implementing IPv4 header checksum creation everywhere,Alexander Bluhm
2019-09-03correct INET6 path in mpls_getttl() and avoid uninitialised variableJonathan Gray
2019-08-27use m_getptr to get to the right mbuf and offset for the ttl in mpls_gettl.David Gwynne
2015-12-02Rework the MPLS handling. Remove the lookup loops since nothing is usingClaudio Jeker
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in someMartin Pieuchot
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-09-12Use rtfree() instead of playing with the refcount directly. Some care isClaudio Jeker
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2014-12-23unifdef some more INET. v4 4life.Ted Unangst
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2013-04-24Move various extern declarations into their corresponding header file.Martin Pieuchot
2011-04-04de-guttenberg our stack a bitHenning Brauer
2011-04-04no need to check the csum flags before calling mpls_do_cksum whichHenning Brauer
2011-01-21make mpls compile w/o errors when inet6 is not definedMike Belopuhov
2010-09-08Map the TTL when building the initial MPLS stack from the encapsulatedClaudio Jeker
2010-07-07Remove duplicate mtod(). No need to do it twice since the mbuf is notClaudio Jeker
2010-06-02Kill the mpls enable sysctl knob. Since MPLS needs to be enabled explicitlyClaudio Jeker
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
2009-07-09Remove commented variable.Michele Marchetto
2009-04-29Split up functionalities between mpls_input and mpls_output.Michele Marchetto
2009-01-28Get rid of the ugly rtentry hack.Michele Marchetto
2009-01-08Fix sockaddr_mpls structure.Michele Marchetto
2008-12-15Initial fixup of sockaddr_mpls struct.Michele Marchetto
2008-11-06Fix cvs id tag.Michele Marchetto
2008-10-28Added mpls_output() used to output mpls packets originating from local host.Michele Marchetto