Searched refs:v6 (Results 1 – 12 of 12) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_iptunnel_common.h | 13 __u32 v6[4]; member 23 __u32 v6[4]; member 27 __u32 v6[4]; member
|
/tools/testing/selftests/bpf/progs/ |
D | test_btf_nokv.c | 10 unsigned int v6; member 30 counts->v6++; in test_long_fname_2()
|
D | test_btf_haskv.c | 11 unsigned int v6; member 33 counts->v6++; in test_long_fname_2()
|
D | test_btf_newkv.c | 11 unsigned int v6; member 41 counts->v6++; in test_long_fname_2()
|
D | test_xdp_loop.c | 170 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6() 201 memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); in handle_ipv6() 202 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); in handle_ipv6()
|
D | test_xdp.c | 174 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6() 205 memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); in handle_ipv6() 206 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); in handle_ipv6()
|
D | test_l4lb_noinline.c | 404 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
|
D | test_l4lb.c | 407 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | select_reuseport.c | 48 struct sockaddr_in6 v6; member 154 sa->v6.sin6_addr = in6addr_loopback; in sa46_init_loopback() 164 sa->v6.sin6_addr = in6addr_any; in sa46_init_inany() 274 expected.bind_inany = !srv_sa.v6.sin6_addr.s6_addr32[3] && in check_data() 275 !srv_sa.v6.sin6_addr.s6_addr32[2] && in check_data() 276 !srv_sa.v6.sin6_addr.s6_addr32[1] && in check_data() 277 !srv_sa.v6.sin6_addr.s6_addr32[0]; in check_data() 279 memcpy(&expected.skb_addrs[0], cli_sa.v6.sin6_addr.s6_addr32, in check_data() 280 sizeof(cli_sa.v6.sin6_addr)); in check_data() 283 expected.skb_ports[0] = cli_sa.v6.sin6_port; in check_data() [all …]
|
D | sk_lookup.c | 346 struct sockaddr_in6 *v6 = (struct sockaddr_in6 *)ss; in v4_to_v6() local 349 v6->sin6_family = AF_INET6; in v4_to_v6() 350 v6->sin6_port = v4.sin_port; in v4_to_v6() 351 v6->sin6_addr.s6_addr[10] = 0xff; in v4_to_v6() 352 v6->sin6_addr.s6_addr[11] = 0xff; in v4_to_v6() 353 memcpy(&v6->sin6_addr.s6_addr[12], &v4.sin_addr.s_addr, 4); in v4_to_v6() 354 memset(&v6->sin6_addr.s6_addr[0], 0, 10); in v4_to_v6()
|
/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 870 __icmp_capture_add_del add 100 v6 "$@" 875 __icmp_capture_add_del del 100 v6 "$@"
|
/tools/testing/selftests/net/ |
D | nettest.c | 82 struct sockaddr_in6 v6; member 1474 args->md5_prefix.v6.sin6_family = AF_INET6; in convert_addr() 1475 addr = &args->md5_prefix.v6.sin6_addr; in convert_addr()
|