Searched refs:nexthdr (Results 1 – 7 of 7) 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()
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()
93 if (ip6h->nexthdr != IPPROTO_IPIP && in _l2_to_iptun_ingress_forward()94 ip6h->nexthdr != IPPROTO_IPV6) in _l2_to_iptun_ingress_forward()
92 fib_params.l4_protocol = ip6h->nexthdr; in xdp_fwd_flags()
120 pkti->is_tcp = (ip6h->nexthdr == 6); in hbm_get_pkt_info()
89 nhoff + offsetof(struct ipv6hdr, nexthdr)); in parse_ipv6()
198 nhoff + offsetof(struct ipv6hdr, nexthdr)); in bpf_func_ipv6()
Completed in 12 milliseconds