Searched refs:eth (Results 1 - 5 of 5) sorted by relevance

/tldk/test/gtest/
H A Dtest_tle_udp_stream_gen.h68 struct ether_hdr *eth; local
81 res->l2_len = sizeof(*eth);
84 eth = (struct ether_hdr *)res->hdr;
85 eth->ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);
86 ip4h = (struct ipv4_hdr *)(eth + 1);
104 struct ether_hdr *eth; local
118 res->l2_len = sizeof(*eth);
121 eth = (struct ether_hdr *)res->hdr;
122 eth->ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv6);
123 ip6h = (struct ipv6_hdr *)(eth
[all...]
H A Dtest_common.cpp205 const struct ether_hdr *eth; local
216 l2 = sizeof(*eth);
218 eth = rte_pktmbuf_mtod(m, const struct ether_hdr *);
219 etp = eth->ether_type;
/tldk/examples/l4fwd/
H A Dpkt.c266 const struct ether_hdr *eth; local
277 l2_len = sizeof(*eth);
279 eth = rte_pktmbuf_mtod(m, const struct ether_hdr *);
280 etp = eth->ether_type;
316 const struct ether_hdr *eth; local
327 l2_len = sizeof(*eth);
329 eth = rte_pktmbuf_mtod(m, const struct ether_hdr *);
330 etp = eth->ether_type;
361 const struct ether_hdr *eth; local
372 l2_len = sizeof(*eth);
538 const struct ether_hdr *eth; local
607 const struct ether_hdr *eth; local
693 const struct ether_hdr *eth; local
748 const struct ether_hdr *eth; local
[all...]
H A Dcommon.h360 struct ether_hdr *eth; local
367 dst->l2_len = sizeof(*eth);
369 eth = (struct ether_hdr *)dst->hdr;
371 ether_addr_copy(&bed->port.mac, &eth->s_addr);
372 ether_addr_copy(&bdp->mac, &eth->d_addr);
373 eth->ether_type = rte_cpu_to_be_16(l3_type);
377 ip4h = (struct ipv4_hdr *)(eth + 1);
384 ip6h = (struct ipv6_hdr *)(eth + 1);
444 struct ether_hdr *eth; local
450 eth
[all...]
/tldk/app/nginx/src/tldk/
H A Dbe.c427 struct ether_hdr *eth; local
434 dst->l2_len = sizeof(*eth);
436 eth = (struct ether_hdr *)dst->hdr;
438 ether_addr_copy(&pcf->mac, &eth->s_addr);
439 ether_addr_copy(&dest->mac, &eth->d_addr);
440 eth->ether_type = rte_cpu_to_be_16(l3_type);
444 ip4h = (struct ipv4_hdr *)(eth + 1);
451 ip6h = (struct ipv6_hdr *)(eth + 1);
817 const struct ether_hdr *eth; local
828 l2_len = sizeof(*eth);
868 const struct ether_hdr *eth; local
934 const struct ether_hdr *eth; local
[all...]

Completed in 6 milliseconds