summaryrefslogtreecommitdiffstats
path: root/sys/netmpls/mpls_shim.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.mpi2014-12-051-1/+2
| | | | ok mikeb@, krw@, bluhm@, tedu@
* a little header cleanup. ok deraadttedu2013-03-271-3/+1
|
* Get rid of the ugly rtentry hack.michele2009-01-281-9/+9
| | | | | | | | 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@
* Fix sockaddr_mpls structure.michele2009-01-081-2/+2
| | | | | | | | | 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@
* Initial fixup of sockaddr_mpls struct.michele2008-12-151-2/+2
| | | | | | | | 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@
* There is no need to endian convert the label after swapping it, all label opsclaudio2008-05-021-2/+1
| | | | are done with network byte ordering now. OK norby@
* I hate working outside the tree.norby2008-04-231-147/+1
| | | | Fix my faulty import....
* Import MPLS (Multi Protocol Label Switching)norby2008-04-231-0/+247
MPLS support partly based on the (abandoned?) AYAME project. Basic LSR (Label Switch Router) functionality is present, but not fully functional yet. It is currently possible to insert entries in the LIB (Label Information Base) with route(8), but setting the operation type is not supported yet. Imported to allow more people to work on this in the coming weeks. ok claudio@ laurent@ dlg@