Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diplink_geneve.c40 struct in6_addr daddr6 = IN6ADDR_ANY_INIT; in geneve_parse_opt() local
54 if (!inet_get_addr(*argv, &daddr, &daddr6)) { in geneve_parse_opt()
58 if (IN6_IS_ADDR_MULTICAST(&daddr6) || IN_MULTICAST(ntohl(daddr))) in geneve_parse_opt()
99 if (!daddr && memcmp(&daddr6, &in6addr_any, sizeof(daddr6)) == 0) { in geneve_parse_opt()
107 if (memcmp(&daddr6, &in6addr_any, sizeof(daddr6)) != 0) in geneve_parse_opt()
108 addattr_l(n, 1024, IFLA_GENEVE_REMOTE6, &daddr6, sizeof(struct in6_addr)); in geneve_parse_opt()
Diplink_vxlan.c57 struct in6_addr daddr6 = IN6ADDR_ANY_INIT; in vxlan_parse_opt() local
98 if (!inet_get_addr(*argv, &daddr, &daddr6)) { in vxlan_parse_opt()
102 if (IN6_IS_ADDR_MULTICAST(&daddr6) || IN_MULTICAST(ntohl(daddr))) in vxlan_parse_opt()
243 memcmp(&daddr6, &in6addr_any, sizeof(daddr6)))) { in vxlan_parse_opt()
263 else if (memcmp(&daddr6, &in6addr_any, sizeof(daddr6)) != 0) in vxlan_parse_opt()
264 addattr_l(n, 1024, IFLA_VXLAN_GROUP6, &daddr6, sizeof(struct in6_addr)); in vxlan_parse_opt()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c77 static struct sockaddr_in6 daddr6; variable
305 if (connect(fd, (void *) &daddr6, sizeof(daddr6))) in do_test()
366 val = sendto(fd, buf, total_len, 0, (void *) &daddr6, sizeof(daddr6)); in do_test()
485 memcpy(&daddr6, cur->ai_addr, sizeof(daddr6)); in resolve_hostname()
486 daddr6.sin6_port = htons(dest_port); in resolve_hostname()
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf_numa.c108 struct sockaddr_in6 *saddr6, *daddr6; in send_from_node() local
129 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_node()
130 daddr6->sin6_family = AF_INET6; in send_from_node()
131 daddr6->sin6_addr = in6addr_loopback; in send_from_node()
132 daddr6->sin6_port = htons(PORT); in send_from_node()
Dreuseport_bpf_cpu.c97 struct sockaddr_in6 *saddr6, *daddr6; in send_from_cpu() local
119 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_cpu()
120 daddr6->sin6_family = AF_INET6; in send_from_cpu()
121 daddr6->sin6_addr = in6addr_loopback; in send_from_cpu()
122 daddr6->sin6_port = htons(PORT); in send_from_cpu()