Searched refs:ihl_len (Results 1 – 4 of 4) sorted by relevance
54 uint64_t ihl_len; in parse_ipv4() local62 ihl_len = iph->ihl * 4; in parse_ipv4()65 iph = data + nh_off + ihl_len; in parse_ipv4()68 ihl_len += iph->ihl * 4; in parse_ipv4()72 return tcp(data, nh_off + ihl_len, data_end); in parse_ipv4()74 return udp(data, nh_off + ihl_len, data_end); in parse_ipv4()82 uint64_t ihl_len = sizeof(struct ipv6hdr); in parse_ipv6() local92 iph = data + nh_off + ihl_len; in parse_ipv6()95 ihl_len += iph->ihl * 4; in parse_ipv6()98 ip6h = data + nh_off + ihl_len; in parse_ipv6()[all …]
105 __u64 ihl_len; in test_pkt_access() local115 ihl_len = iph->ihl * 4; in test_pkt_access()117 tcp = (struct tcphdr *)((void *)(iph) + ihl_len); in test_pkt_access()123 ihl_len = sizeof(*ip6h); in test_pkt_access()125 tcp = (struct tcphdr *)((void *)(ip6h) + ihl_len); in test_pkt_access()
27 __u64 ihl_len; in get_tuple() local34 ihl_len = iph->ihl * 4; in get_tuple()43 ihl_len = sizeof(*ip6h); in get_tuple()49 if (data + nh_off + ihl_len > data_end || proto != IPPROTO_TCP) in get_tuple()
51 __u64 ihl_len; in get_tuple() local65 ihl_len = iph->ihl * 4; in get_tuple()74 ihl_len = sizeof(*ip6h); in get_tuple()