Home
last modified time | relevance | path

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

/openbmc/linux/net/mpls/
H A Daf_mpls.c199 const struct iphdr *v4hdr; in mpls_multipath_hash() local
201 v4hdr = (const struct iphdr *)(hdr + 1); in mpls_multipath_hash()
202 if (v4hdr->version == 4) { in mpls_multipath_hash()
203 hash = jhash_3words(ntohl(v4hdr->saddr), in mpls_multipath_hash()
204 ntohl(v4hdr->daddr), in mpls_multipath_hash()
205 v4hdr->protocol, hash); in mpls_multipath_hash()
206 } else if (v4hdr->version == 6 && in mpls_multipath_hash()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c64 struct v4hdr { struct
96 struct v4hdr h_outer; in __encap_ipv4()