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

/tldk/test/gtest/
H A Dtest_common.cpp80 is_ipv4_frag(const struct ipv4_hdr *iph) argument
84 return ((mask & iph->fragment_offset) != 0);
91 const struct ipv4_hdr *iph; local
97 iph = rte_pktmbuf_mtod_offset(m, const struct ipv4_hdr *, l2);
98 len = (iph->version_ihl & IPV4_HDR_IHL_MASK) * IPV4_IHL_MULTIPLIER;
100 if (frag != 0 && is_ipv4_frag(iph)) {
105 if (len > dlen || (proto <= IPPROTO_MAX && iph->next_proto_id != proto))
123 ipv4x_cksum(const void *iph, size_t len) argument
127 cksum = rte_raw_cksum(iph, len);
188 const struct ipv6_hdr *iph; local
[all...]
H A Dtest_common.h67 is_ipv4_frag(const struct ipv4_hdr *iph);
77 ipv4x_cksum(const void *iph, size_t len);
/tldk/examples/l4fwd/
H A Dpkt.c52 is_ipv4_frag(const struct ipv4_hdr *iph) argument
56 return ((mask & iph->fragment_offset) != 0);
72 const struct ipv4_hdr *iph; local
74 iph = rte_pktmbuf_mtod_offset(m, const struct ipv4_hdr *, l2_len);
75 plen = rte_be_to_cpu_16(iph->total_length) + l2_len;
86 const struct ipv6_hdr *iph; local
88 iph = rte_pktmbuf_mtod_offset(m, const struct ipv6_hdr *, l2_len);
89 plen = rte_be_to_cpu_16(iph->payload_len) + sizeof(*iph) + l2_len;
109 const struct ipv4_hdr *iph; local
208 const struct ipv6_hdr *iph; local
398 ipv4x_cksum(const void *iph, size_t len) argument
409 struct ipv4_hdr *iph; local
447 struct ipv4_hdr *iph; local
456 struct ipv6_hdr *iph; local
[all...]
/tldk/app/nginx/src/tldk/
H A Dbe.c653 is_ipv4_frag(const struct ipv4_hdr *iph) argument
657 return ((mask & iph->fragment_offset) != 0);
673 const struct ipv4_hdr *iph; local
675 iph = rte_pktmbuf_mtod_offset(m, const struct ipv4_hdr *, l2_len);
676 plen = rte_be_to_cpu_16(iph->total_length) + l2_len;
687 const struct ipv6_hdr *iph; local
689 iph = rte_pktmbuf_mtod_offset(m, const struct ipv6_hdr *, l2_len);
690 plen = rte_be_to_cpu_16(iph->payload_len) + sizeof(*iph) + l2_len;
710 const struct ipv4_hdr *iph; local
798 const struct ipv6_hdr *iph; local
[all...]
/tldk/lib/libtle_l4p/
H A Dmisc.h281 _ipv4x_cksum(const void *iph, size_t len) argument
285 cksum = __raw_cksum(iph, len);

Completed in 5 milliseconds