Searched refs:daddr6 (Results 1 – 7 of 7) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 72 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/ |
D | iplink_geneve.c | 62 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()
|
D | iplink_vxlan.c | 81 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/ |
D | reuseport_bpf_numa.c | 111 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()
|
D | reuseport_bpf_cpu.c | 98 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()
|
D | reuseport_addr_any.c | 102 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()
|
D | tcp_fastopen_backup_key.c | 148 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()
|