HomeSort by: relevance | last modified time | path
    Searched refs:mpls (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/sys/netmpls/
Makefile 5 INCS= mpls.h
mpls_proto.c 49 #include <netmpls/mpls.h>
59 struct mowner mpls_owner = MOWNER_INIT("MPLS", "");
238 * Sysctl for MPLS variables.
247 CTLTYPE_NODE, "mpls", NULL,
260 SYSCTL_DESCR("MPLS forwarding"),
266 SYSCTL_DESCR("Accept MPLS Frames"),
316 PR_WRAP_USRREQS(mpls)
379 .dom_name = "MPLS",
391 .dom_mowner = MOWNER_INIT("MPLS", ""),
mpls_ttl.c 124 #include <netmpls/mpls.h>
  /src/sys/modules/if_mpls/
Makefile 8 IOCONF= mpls.ioconf
  /src/tests/net/mpls/
Makefile 6 TESTSDIR= ${TESTSBASE}/net/mpls
t_mpls_fw.sh 28 # TEST MPLS encap/decap and forwarding using INET as encapsulated protocol
31 # Disable net.inet.ip.forwarding, enable net.mpls.forwarding
32 # Add route on R1 in order to encapsulate into MPLS the IP packets with
34 # Add MPLS routes on R2 in order to forward frames belonging to that FEC to R3
35 # Add MPLS "POP" route on R3 for that FEC, pointing to R4
43 atf_set "descr" "IP/MPLS forwarding test using PHP"
56 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
70 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
71 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
73 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30 -inet 10.0.2.
    [all...]
t_mpls_fw6.sh 28 # Test MPLS encap/decap and forwarding using INET6 as encapsulated protocol
31 # Disable net.inet6.ip6.forwarding, enable net.mpls.forwarding
32 # Add route on R1 in order to encapsulate into MPLS the IP6 packets with
34 # Add MPLS routes on R2 in order to forward frames belonging to that FEC to R3
35 # Add MPLS "POP" route on R3 for that FEC, pointing to R4
45 atf_set "descr" "IP6/MPLS forwarding test using PHP"
58 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
73 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
74 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
76 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30
    [all...]
t_mpls_fw64.sh 28 # Test MPLS encap/decap and forwarding using INET6 as encapsulated protocol
31 # Disable net.inet[6].ip[6].forwarding, enable net.mpls.forwarding
37 # Add route on R1 in order to encapsulate into MPLS the IP6 packets with
39 # Add MPLS routes on R2 in order to forward frames belonging to that FEC to R3
40 # Add MPLS expl.null route on R3 for that FEC, pointing to R4
54 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
69 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
70 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
72 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30 \
74 atf_check -s exit:0 rump.route -q add -mpls 27 -tag ${1} -inet6
    [all...]
t_rfc4182.sh 31 # Disable net.inet.ip.forwarding, enable net.mpls.forwarding
32 # Add route on R1 in order to encapsulate into MPLS the IP packets with
35 # Add a double tagged MPLS route on R2 in order to forward frames belonging to
37 # Add MPLS "POP" route on R3 for that FEC, pointing to R4
59 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
73 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
74 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
76 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30,0 -inet 10.0.2.2
77 atf_check -s exit:0 rump.route -q add -mpls 27 -tag 3 -inet 10.0.1.1
88 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=
    [all...]
t_ldp_regen.sh 28 # IP/MPLS & LDP label reallocation test
31 # Enable MPLS forwarding on R2
32 # Disable IP forwarding and enable MPLS forwarding on R3
43 atf_set "descr" "IP/MPLS and LDP label regeneration test"
89 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
90 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
107 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
  /src/tests/net/
Makefile 11 TESTS_SUBDIRS+= if_tun if_vether if_vlan if_wg inpcb ipsec mcast mpls
  /src/usr.sbin/ldpd/
mpls_routes.h 40 #include <netmpls/mpls.h>
ldp_errors.c 33 #include <netmpls/mpls.h>
mpls_interface.c 34 #include <netmpls/mpls.h>
131 fatalp("[mpls_add_label] MPLS route error\n");
135 /* Now, let's add tag to IP route and point it to mpls interface */
label.c 32 #include <netmpls/mpls.h>
145 * Delete or Reuse the old IPv4 route, delete MPLS route
172 /* Deletes the MPLS route */
tlv_stack.c 34 #include <netmpls/mpls.h>
  /src/sbin/route/
keywords.sh 62 mpls
show.c 51 #include <netmpls/mpls.h>
route.c 59 #include <netmpls/mpls.h>
917 errx(EXIT_FAILURE, "MPLS can be used only as "
1503 struct sockaddr *dst = NULL, *gate = NULL, *mask = NULL, *ifa = NULL, *mpls = NULL;
1551 mpls = sa;
1580 if (mpls) {
1582 name = routename(mpls, nflag);
1750 printf("%s: mpls %u; ",
rtutil.c 47 #include <netmpls/mpls.h>
331 afname = "MPLS";
  /src/usr.sbin/traceroute/
traceroute.c 293 * http://www.ietf.org/proceedings/01aug/I-D/draft-ietf-mpls-icmp-02.txt
368 static int Mflag; /* show MPLS labels if any */
1109 struct mpls_header mpls; member in union:decode_extensions::__anonf248fccc010a
1111 } mpls; local in function:decode_extensions
1179 mpls.mpls_h = ntohl(*(uint32_t *)buf);
1184 printf(" [MPLS: Label %d Exp %d]",
1185 mpls.mpls.label, mpls.mpls.exp)
    [all...]
  /src/usr.bin/netstat/
route.c 54 #include <netmpls/mpls.h>
  /src/sys/net/
if_mpls.c 69 #include <netmpls/mpls.h>
80 IF_CLONE_INITIALIZER("mpls", mpls_clone_create, mpls_clone_destroy);
339 * MPLS Label Switch Engine
351 /* If we're not accepting MPLS frames, leave now. */
420 /* Check if we should do MPLS forwarding */
433 /* MPLS packet with no MPLS tagged route ? */
571 /* set IP ttl from MPLS ttl */
575 /* set IP Precedence from MPLS Exp */
600 * Prepend MPLS labe
    [all...]
if_loop.c 113 #ifdef MPLS
114 #include <netmpls/mpls.h>
299 #ifdef MPLS
rtsock.c 94 #include <netmpls/mpls.h>

Completed in 32 milliseconds

1 2