Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c91 struct iphdr iph_inner; in __encap_ipv4() local
118 memset(&iph_inner, 0, sizeof(iph_inner)); in __encap_ipv4()
119 iph_inner.version = 4; in __encap_ipv4()
120 iph_inner.ihl = 5; in __encap_ipv4()
131 sizeof(iph_inner)) < 0) in __encap_ipv4()
134 tcp_off = sizeof(iph_inner); in __encap_ipv4()
138 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in __encap_ipv4()
223 h_outer.ip = iph_inner; in __encap_ipv4()
259 struct ipv6hdr iph_inner; in __encap_ipv6() local
312 tot_len = bpf_ntohs(iph_inner.payload_len) + sizeof(iph_inner) + in __encap_ipv6()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c50 struct iphdr iph_inner; member
341 .iph_inner.ihl = 5,
342 .iph_inner.protocol = IPPROTO_TCP,
343 .iph_inner.tot_len =
369 .iph_inner.ihl = 5,
370 .iph_inner.protocol = IPPROTO_TCP,
371 .iph_inner.tot_len =

Completed in 4 milliseconds