Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c285 __u32 ip_suffix; in encap_v6() local
307 ip_suffix = pckt->flow.srcv6[3] ^ pckt->flow.port16[0]; in encap_v6()
315 ip6h->saddr.in6_u.u6_addr32[3] = ip_suffix; in encap_v6()
326 __u32 ip_suffix = bpf_ntohs(pckt->flow.port16[0]); in encap_v4() local
335 ip_suffix <<= 15; in encap_v4()
336 ip_suffix ^= pckt->flow.src; in encap_v4()
361 iph->saddr = ((0xFFFF0000 & ip_suffix) | 4268) ^ dst->dst; in encap_v4()