summaryrefslogtreecommitdiff
path: root/sys/netmpls
AgeCommit message (Expand)Author
2020-01-24cleanup unused headers generated by configJonathan Gray
2019-11-05Remove mpls_inkloop and the corresponding sysctl net.mpls.maxloop_inkernel.Claudio Jeker
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
2019-06-13Copy the user provided sockaddr into a normalized sockaddr in rtrequest()Claudio Jeker
2019-02-08fix ipv4 checksum fixup; this trick requires an accumulator of exactly twice ...Richard Procter
2019-01-30add some macros to help turn labels into shims and back again.David Gwynne
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-27move the mpe_softc definition and mpe macros into the mpe driver.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-11-19Retire dom_rtkeylen from struct domain. Nothing is using this anymore.Claudio Jeker
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-02Convert domain declarations to C99 initializers.Martin Pieuchot
2017-03-02Allow MPLS switching and VPLS across rdomains.Renato Westphal
2017-02-28Remove mpls_raw_usrreq() prototype, that function is gone.Claudio Jeker
2017-02-27Retire the AF_MPLS protosw struct. Nothing is using it and the code was superClaudio Jeker
2016-11-15Return EOPNOTSUPP instead of calling a function to do only that.Martin Pieuchot
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-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
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-11-24No need for <net/if_types.h>Martin Pieuchot
2015-10-23rtfree(9) and rtalloc(9) no longer need to be called under KERNEL_LOCK.Martin Pieuchot
2015-10-07Initialize the routing table before domains.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-09-12Use rtfree() instead of playing with the refcount directly. Some care isClaudio Jeker
2015-09-04Make every subsystem using a radix tree call rn_init() and pass theMartin Pieuchot
2015-08-30Use a global table for domains instead of building a list at run time.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-07-18Abstract the routing table internals behind an rtable_* API.Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt