/third_party/grpc/third_party/address_sorting/ |
D | address_sorting.c | 155 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_label_value() local 156 if (in6_is_addr_loopback(&ipv6_addr->sin6_addr)) { in get_label_value() 158 } else if (in6_is_addr_v4mapped(&ipv6_addr->sin6_addr)) { in get_label_value() 160 } else if (in6_is_addr_6to4(&ipv6_addr->sin6_addr)) { in get_label_value() 162 } else if (in6_is_addr_teredo(&ipv6_addr->sin6_addr)) { in get_label_value() 164 } else if (in6_is_addr_ula(&ipv6_addr->sin6_addr)) { in get_label_value() 166 } else if (in6_is_addr_v4compat(&ipv6_addr->sin6_addr)) { in get_label_value() 168 } else if (in6_is_addr_sitelocal(&ipv6_addr->sin6_addr)) { in get_label_value() 170 } else if (in6_is_addr_6bone(&ipv6_addr->sin6_addr)) { in get_label_value() 184 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_precedence_value() local [all …]
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 31 static struct sockaddr_in6 ipv6_addr; variable 60 {SOCK_STREAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr), 62 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv6_addr, 63 sizeof(ipv6_addr), "IPv6 loop TCP variant 2"}, 64 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_addr, 65 sizeof(ipv6_addr), "IPv6 loop SCTP"}, 80 tst_init_sockaddr_inet6_bin(&ipv6_addr, &in6addr_loopback, 0); in setup()
|
D | bind05.c | 35 static struct sockaddr_in6 ipv6_addr; variable 60 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr), 62 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv6_addr, 63 sizeof(ipv6_addr), "IPv6 loop UDP variant 2"}, 64 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv6_addr, 65 sizeof(ipv6_addr), "IPv6 loop UDP-Lite"}, 80 tst_init_sockaddr_inet6_bin(&ipv6_addr, &in6addr_loopback, 0); in setup()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 199 char ipv6_addr[40]; in display_ifconfig() local 202 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig() 208 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in display_ifconfig() 213 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in display_ifconfig() 216 if (inet_pton(AF_INET6, ipv6_addr, (void *)&s6.sin6_addr) > 0) { in display_ifconfig()
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 200 char ipv6_addr[40]; in display_ifconfig() local 203 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig() 209 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in display_ifconfig() 214 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in display_ifconfig() 217 if (inet_pton(AF_INET6, ipv6_addr, (void *)&s6.sin6_addr) > 0) { in display_ifconfig()
|
/third_party/selinux/checkpolicy/ |
D | policy_parse.y | 726 ibpkey_context_def : IBPKEYCON ipv6_addr number security_context_def 728 | IBPKEYCON ipv6_addr number '-' number security_context_def 757 | NODECON ipv6_addr ipv6_addr security_context_def 914 ipv6_addr : IPV6_ADDR
|
/third_party/toybox/toys/pending/ |
D | dhcpd.c | 226 uint8_t ipv6_addr[16]; member 366 char ipv6_addr[40] = {0,}; in get_interface() local 385 if (sscanf(toybuf, "%32s \n", ipv6_addr) == 1) in get_interface() 391 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in get_interface() 396 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in get_interface() 398 dbg("ipv6 %s\n", ipv6_addr); in get_interface() 399 if(inet_pton(AF_INET6, ipv6_addr, &ip6.sin6_addr) <= 0) in get_interface() 1785 memcpy(&(*ia_addr_p).ipv6_addr, in dhcpd_main() 1792 if(memcmp((*ia_addr_p).ipv6_addr, (uint8_t[16]){0}, sizeof(uint32_t)*4)) { in dhcpd_main() 1911 if(verifyip6_in_lease((*ia_addr_p).ipv6_addr, client_duid, in dhcpd_main()
|
/third_party/glib/gio/tests/ |
D | network-address.c | 809 GInetAddress *ipv6_addr = g_inet_address_new_from_string (ipv6_address_strings[i]); in happy_eyeballs_setup() local 811 fixture->input_ipv6_results = g_list_append (fixture->input_ipv6_results, ipv6_addr); in happy_eyeballs_setup() 813 fixture->input_all_results = g_list_append (fixture->input_all_results, ipv6_addr); in happy_eyeballs_setup()
|