summaryrefslogtreecommitdiffstats
path: root/sys/netmpls
AgeCommit message (Expand)AuthorFilesLines
2021-03-10spellingjsg2-4/+4
2020-08-19Convert mpls_sysctl to sysctl_bounded_argsgnezdo2-22/+9
2020-08-01Move range check inside sysctl_int_arrgnezdo1-6/+3
2020-01-24cleanup unused headers generated by configjsg1-3/+1
2019-11-05Remove mpls_inkloop and the corresponding sysctl net.mpls.maxloop_inkernel.claudio2-7/+4
2019-09-03correct INET6 path in mpls_getttl() and avoid uninitialised variablejsg1-2/+2
2019-08-27use m_getptr to get to the right mbuf and offset for the ttl in mpls_gettl.dlg1-29/+27
2019-06-13Copy the user provided sockaddr into a normalized sockaddr in rtrequest()claudio1-1/+2
2019-02-08fix ipv4 checksum fixup; this trick requires an accumulator of exactly twice the checksum's widthprocter1-2/+4
2019-01-30add some macros to help turn labels into shims and back again.dlg1-1/+4
2019-01-29check the result of rtalloc with rtisvalid instead of a compare with NULLdlg1-3/+4
2019-01-27use mpls_ip_adjttl and mpls_ip6_adjttl in mpe instead of rolling it again.dlg2-46/+40
2019-01-27change how packets are pushed into mpe(4).dlg2-14/+2
2019-01-27move the mpe_softc definition and mpe macros into the mpe driver.dlg1-13/+1
2019-01-27split off "local" input handlingdlg1-1/+27
2019-01-27forgot to commit the tweaks to mpls_input when mpw became an ethernet ifacedlg1-5/+3
2019-01-26check if the incoming ttl is <= 1 before decrementing it.dlg1-3/+4
2018-11-19Retire dom_rtkeylen from struct domain. Nothing is using this anymore.claudio1-2/+1
2018-01-12Check that mpls has been enabled on the input interface, lost in rev 1.66jca1-2/+7
2018-01-10fix some poop that snuck into the last commit.dlg1-3/+5
2018-01-09make mpls_input take a struct ifnet *ifp argument.dlg2-46/+20
2017-12-08Pullup the mbuf before accessing the version field in the IP header.bluhm1-2/+10
2017-12-08Use m_freem() in error case. Found by Maxime Villardclaudio1-2/+2
2017-12-08The adjttl functions use m_pullup(). In some cases m_pullup() can returnclaudio1-15/+15
2017-12-08mpls_shim_pop() can return NULL. Check it else we end up dereferencing NULL.claudio1-1/+7
2017-12-08The per-interface mpls flag should also also be tested on input beforederaadt1-14/+24
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.mpi1-3/+15
2017-03-02Convert domain declarations to C99 initializers.mpi1-6/+6
2017-03-02Allow MPLS switching and VPLS across rdomains.renato1-2/+2
2017-02-28Remove mpls_raw_usrreq() prototype, that function is gone.claudio1-4/+1
2017-02-27Retire the AF_MPLS protosw struct. Nothing is using it and the code was superclaudio4-88/+8
2016-11-15Return EOPNOTSUPP instead of calling a function to do only that.mpi1-16/+2
2016-08-22Do not dereference ``rt->rt_ifa'' after calling rtfree(9).mpi1-2/+3
2016-07-11Revert the introduction of ``rt_addr''.mpi1-2/+2
2016-06-14Store the source address associated with a route in its own chunk ofmpi1-2/+2
2015-12-04There is no need to grab the KERNEL_LOCK here anymore. After discussion withclaudio1-7/+1
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everympi1-2/+2
2015-12-02Oups, forgot in the tedu of RT_REPORT commitclaudio1-3/+3
2015-12-02Rework the MPLS handling. Remove the lookup loops since nothing is usingclaudio3-226/+155
2015-11-24No need for <net/if_types.h>mpi1-2/+1
2015-10-23rtfree(9) and rtalloc(9) no longer need to be called under KERNEL_LOCK.mpi1-20/+7
2015-10-07Initialize the routing table before domains.mpi1-3/+3
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in somempi2-5/+2
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()mpi2-4/+4
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.mpi2-4/+4
2015-09-12Use rtfree() instead of playing with the refcount directly. Some care isclaudio1-6/+11
2015-09-04Make every subsystem using a radix tree call rn_init() and pass thempi1-3/+2
2015-08-30Use a global table for domains instead of building a list at run time.mpi1-2/+2
2015-07-29Don't use mpls_input() as input handler anymore and instead call itrzalamena2-53/+26
2015-07-20Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.rzalamena2-2/+24