Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c72 static struct sockaddr_in6 daddr6; variable
364 ip6h->saddr = daddr6.sin6_addr; in fill_header_ipv6()
365 ip6h->daddr = daddr6.sin6_addr; in fill_header_ipv6()
409 daddr6.sin6_port = htons(cfg_ipproto); in do_test()
433 if (connect(fd, (void *) &daddr6, sizeof(daddr6))) in do_test()
501 msg.msg_name = (void *)&daddr6; in do_test()
502 msg.msg_namelen = sizeof(daddr6); in do_test()
679 memcpy(&daddr6, cur->ai_addr, sizeof(daddr6)); in resolve_hostname()
680 daddr6.sin6_port = htons(dest_port); in resolve_hostname()
772 do_listen(PF_INET6, &daddr6, sizeof(daddr6)); in main()
/external/iproute2/ip/
Diplink_geneve.c62 struct in6_addr daddr6 = IN6ADDR_ANY_INIT; in geneve_parse_opt() local
87 if (!inet_get_addr(*argv, &daddr, &daddr6)) { in geneve_parse_opt()
91 if (IN6_IS_ADDR_MULTICAST(&daddr6) || IN_MULTICAST(ntohl(daddr))) in geneve_parse_opt()
194 if (!set_op && !daddr && IN6_IS_ADDR_UNSPECIFIED(&daddr6)) { in geneve_parse_opt()
203 if (!IN6_IS_ADDR_UNSPECIFIED(&daddr6)) { in geneve_parse_opt()
204 addattr_l(n, 1024, IFLA_GENEVE_REMOTE6, &daddr6, in geneve_parse_opt()
Diplink_vxlan.c81 struct in6_addr daddr6 = IN6ADDR_ANY_INIT; in vxlan_parse_opt() local
101 if (daddr || !IN6_IS_ADDR_UNSPECIFIED(&daddr6)) { in vxlan_parse_opt()
122 if (!inet_get_addr(*argv, &daddr, &daddr6)) { in vxlan_parse_opt()
126 if (IN6_IS_ADDR_MULTICAST(&daddr6) || IN_MULTICAST(ntohl(daddr))) in vxlan_parse_opt()
377 else if (!IN6_IS_ADDR_UNSPECIFIED(&daddr6)) in vxlan_parse_opt()
378 addattr_l(n, 1024, IFLA_VXLAN_GROUP6, &daddr6, sizeof(struct in6_addr)); in vxlan_parse_opt()
382 addattr_l(n, 1024, IFLA_VXLAN_GROUP6, &daddr6, sizeof(struct in6_addr)); in vxlan_parse_opt()
/external/linux-kselftest/tools/testing/selftests/net/
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_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()
Dreuseport_addr_any.c102 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
125 daddr6.sin6_family = AF_INET6; in connect_and_send()
126 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
128 daddr6.sin6_port = htons(PORT); in connect_and_send()
132 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
Dtcp_fastopen_backup_key.c148 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
172 daddr6.sin6_family = AF_INET6; in connect_and_send()
173 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
175 daddr6.sin6_port = htons(PORT); in connect_and_send()
179 daddr = (struct sockaddr *)&daddr6; in connect_and_send()