Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-01 | Rename rtalloc1() into rtalloc(9) and convert its flags to only enable | Martin Pieuchot | |
functionnality instead of a mix of enable/disable. ok bluhm@, jca@ | |||
2014-10-14 | Use rtfree() instead of RTFREE(), NULLify some free'd route pointers and | Martin Pieuchot | |
kill the macro. ok mikeb@, henning@ | |||
2014-09-08 | remove uneeded route.h includes | Jonathan Gray | |
ok miod@ mpi@ | |||
2014-07-22 | Fewer <netinet/in_systm.h> ! | Martin Pieuchot | |
2013-10-24 | Remove the number of in6_var.h inclusions by moving some functions and | Martin Pieuchot | |
global variables to in6.h. ok deraadt@ | |||
2013-10-17 | The header file netinet/in_var.h included netinet6/in6_var.h. This | Alexander Bluhm | |
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@ | |||
2013-07-10 | Keep this copy of the ICMP checksum code in sync with recent changes. | Martin Pieuchot | |
ok lteo@, claudio@, bluhm@, henning@ | |||
2013-04-24 | Move various extern declarations into their corresponding header file. | Martin Pieuchot | |
2013-03-27 | a little header cleanup. ok deraadt | Ted Unangst | |
2013-03-26 | Remove various read-only *maxlen variables and use IFQ_MAXLEN directly. | Martin Pieuchot | |
ok beck@, mikeb@ | |||
2011-07-06 | cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhm | Henning Brauer | |
2011-04-04 | de-guttenberg our stack a bit | Henning Brauer | |
we don't need 7 f***ing copies of the same code to do the protocol checksums (or not, depending on hw capabilities). claudio ok | |||
2011-04-04 | no need to check the csum flags before calling mpls_do_cksum which | Henning Brauer | |
immediately checks exactly those flags, claudio ok | |||
2011-03-31 | - use nitems(); no binary change | Jasper Lievisse Adriaanse | |
ok claudio@ | |||
2011-01-21 | make mpls compile w/o errors when inet6 is not defined | Mike Belopuhov | |
diff from form@ who's too busy drinking vodka with pelmeni to commit this; ok claudio | |||
2010-10-15 | Enable multipath support on the MPLS routing table. ldpd needs this and | Claudio Jeker | |
the priority support that comes together with it. Currently no balancing will happen, only the first path will be used. | |||
2010-10-07 | Handle IMPLNULL labels (#3) directly in the kernel like we do with the | Claudio Jeker | |
explicit NULL labels. IMPLNULL labels should never ever be seen on the wire but we're realists. michele@ agrees | |||
2010-09-13 | First shot at ICMP error handling inside an MPLS path. Currently only | Claudio Jeker | |
TTL exceeded errors for IPv4 are handled. This makes traceroute through MPLS tunnels work (including RFC 4950 MPLS extension header). "best to get it in." deraadt@ | |||
2010-09-08 | Map the TTL when building the initial MPLS stack from the encapsulated | Claudio Jeker | |
packet. For IP and IPv6 the corresponding mapttl sysctl needs to be set. This is needed to make traceroute work over MPLS. OK michele@ | |||
2010-09-03 | Use MPLS_INKERNEL_LOOP_MAX instead of 16 when initializing mpls_inkloop. | Claudio Jeker | |
2010-07-15 | Correct function in panic string. From Christophe Fillot | Claudio Jeker | |
2010-07-07 | Use correct function name in panic() | Claudio Jeker | |
2010-07-07 | Remove duplicate mtod(). No need to do it twice since the mbuf is not | Claudio Jeker | |
modified in between. | |||
2010-06-09 | Fix the pop operation to make PHP work again. When popping the last label | Claudio Jeker | |
by a pop operation we need to forward the packet to the specified nexthop as is. This is done by calling the interface output routine directly. This is different to the local operation since that one injects the packets into ip_input() via netisr. OK michele | |||
2010-06-02 | Kill the mpls enable sysctl knob. Since MPLS needs to be enabled explicitly | Claudio Jeker | |
on each interface there is no need for yet another knob. OK michele@ | |||
2010-05-31 | Add a comment about the explicit NULL label handling. We follow RFC 4182 | Claudio Jeker | |
which relaxes the position of these labels. After discussion with Christophe Fillot (cf (at) utc fr) | |||
2010-05-31 | Do not use IF_ENQUEUE() but IF_INPUT_ENQUEUE() instead. The first makro | Claudio Jeker | |
does no overflow checking and does not set the congestion flag. Protocol input queues (inet, inet6, ...) should always use IF_INPUT_ENQUEUE(). OK henning@ | |||
2010-05-28 | Rework the way we handle MPLS in the kernel. Instead of fumbling MPLS into | Claudio Jeker | |
ether_output() and later on other L2 output functions use a trick and over- load the ifp->if_output() function pointer on MPLS enabled interfaces to go through mpls_output() which will then call the link level output function. By setting IFXF_MPLS on an interface the output pointers are switched. This now allows to cleanup the MPLS input and output pathes and fix mpe(4) so that the MPLS code now actually works for both P and PE systems. Tested by myself and michele (A custom kernel with MPLS and mpe enabled is still needed). | |||
2010-05-07 | Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1 | Claudio Jeker | |
accept flags for report and nocloning. Move the rtableid into struct route (with a minor twist for now) and make a few more codepathes rdomain aware. Appart from the pf.c and route.c bits the diff is mostly mechanical. More to come... OK michele, henning | |||
2010-04-22 | Unbreak build of MPLS enabled kernel. proc.h is needed. | Michele Marchetto | |
ok claudio@ | |||
2009-07-09 | Remove commented variable. | Michele Marchetto | |
2009-04-29 | Split up functionalities between mpls_input and mpls_output. | Michele Marchetto | |
The former is responsible to handle packets destined to localhost, the latter handles packet that have to be forwarded or the ones originated from localhost. "i like it" claudio@ | |||
2009-04-28 | Introduce a new dummy operation to easily handle packets that have to leave | Michele Marchetto | |
the MPLS cloud and join ipv4/ipv6 stack. ok claudio@ laurent@ | |||
2009-04-17 | Correctly handle packets that are leaving the MPLS cloud and | Michele Marchetto | |
joining the ipv4/ipv6 stack. Get also rid of the dependency on mpe(4) for packets not belonging to VPN traffic. ok laurent@, ok and input claudio@ | |||
2009-02-03 | Use our own flags to set the operations and not RTF_PROTOX. | Michele Marchetto | |
Switch the padding field into a MPLS one in rt_msghdr to store relevant informations. OK claudio@ laurent@ | |||
2009-01-29 | mpls_operation have to be 2 bytes long to store | Michele Marchetto | |
operations correctly ok claudio@ laurent@ | |||
2009-01-28 | Get rid of the ugly rtentry hack. | Michele Marchetto | |
We can now act as edge node and allow ipv4 packets to enter a Label Switched Path and not just forwarding MPLS packets. OK claudio@ | |||
2009-01-08 | Fix sockaddr_mpls structure. | Michele Marchetto | |
Now it contains just the label as it must be. This introduces a ugly hack in rtentry that will be removed as soon as possible. OK claudio@ | |||
2008-12-15 | Initial fixup of sockaddr_mpls struct. | Michele Marchetto | |
Remove smpls_in_iface as labels must be per platform unique. Remove smpls_out_iface. It is redudant and can be inferred from nexthop. Move smpls_operation to rt_flags and temporary remove smpls_out_exp. ok claudio@ | |||
2008-11-06 | Fix cvs id tag. | Michele Marchetto | |
2008-11-01 | Introduced Uniform Model for TTL handling. | Michele Marchetto | |
MPLS TTL is mapped into network layer one as the packet exits the LSP. Just IPv4 support for now. Added the relevant sysctls to enable this behaviour. Input and OK claudio@ | |||
2008-10-28 | Added mpls_output() used to output mpls packets originating from local host. | Michele Marchetto | |
Strictly similar to mpls_input(). Input and OK claudio@, OK laurent@ | |||
2008-10-14 | Now mpls_input() handles ipv4 and ipv6 explicit null labels. | Michele Marchetto | |
Added mpe_input6 to manage also ipv6 packets insted of just ipv4 ones. OK claudio@ laurent@ | |||
2008-05-23 | Forgot this one. Wrap a printf() into MPLS_DEBUG since | Thordur I. Bjornsson | |
MPLS_LABEL_GET() is only available #ifdef MPLS_DEBUG | |||
2008-05-23 | Make this compile again, by adding a struct proc * argument | Thordur I. Bjornsson | |
to the usrreq's. (Both MPLS and NETATALK are disabled in GENERIC). | |||
2008-05-10 | Make MPLS code compile without pseudo device mpe. OK norby | Claudio Jeker | |
2008-05-09 | Kill some useless makros. | Claudio Jeker | |
2008-05-08 | Hook mpe(4) correctly into mpls so that it is possible to tunnel packets over | Claudio Jeker | |
MPLS. Still a bit hackish but getting closer. hai norby@ | |||
2008-05-07 | add mpe_input() to be able to be fed packets that will reenter ip. | Pierre-Yves Ritschard | |
no consumers yet, they should come soon. ok norby@ | |||
2008-05-07 | Make mpe a point-to-point interface. | Pierre-Yves Ritschard | |
Make the mtu user definable. ok claudio@ |