Searched refs:MPLS (Results 1 - 21 of 21) sorted by relevance

/vpp/extras/vom/vom/
H A Dqos_types.cpp23 const source_t source_t::MPLS(2, "mpls");
H A Dqos_types.hpp38 const static source_t MPLS; member in class:VOM::QoS::source_t
H A Dqos_types_api.cpp36 return source_t::MPLS;
H A Dprefix.hpp36 const static nh_proto_t MPLS; member in class:VOM::nh_proto_t
57 const static l3_proto_t MPLS; member in class:VOM::l3_proto_t
H A Dprefix.cpp27 const l3_proto_t l3_proto_t::MPLS(2, "mpls");
63 else if (*this == MPLS)
64 return nh_proto_t::MPLS;
81 const nh_proto_t nh_proto_t::MPLS(2, "mpls");
H A Dapi_types.cpp235 } else if (p == nh_proto_t::MPLS) {
262 return nh_proto_t::MPLS;
/vpp/test/
H A Dtest_qos.py16 from scapy.contrib.mpls import MPLS namespace
298 """ QoS Mark/Record MPLS """
323 # a route with 1 MPLS label
332 # a route with 3 MPLS labels
341 # enable IP QoS recording on the input Pg0 and MPLS egress marking
364 # only 3 bits of ToS value in MPLS make sure tos is correct
368 self.assertEqual(p[MPLS].cos, from_ip)
369 self.assertEqual(p[MPLS].label, 32)
370 self.assertEqual(p[MPLS].s, 1)
373 self.assertEqual(p[MPLS]
[all...]
H A Dtest_bier.py20 from scapy.contrib.mpls import MPLS namespace
47 # create the default MPLS table
88 MPLS(label=77, ttl=255) /
127 MPLS(label=77, ttl=255) /
147 olabel = rxp[MPLS]
150 blabel = olabel[MPLS].payload
154 bier_hdr = blabel[MPLS].payload
226 MPLS(label=77, ttl=255) /
265 self.assertTrue(sum(p[MPLS].label == nh['label'] for p in rx))
283 self.assertTrue(sum(p[MPLS]
[all...]
H A Dtest_srmpls.py16 from scapy.contrib.mpls import MPLS namespace
29 # the rx'd packet has the MPLS label popped
33 rx_mpls = rx[MPLS]
46 rx_mpls = rx_mpls[MPLS].payload
50 """ SR-MPLS Test Case """
155 """ SR MPLS """
158 # A simple MPLS xconnect - neos label in label out
223 # Resolve an MPLS tunnel via the SID
H A Dtest_mpls.py20 from scapy.contrib.mpls import MPLS namespace
41 # the rx'd packet has the MPLS label popped
45 rx_mpls = rx[MPLS]
58 rx_mpls = rx_mpls[MPLS].payload
62 """ MPLS Test Case """
136 p = p / MPLS(label=mpls_labels[ii].value,
206 p = p / MPLS(label=l.value, ttl=l.ttl, cos=l.exp)
226 # the rx'd packet has the MPLS label popped
345 # the rx'd packet has the MPLS label popped
372 # the rx'd packet has the MPLS labe
[all...]
H A Dtest_udp.py13 from scapy.contrib.mpls import MPLS namespace
245 p = MPLS(p["UDP"].payload.load)
H A Dtest_ip6.py10 from scapy.contrib.mpls import MPLS namespace
1960 # - MPLS EOS
1961 # - MPLS non-EOS
1962 # - MPLS non-EOS with an entropy label
1985 MPLS(label=66, ttl=2) /
1989 MPLS(label=67, ttl=2) /
1990 MPLS(label=77, ttl=2) /
1994 MPLS(label=67, ttl=2) /
1995 MPLS(label=14, ttl=2) /
1996 MPLS(labe
[all...]
H A Dtest_ip4.py8 from scapy.contrib.mpls import MPLS namespace
1158 MPLS(label=66, ttl=2) /
1169 MPLS(label=66, ttl=2) /
H A Dtest_neighbor.py18 from scapy.contrib.mpls import MPLS namespace
144 mpls = rx[MPLS]
1009 """ MPLS """
1051 # Now packet should be properly MPLS encapped.
1052 # This verifies that MPLS link-type adjacencies are completed
/vpp/src/plugins/dns/test/
H A Dtest_dns.py10 from scapy.contrib.mpls import MPLS namespace
/vpp/src/vnet/srp/
H A Dinterface.c61 _ (MPLS, MPLS);
/vpp/src/vnet/hdlc/
H A Dhdlc.c185 _(MPLS, mpls_unicast);
/vpp/src/vnet/ppp/
H A Dppp.c185 _(MPLS, mpls_unicast);
/vpp/src/vnet/devices/pipe/
H A Dpipe.c71 _(MPLS, MPLS);
/vpp/src/vnet/ethernet/
H A Dinterface.c137 _(MPLS, MPLS);
/vpp/src/vnet/
H A Dinterface.h796 _(MPLS, mpls, if)

Completed in 19 milliseconds