Searched refs:raw (Results 1 - 25 of 34) sorted by relevance

12

/vpp/src/vnet/l2/
H A Dl2_fib.h85 u64 raw; member in union:__anon21::__anon22
149 u64 raw; member in union:l2fib_entry_result_t_::__anon28
268 key0->raw = l2fib_make_key (mac0, bd_index0);
270 if (key0->raw == cached_key->raw)
273 result0->raw = cached_result->raw;
280 kv.key = key0->raw;
283 result0->raw = kv.value;
286 cached_key->raw
[all...]
H A Dl2_input_vtr.c37 u8 raw[12]; /* raw data (vlans) */ member in struct:__anon107
54 t->raw[0], t->raw[1], t->raw[2], t->raw[3], t->raw[4],
55 t->raw[5], t->raw[6], t->raw[
[all...]
H A Dl2_efp_filter.c61 u8 raw[12]; /* raw data (vlans) */ member in struct:__anon82
78 t->raw[0], t->raw[1], t->raw[2], t->raw[3], t->raw[4],
79 t->raw[5], t->raw[6], t->raw[
[all...]
H A Dl2_output.c87 u8 raw[12]; /* raw data */ member in struct:__anon305
103 t->raw[0], t->raw[1], t->raw[2], t->raw[3], t->raw[4],
104 t->raw[5], t->raw[6], t->raw[
[all...]
H A Dl2_fib.c121 key.raw = kvp->key;
122 result.raw = kvp->value;
181 key.raw = kvp->key;
182 result.raw = kvp->value;
235 u8 raw = 0; local
247 if (unformat (input, "raw"))
249 raw = 1;
308 if (raw)
339 .short_help = "show l2fib [all] | [bd_id <nn> | bd_index <nn>] [learn | add] | [raw]",
416 key.raw
[all...]
H A Dl2_learn.c151 else if (result0->raw == ~0)
169 if (key.raw == 0)
174 result0->raw = 0; /* clear all fields */
231 kv.key = key0->raw;
232 kv.value = result0->raw;
236 cached_key->raw = ~0;
263 cached_key.raw = ~0;
264 cached_result.raw = ~0; /* warning be gone */
H A Dl2_fwd.c83 t->bd_index, t->result.raw,
138 int try_flood = result0->raw == ~0;
250 cached_key.raw = ~0;
251 cached_result.raw = ~0;
/vpp/src/plugins/pppoe/
H A Dpppoe.h126 u64 raw; member in union:__anon15::__anon16
146 u64 raw; member in union:__anon19::__anon20
258 cached_key->raw = ~0; /* invalidate the cache */
268 kv.key = key0->raw;
269 kv.value = result0->raw;
283 key0->raw = pppoe_make_key (mac0, session_id0);
286 if (key0->raw == cached_key->raw)
289 result0->raw = cached_result->raw;
[all...]
H A Dpppoe_cp_node.c85 cached_key.raw = ~0;
86 cached_result.raw = ~0; /* warning be gone */
H A Dpppoe.c267 cached_key.raw = ~0;
268 cached_result.raw = ~0; /* warning be gone */
647 key.raw = kvp->key;
648 result.raw = kvp->value;
H A Dpppoe_decap.c67 cached_key.raw = ~0;
68 cached_result.raw = ~0; /* warning be gone */
/vpp/test/
H A Dtest_trace_filter.py13 from scapy.compat import raw namespace
139 ori = raw(tmpl)
145 new = raw(tmpl)
152 new = raw(tmpl)
158 new = raw(tmpl)
H A Dutil.py155 """ IPv4 address of remote host - raw, suitable as API parameter."""
165 """ IPv6 address of remote host - raw, suitable as API parameter."""
176 raw, suitable as API parameter."""
289 packet = packet.__class__(scapy.compat.raw(packet)) # recalc. all values
297 hex_packet = scapy.compat.raw(packet)
333 packet = packet.__class__(scapy.compat.raw(packet)) # recalc. all values
384 hex_payload = scapy.compat.raw(ext_and_upper_layer)
418 p = p.__class__(scapy.compat.raw(p))
435 p = p.__class__(scapy.compat.raw(p))
H A Dtest_gre.py201 IP(src=scapy.compat.raw(RandIP()),
202 dst=scapy.compat.raw(RandIP())) /
221 IP(src=scapy.compat.raw(RandIP()),
222 dst=scapy.compat.raw(RandIP())) /
281 rx_gre = GRE(scapy.compat.raw(rx_ip[IPv6].payload))
310 rx_gre = GRE(scapy.compat.raw(rx_ip[IPv6].payload))
341 rx_gre = GRE(scapy.compat.raw(rx_ip[IP].payload))
H A Dtest_vxlan6.py222 self.assertEqual(Ether(raw(frame))[IP], reassembled[IP])
/vpp/src/plugins/dpdk/device/
H A Dflow.c140 } raw[2]; local
447 clib_memset (raw, 0, sizeof raw);
448 raw[0].item.relative = 1;
449 raw[0].item.length = vxlan_hdr_sz;
451 clib_memcpy_fast (raw[0].val + raw_sz, &spec_hdr, vxlan_hdr_sz);
452 raw[0].item.pattern = raw[0].val + raw_sz;
453 clib_memcpy_fast (raw[1].val + raw_sz, &mask_hdr, vxlan_hdr_sz);
454 raw[
[all...]
/vpp/src/plugins/lb/test/
H A Dtest_lb.py111 inner = IPver(scapy.compat.raw(gre.payload))
115 self.assertEqual(scapy.compat.raw(inner),
116 scapy.compat.raw(self.info.data[IPver]))
154 gre = GRE(scapy.compat.raw(p[IPv6].payload))
193 udp = UDP(scapy.compat.raw(p[IPv6].payload))
/vpp/src/plugins/ikev2/test/
H A Dtest_ikev2.py14 from scapy.packet import raw, Raw namespace
333 authmsg = self.generate_authmsg(prf, raw(self.init_req_packet))
404 return self.decrypt(ct, raw(ike)[:aad_len], tag)
406 self.verify_hmac(raw(ike))
590 data = self.sa.ike_crypto_alg.pad(raw(plain))
603 encr = self.sa.encrypt(raw(plain), raw(sa_auth))
611 encr = self.sa.encrypt(raw(plain))
623 integ_data = raw(sa_auth)
671 data = raw(packe
[all...]
/vpp/src/plugins/srv6-as/test/
H A Dtest_srv6_as.py488 tx_ip = IP(scapy.compat.raw(tx_ip))
537 self.assertEqual(Ether(scapy.compat.raw(payload)), tx_ether)
590 tx_ip2 = IP(scapy.compat.raw(tx_ip2))
609 tx_eth1 = Ether(scapy.compat.raw(tx_pkt[Raw]))
655 p = Ether(scapy.compat.raw(p))
817 Ether(scapy.compat.raw(packet[Raw]))[Raw])
/vpp/src/plugins/srv6-ad/test/
H A Dtest_srv6_ad.py367 tx_ip2 = IP(scapy.compat.raw(tx_ip2))
409 self.assertEqual(rx_srh.payload, IP(scapy.compat.raw(tx_ip)))
498 tx_eth1 = Ether(scapy.compat.raw(tx_pkt[Raw]))
538 self.assertEqual(Ether(scapy.compat.raw(rx_srh.payload)), tx_ether)
576 p = Ether(scapy.compat.raw(p))
739 Ether(scapy.compat.raw(packet[Raw]))[Raw])
/vpp/src/plugins/acl/test/
H A Dtest_acl_plugin_l2l3.py316 data = scapy.compat.raw(packet[UDP][Raw])
319 data = scapy.compat.raw(ICMP(
320 scapy.compat.raw(packet[l3].payload))[Raw])
322 data = scapy.compat.raw(ICMPv6Unknown(
323 scapy.compat.raw(packet[l3].payload)).msgbody)
/vpp/src/plugins/nat/test/
H A Dtest_ipsec_nat.py138 copy = packet.__class__(scapy.compat.raw(packet))
140 copy = packet.__class__(scapy.compat.raw(copy))
/vpp/src/plugins/cdp/test/
H A Dtest_cdp.py11 from scapy.all import raw namespace
/vpp/src/vnet/vxlan-gbp/
H A Dvxlan_gbp.c917 int raw = 0; local
921 if (unformat (input, "raw"))
922 raw = 1;
938 if (raw)
963 .short_help = "show vxlan-gbp tunnel [raw]",
/vpp/src/vnet/vxlan/
H A Dvxlan.c849 int raw = 0; local
853 if (unformat (input, "raw"))
854 raw = 1;
870 if (raw)
895 .short_help = "show vxlan tunnel [raw]",

Completed in 22 milliseconds

12