Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dtxtimestamp.c82 static struct sockaddr_in6 daddr6; variable
459 ip6h->saddr = daddr6.sin6_addr; in fill_header_ipv6()
460 ip6h->daddr = daddr6.sin6_addr; in fill_header_ipv6()
508 daddr6.sin6_port = htons(cfg_ipproto); in do_test()
546 if (connect(fd, (void *) &daddr6, sizeof(daddr6))) in do_test()
614 msg.msg_name = (void *)&daddr6; in do_test()
615 msg.msg_namelen = sizeof(daddr6); in do_test()
824 memcpy(&daddr6, cur->ai_addr, sizeof(daddr6)); in resolve_hostname()
825 daddr6.sin6_port = htons(dest_port); in resolve_hostname()
917 do_listen(PF_INET6, &daddr6, sizeof(daddr6)); in main()
Dreuseport_bpf_numa.c111 struct sockaddr_in6 *saddr6, *daddr6; in send_from_node() local
132 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_node()
133 daddr6->sin6_family = AF_INET6; in send_from_node()
134 daddr6->sin6_addr = in6addr_loopback; in send_from_node()
135 daddr6->sin6_port = htons(PORT); in send_from_node()
Dreuseport_addr_any.c106 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
129 daddr6.sin6_family = AF_INET6; in connect_and_send()
130 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
132 daddr6.sin6_port = htons(PORT); in connect_and_send()
136 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
Dreuseport_bpf_cpu.c98 struct sockaddr_in6 *saddr6, *daddr6; in send_from_cpu() local
120 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_cpu()
121 daddr6->sin6_family = AF_INET6; in send_from_cpu()
122 daddr6->sin6_addr = in6addr_loopback; in send_from_cpu()
123 daddr6->sin6_port = htons(PORT); in send_from_cpu()
Dtcp_fastopen_backup_key.c146 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
170 daddr6.sin6_family = AF_INET6; in connect_and_send()
171 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
173 daddr6.sin6_port = htons(PORT); in connect_and_send()
177 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
/tools/testing/selftests/netfilter/
Dnft_fib.sh167 local daddr6=$2
177 ip netns exec ${ns1} ping -c 3 -q $daddr6 > /dev/null
181 echo "FAIL: ${ns1} cannot reach $daddr6, ret $ret" 1>&2
/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh338 addr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type)
592 daddr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type)