Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c117 struct ipv6hdr iph6_inner; in __encap_ipv4() local
120 if (bpf_skb_load_bytes(skb, ETH_HLEN, &iph6_inner, in __encap_ipv4()
121 sizeof(iph6_inner)) < 0) in __encap_ipv4()
128 iph_inner.tot_len = bpf_htons(sizeof(iph6_inner) + in __encap_ipv4()
129 bpf_ntohs(iph6_inner.payload_len)); in __encap_ipv4()
130 iph_inner.ttl = iph6_inner.hop_limit - 1; in __encap_ipv4()
131 iph_inner.protocol = iph6_inner.nexthdr; in __encap_ipv4()
135 tcp_off = sizeof(iph6_inner); in __encap_ipv4()