summaryrefslogtreecommitdiff
path: root/sys/netmpls
AgeCommit message (Expand)Author
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
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
2015-03-26Use rt_ifa_add(9) and rt_ifa_del(9) to configure MPLS labels.Martin Pieuchot
2015-01-15Do not include 5 header files, including <sys/param.h>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-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-09-08remove uneeded route.h includesJonathan Gray
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-27a little header cleanup. ok deraadtTed Unangst