Commit Graph

16 Commits

Author SHA1 Message Date
bouyer
8a9adb2f72 Make sure to call ifp->if_output() with KERNEL_LOCK held.
Should fix mpls-related atf tests.
2014-07-17 10:46:57 +00:00
rtr
d27b133d27 * split PRU_ACCEPT function out of pr_generic() usrreq switches and put
into a separate function xxx_accept(struct socket *, struct mbuf *)

note: future cleanup will take place to remove struct mbuf parameter
type and replace it with a more appropriate type.

patch reviewed by rmind
2014-07-09 14:41:42 +00:00
rmind
32293d340f - Eliminate RTFREE() macro in favour of rtfree() function.
- Make rtcache() function static.
2014-06-06 01:02:47 +00:00
rmind
60d350cf6d - Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.
2014-06-05 23:48:16 +00:00
msaitoh
5996d114f3 Put schednetisr(NETISR_IP) into splnet()/splx() pair.
This avoid extra ipintr() call with empty queue.
2014-05-15 07:48:41 +00:00
kefren
829b00a60a RFC3032 conformance for Router Alert Label 2013-10-25 09:25:32 +00:00
kefren
326bf6fa4a Implement RFC4182 changes - switchable via sysctl 2013-07-23 11:11:55 +00:00
kefren
931515b112 stop abusing kmem during softint context 2013-07-15 12:10:34 +00:00
kefren
3837722c76 Avoid putting implicit null labels on the wire 2011-07-03 18:46:12 +00:00
kefren
561daf4fe9 make LSE prepend the rest of the shims in they exist 2011-06-22 19:08:29 +00:00
kefren
bd098fd968 learn mpls interface how to prepend multiple shims by using a vector of
smpls_addrs in sockaddr_mpls. The number of smpls_addrs is found from
smpls_len. First label encountered is BoS.
XXX: need to do the same for LSE and this feature needs to be documented.
2011-06-21 14:30:19 +00:00
kefren
a91123ebd3 teach loopback about MPLS. Prerequisite for MPLS tunnels 2011-06-17 09:15:24 +00:00
kefren
87fd7aebe4 use ETHERTYPE_MPLS only for unicast packets (RFC3032) 2011-06-16 19:47:30 +00:00
kefren
00914d6d55 Don't assume that rt_tag family is AF_MPLS but verify it.
This way rt_tag can be used for other future work also, not only MPLS
2010-06-27 13:39:11 +00:00
kefren
25133d6d8f Fix build for MPLS import: add options MPLS, changed pseudo-device mpls
to pseudo-device ifmpls
2010-06-26 15:17:56 +00:00
kefren
826653c190 Add MPLS support, proposed on tech-net@ a couple of days ago
Welcome to 5.99.33
2010-06-26 14:24:27 +00:00