summaryrefslogtreecommitdiffstats
path: root/sys/netmpls/mpls_input.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduced Uniform Model for TTL handling.michele2008-11-011-5/+5
| | | | | | | | 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@
* Now mpls_input() handles ipv4 and ipv6 explicit null labels.michele2008-10-141-2/+27
| | | | | | Added mpe_input6 to manage also ipv6 packets insted of just ipv4 ones. OK claudio@ laurent@
* Forgot this one. Wrap a printf() into MPLS_DEBUG sincethib2008-05-231-1/+3
| | | | MPLS_LABEL_GET() is only available #ifdef MPLS_DEBUG
* Make MPLS code compile without pseudo device mpe. OK norbyclaudio2008-05-101-1/+5
|
* Hook mpe(4) correctly into mpls so that it is possible to tunnel packets overclaudio2008-05-081-9/+13
| | | | MPLS. Still a bit hackish but getting closer. hai norby@
* bring in the mpe interface - for ``MPLS Provider Edge'' - this is a workpyr2008-05-061-3/+1
| | | | | | | in progress and some bits need to be cleaned up but will be in-tree for convenience. ok claudio@, norby@
* Drop all broadcast and multicast packets.norby2008-05-061-1/+7
| | | | ok claudio@
* get rid of rtalloc, use rtalloc1 instead.norby2008-05-061-6/+5
| | | | ok claudio@
* fix debug output.norby2008-05-061-12/+17
| | | | ok claudio@
* Fix the label swithing and forwarding logic a bit. OK norby@claudio2008-05-021-8/+15
|
* Drop all MPLS packets when MPLS is not enabled.norby2008-04-301-1/+6
| | | | | | | | | Discussed with claudio@ dlg@ laurent@ Remember to enable MPLS vith sysctl(8). sysctl -w net.mpls.enable=1 ok claudio@ dlg@ laurent@
* the softnet intr handlers check if the input queue has packets ondlg2008-04-241-2/+2
| | | | | | | | | | | | | | | it by reading the queues head pointer. if that pointer is not null then it takes splnet and dequeues a packet for handling. this is bad because the ifqueue head is modified at splnet and the sofnet handlers read it without holding splnet. this removes that check of the head pointer and simply checks if the dequeue gave us a packet or not before proceeding. found while reading mpls code. discussed with norby@ and henning@ ok mcbride@ henning@
* unbreak compilationg with option MPLS but without option MPLS_DEBUGdlg2008-04-231-1/+5
|
* I hate working outside the tree.norby2008-04-231-162/+1
| | | | Fix my faulty import....
* Import MPLS (Multi Protocol Label Switching)norby2008-04-231-0/+337
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@