Searched refs:nexthdr (Results 1 – 11 of 11) sorted by relevance
83 uint64_t nexthdr; in parse_ipv6() local89 nexthdr = ip6h->nexthdr; in parse_ipv6()91 if (nexthdr == IPPROTO_IPIP) { in parse_ipv6()96 nexthdr = iph->protocol; in parse_ipv6()97 } else if (nexthdr == IPPROTO_IPV6) { in parse_ipv6()102 nexthdr = ip6h->nexthdr; in parse_ipv6()105 if (nexthdr == IPPROTO_TCP) in parse_ipv6()107 else if (nexthdr == IPPROTO_UDP) in parse_ipv6()
57 ip6h->nexthdr != IPPROTO_ICMPV6) { in handle_egress()59 eth->h_proto, ip6h->nexthdr); in handle_egress()
167 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()171 vip.protocol = ip6h->nexthdr; in handle_ipv6()205 ip6h->nexthdr = IPPROTO_IPV6; in handle_ipv6()
39 return ip6h->nexthdr; in parse_ipv6()
96 if (ip6h->nexthdr != IPPROTO_IPIP && in _l2_to_iptun_ingress_forward()97 ip6h->nexthdr != IPPROTO_IPV6) in _l2_to_iptun_ingress_forward()
55 return ip6h->nexthdr; in parse_ipv6()
92 fib_params.l4_protocol = ip6h->nexthdr; in xdp_fwd_flags()
120 pkti->is_tcp = (ip6h->nexthdr == 6); in hbm_get_pkt_info()
90 nhoff + offsetof(struct ipv6hdr, nexthdr)); in parse_ipv6()
139 return ip6h->nexthdr; in get_proto_ipv6()430 cpu_hash = SuperFastHash((char *)&cpu_hash, 4, INITVAL + ip6h->nexthdr); in get_ipv6_hash_ip_pair()
231 nhoff + offsetof(struct ipv6hdr, nexthdr)); in PROG()