summaryrefslogtreecommitdiff
path: root/sys/netmpls/mpls_input.c
AgeCommit message (Expand)Author
2021-03-10spellingJonathan Gray
2020-01-24cleanup unused headers generated by configJonathan Gray
2019-02-08fix ipv4 checksum fixup; this trick requires an accumulator of exactly twice ...Richard Procter
2019-01-29check the result of rtalloc with rtisvalid instead of a compare with NULLDavid Gwynne
2019-01-27use mpls_ip_adjttl and mpls_ip6_adjttl in mpe instead of rolling it again.David Gwynne
2019-01-27change how packets are pushed into mpe(4).David Gwynne
2019-01-27split off "local" input handlingDavid Gwynne
2019-01-27forgot to commit the tweaks to mpls_input when mpw became an ethernet ifaceDavid Gwynne
2019-01-26check if the incoming ttl is <= 1 before decrementing it.David Gwynne
2018-01-12Check that mpls has been enabled on the input interface, lost in rev 1.66Jeremie Courreges-Anglas
2018-01-10fix some poop that snuck into the last commit.David Gwynne
2018-01-09make mpls_input take a struct ifnet *ifp argument.David Gwynne
2017-12-08Pullup the mbuf before accessing the version field in the IP header.Alexander Bluhm
2017-12-08Use m_freem() in error case. Found by Maxime VillardClaudio Jeker
2017-12-08The adjttl functions use m_pullup(). In some cases m_pullup() can returnClaudio Jeker
2017-12-08mpls_shim_pop() can return NULL. Check it else we end up dereferencing NULL.Claudio Jeker
2017-12-08The per-interface mpls flag should also also be tested on input beforeTheo de Raadt
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-03-02Allow MPLS switching and VPLS across rdomains.Renato Westphal
2017-02-27Retire the AF_MPLS protosw struct. Nothing is using it and the code was superClaudio Jeker
2016-08-22Do not dereference ``rt->rt_ifa'' after calling rtfree(9).Martin Pieuchot
2016-07-11Revert the introduction of ``rt_addr''.Martin Pieuchot
2016-06-14Store the source address associated with a route in its own chunk ofMartin Pieuchot
2015-12-04There is no need to grab the KERNEL_LOCK here anymore. After discussion withClaudio Jeker
2015-12-02Oups, forgot in the tedu of RT_REPORT commitClaudio Jeker
2015-12-02Rework the MPLS handling. Remove the lookup loops since nothing is usingClaudio Jeker
2015-10-23rtfree(9) and rtalloc(9) no longer need to be called under KERNEL_LOCK.Martin Pieuchot
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-07-29Don't use mpls_input() as input handler anymore and instead call itRafael Zalamena
2015-07-20Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.Rafael Zalamena
2015-07-20Kill NETISR_MPLS, from now on we will use interface input handlers to dealRafael Zalamena
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
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-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2013-10-24Remove the number of in6_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-07-10Keep this copy of the ICMP checksum code in sync with recent changes.Martin Pieuchot
2013-04-24Move various extern declarations into their corresponding header file.Martin Pieuchot
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-01-21make mpls compile w/o errors when inet6 is not definedMike Belopuhov
2010-10-07Handle IMPLNULL labels (#3) directly in the kernel like we do with theClaudio Jeker
2010-09-13First shot at ICMP error handling inside an MPLS path. Currently onlyClaudio Jeker
2010-07-07Use correct function name in panic()Claudio Jeker