Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c114 struct ipv6hdr iph6_inner; in __encap_ipv4() local
117 if (bpf_skb_load_bytes(skb, ETH_HLEN, &iph6_inner, in __encap_ipv4()
118 sizeof(iph6_inner)) < 0) in __encap_ipv4()
125 iph_inner.tot_len = bpf_htons(sizeof(iph6_inner) + in __encap_ipv4()
126 bpf_ntohs(iph6_inner.payload_len)); in __encap_ipv4()
127 iph_inner.ttl = iph6_inner.hop_limit - 1; in __encap_ipv4()
128 iph_inner.protocol = iph6_inner.nexthdr; in __encap_ipv4()
132 tcp_off = sizeof(iph6_inner); in __encap_ipv4()