Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c216 static __noinline __u64 calc_offset(bool is_ipv6, bool is_icmp) in calc_offset() argument
219 if (is_ipv6) { in calc_offset()
233 bool is_ipv6, struct packet_description *pckt) in parse_udp() argument
237 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_udp()
255 bool is_ipv6, struct packet_description *pckt) in parse_tcp() argument
259 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_tcp()
551 bool is_ipv6, void *lru_map) in get_packet_dst() argument
554 bool hash_16bytes = is_ipv6; in get_packet_dst()
692 bool is_ipv6, struct xdp_md *xdp) in process_packet() argument
712 if (is_ipv6) in process_packet()
[all …]
Dtest_l4lb.c220 bool is_ipv6) in get_packet_dst() argument
222 __u32 hash = get_packet_hash(pckt, is_ipv6) % RING_SIZE; in get_packet_dst()
325 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument
349 if (is_ipv6) { in process_packet()
406 if (is_ipv6) in process_packet()
425 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
Dtest_l4lb_noinline.c213 bool is_ipv6) in get_packet_dst() argument
215 __u32 hash = get_packet_hash(pckt, is_ipv6); in get_packet_dst()
322 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument
346 if (is_ipv6) { in process_packet()
403 if (is_ipv6) in process_packet()
422 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
/tools/testing/selftests/net/forwarding/
Dmirror_lib.sh23 is_ipv6() function
39 if is_ipv6 $dip; then
/tools/testing/selftests/net/
Dudpgro_fwd.sh92 is_ipv6() { function
113 if is_ipv6 $dst; then
173 is_ipv6 $dst && family=-6
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c83 static bool is_ipv6(const char *ip) in is_ipv6() function
118 family = is_ipv6(ip) ? AF_INET6 : AF_INET; in make_socket()
265 if (is_ipv6(local_ip)) { in fill_sk_lookup_ctx()