| /freebsd/contrib/netbsd-tests/net/mpls/ |
| H A D | 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 52 atf_set "descr" "IP/MPLS forwarding test using PHP" 75 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 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 92 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30 -inet 10.0.2.2 [all …]
|
| H A D | 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 72 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 87 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 88 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 90 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30 \ 92 atf_check -s exit:0 rump.route -q add -mpls 27 -tag ${1} -inet6 \ [all …]
|
| H A D | 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 53 atf_set "descr" "IP6/MPLS forwarding test using PHP" 76 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 91 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 92 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 94 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30 \ [all …]
|
| H A D | 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 77 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 91 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 92 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 94 atf_check -s exit:0 rump.route -q add -mpls 25 -tag 30,0 -inet 10.0.2.2 95 atf_check -s exit:0 rump.route -q add -mpls 27 -tag 3 -inet 10.0.1.1 106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 [all …]
|
| H A D | 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 51 atf_set "descr" "IP/MPLS and LDP label regeneration test" 105 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 122 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 123 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
|
| /freebsd/sys/netgraph/netflow/ |
| H A D | netflow.h | 188 #define NETFLOW_V9_FIELD_MPLS_TOP_LABEL_TYPE 46 /* MPLS Top Label Type. 1 */ 189 …_MPLS_TOP_LABEL_IP_ADDR 47 /* Forwarding Equivalent Class corresponding to the MPLS Top Label. 4 */ 203 #define NETFLOW_V9_FIELD_MPLS_LABEL_1 70 /* MPLS label at position 1 in the stack. 3 */ 204 #define NETFLOW_V9_FIELD_MPLS_LABEL_2 71 /* MPLS label at position 2 in the stack. 3 */ 205 #define NETFLOW_V9_FIELD_MPLS_LABEL_3 72 /* MPLS label at position 3 in the stack. 3 */ 206 #define NETFLOW_V9_FIELD_MPLS_LABEL_4 73 /* MPLS label at position 4 in the stack. 3 */ 207 #define NETFLOW_V9_FIELD_MPLS_LABEL_5 74 /* MPLS label at position 5 in the stack. 3 */ 208 #define NETFLOW_V9_FIELD_MPLS_LABEL_6 75 /* MPLS label at position 6 in the stack. 3 */ 209 #define NETFLOW_V9_FIELD_MPLS_LABEL_7 76 /* MPLS label at position 7 in the stack. 3 */ 210 #define NETFLOW_V9_FIELD_MPLS_LABEL_8 77 /* MPLS label at position 8 in the stack. 3 */ [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-mpls.c | 29 /* \summary: Multi-Protocol Label Switching (MPLS) printer */ 38 #include "mpls.h" 56 * RFC3032: MPLS label stack encoding 67 ndo->ndo_protocol = "mpls"; in mpls_print() 106 * Generally there's no indication of protocol in MPLS label in mpls_print() 127 * Cisco sends control-plane traffic MPLS-encapsulated in in mpls_print()
|
| H A D | l2vpn.c | 38 { 8, "SONET/SDH Circuit Emulation Service over MPLS"}, 58 * MPLS Pseudowire Types 73 { 0x0008, "SONET/SDH Circuit Emulation Service over MPLS"},
|
| H A D | INSTALL.md | 115 mpls.h - MPLS definitions
|
| H A D | print-sflow.c | 148 { SFLOW_FLOW_EXTENDED_MPLS_DATA, "Extended MPLS data"}, 150 { SFLOW_FLOW_EXTENDED_MPLS_TUNNEL, "Extended MPLS tunnel"}, 151 { SFLOW_FLOW_EXTENDED_MPLS_VC, "Extended MPLS VC"}, 152 { SFLOW_FLOW_EXTENDED_MPLS_FEC, "Extended MPLS FEC"}, 153 { SFLOW_FLOW_EXTENDED_MPLS_LVP_FEC, "Extended MPLS LVP FEC"},
|
| H A D | print-icmp.c | 38 #include "mpls.h" 222 * in draft-bonica-icmp-mpls-02 ICMP Extensions for MultiProtocol 274 * Class 1 dates back to draft-bonica-icmp-mpls-02. 287 { 1, "MPLS Stack Entry" }, 678 * Update the snapend because extensions (MPLS, ...) may be in icmp_print()
|
| H A D | print-ldp.c | 199 { 0x02, "MPLS Router Alert Label" }, 200 { 0x04, "MPLS inner label TTL = 1" }, 388 * We assume the type was supposed to be one of the MPLS in ldp_tlv_print()
|
| H A D | CHANGES | 185 MPLS: show the EXP field as TC, as per RFC 5462. 186 ICMP: redo MPLS Extension code as general ICMP Extension code. 629 MPLS LSP ping: Update printing for RFC 4379, bug fixes, more bounds checks 630 MPLS: "length" is now the *remaining* packet length 631 MPLS: Add bounds and length checks (Fix a heap overflow) 1022 ICMP MPLS rework of the extension code 1084 Clean up documentation of vlan filter expression, document mpls 1202 Print the whole MPLS label stack, not just the top label. 1221 Added MPLS encapsulation decoding per RFC3032.
|
| H A D | print-bgp.c | 424 /* rfc2547 bgp-mpls-vpns */ 425 …_EXT_COM_VPN_ORIGIN 0x0005 /* OSPF Domain ID / VPN of Origin - draft-rosen-vpns-ospf-bgp-mpls */ 514 { BGP_ENCAP_TUNNEL_MPLS_IP, "MPLS in IP with IPsec"}, 518 { BGP_ENCAP_TUNNEL_MPLS, "MPLS"}, 519 { BGP_ENCAP_TUNNEL_MPLS_GRE, "MPLS in GRE"}, 521 { BGP_ENCAP_TUNNEL_MPLS_UDP, "MPLS in UDP"}, 529 /* OSPF codes for BGP_EXT_COM_OSPF_RTYPE draft-rosen-vpns-ospf-bgp-mpls */ 533 #define BGP_OSPF_RTYPE_EXT 5 /* OSPF External LSA, note that ASBR doesn't apply to MPLS-VPN */ 535 #define BGP_OSPF_RTYPE_SHAM 129 /* OSPF-MPLS-VPN Sham link */ 544 { BGP_OSPF_RTYPE_SHAM,"MPLS-VPN Sham" }, [all …]
|
| H A D | ipproto.c | 231 "mpls-in-ip", /* 137 (MPLS-in-IP) */
|
| H A D | print-lspping.c | 16 /* \summary: MPLS LSP PING printer */ 78 { 1, "MPLS Echo Request"}, 79 { 2, "MPLS Echo Reply"}, 101 { 9, "Label switched but no MPLS forwarding at stack-depth"}, 141 #define LSPPING_TLV_BFD_DISCRIMINATOR 15 /* draft-ietf-bfd-mpls-02 */
|
| H A D | udp.h | 162 #define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */
|
| H A D | print-ether.c | 52 { ETHERTYPE_MPLS, "MPLS unicast" }, 53 { ETHERTYPE_MPLS_MULTI, "MPLS multicast" },
|
| H A D | print-openflow.c | 67 { ONF_EXP_MPLSTPSPTN, "MPLS-TP OpenFlow Extensions for SPTN" },
|
| H A D | Makefile.in | 180 print-mpls.c \ 296 mpls.h \
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-filter.manmisc.in | 737 .IP "\fBmpls \fI[label_num]\fR" 738 True if the packet is an MPLS packet. 741 Note that the first \fBmpls\fR keyword encountered in an expression 743 the assumption that the packet is a MPLS-encapsulated IP packet. The 744 `\fBmpls \fI[label_num]\fR` keyword may be used more than once, to 745 filter on MPLS hierarchies. Each use of that keyword increments the 751 \fBmpls\fP 100000 \fB&& mpls\fR 1024 758 \fBmpls && mpls\fP 1024 \fB&& host\fR 192.9.200.1
|
| /freebsd/lib/libc/net/ |
| H A D | protocols | 144 mpls-in-ip 137 MPLS-IN-IP # Encapsulating MPLS in IP
|
| /freebsd/sys/contrib/dev/ice/ |
| H A D | README | 102 * MPLS (up to 5 consecutive MPLS labels in the outermost Layer 2
|
| /freebsd/sys/net/ |
| H A D | if_types.h | 194 IFT_MPLSTUNNEL = 0x96, /* MPLS Tunnel Virtual Interface */ 210 IFT_MPLS = 0xa6, /* MPLS */
|
| /freebsd/usr.sbin/tcpdump/tcpdump/ |
| H A D | Makefile | 105 print-mpls.c \
|