Home
last modified time | relevance | path

Searched refs:nexthdr (Results 1 – 7 of 7) sorted by relevance

/samples/bpf/
A Dparse_varlen.c83 uint64_t nexthdr; in parse_ipv6() local
89 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()
A Dxdp_tx_iptunnel_kern.c167 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()
A Dtc_l2_redirect_kern.c93 if (ip6h->nexthdr != IPPROTO_IPIP && in _l2_to_iptun_ingress_forward()
94 ip6h->nexthdr != IPPROTO_IPV6) in _l2_to_iptun_ingress_forward()
A Dxdp_fwd_kern.c92 fib_params.l4_protocol = ip6h->nexthdr; in xdp_fwd_flags()
A Dhbm_kern.h120 pkti->is_tcp = (ip6h->nexthdr == 6); in hbm_get_pkt_info()
A Dsockex2_kern.c89 nhoff + offsetof(struct ipv6hdr, nexthdr)); in parse_ipv6()
A Dsockex3_kern.c198 nhoff + offsetof(struct ipv6hdr, nexthdr)); in bpf_func_ipv6()

Completed in 9 milliseconds