/external/iptables/extensions/ |
D | libip6t_DNPT.c | 55 printf("src-pfx %s/%u ", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in DNPT_print() 57 printf("dst-pfx %s/%u ", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in DNPT_print() 66 if (memcmp(&info->src_pfx.in6, &zero_addr, sizeof(zero_addr)) != 0 || in DNPT_save() 69 xtables_ip6addr_to_numeric(&info->src_pfx.in6), in DNPT_save() 71 if (memcmp(&info->dst_pfx.in6, &zero_addr, sizeof(zero_addr)) != 0 || in DNPT_save() 74 xtables_ip6addr_to_numeric(&info->dst_pfx.in6), in DNPT_save()
|
D | libip6t_SNPT.c | 55 printf("src-pfx %s/%u ", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in SNPT_print() 57 printf("dst-pfx %s/%u ", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in SNPT_print() 66 if (memcmp(&info->src_pfx.in6, &zero_addr, sizeof(zero_addr)) != 0 || in SNPT_save() 69 xtables_ip6addr_to_numeric(&info->src_pfx.in6), in SNPT_save() 71 if (memcmp(&info->dst_pfx.in6, &zero_addr, sizeof(zero_addr)) != 0 || in SNPT_save() 74 xtables_ip6addr_to_numeric(&info->dst_pfx.in6), in SNPT_save()
|
D | libxt_iprange.c | 60 range[i].in6 = *ia6; in iprange_parse_spec() 233 printf(" %s", xtables_ip6addr_to_numeric(&info->src_min.in6)); in iprange_mt6_print() 234 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6)); in iprange_mt6_print() 240 printf(" %s", xtables_ip6addr_to_numeric(&info->dst_min.in6)); in iprange_mt6_print() 241 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6)); in iprange_mt6_print() 288 printf(" --src-range %s", xtables_ip6addr_to_numeric(&info->src_min.in6)); in iprange_mt6_save() 289 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6)); in iprange_mt6_save() 294 printf(" --dst-range %s", xtables_ip6addr_to_numeric(&info->dst_min.in6)); in iprange_mt6_save() 295 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6)); in iprange_mt6_save()
|
D | libxt_TEE.c | 70 printf(" TEE gw:%s", xtables_ip6addr_to_numeric(&info->gw.in6)); in tee_tg6_print() 72 printf(" TEE gw:%s", xtables_ip6addr_to_anyname(&info->gw.in6)); in tee_tg6_print() 90 printf(" --gateway %s", xtables_ip6addr_to_numeric(&info->gw.in6)); in tee_tg6_save()
|
D | libip6t_SNAT.c | 133 range->min_addr.in6 = *ip; in parse_to() 139 range->max_addr.in6 = *ip; in parse_to() 194 printf("%s", xtables_ip6addr_to_numeric(&range->min_addr.in6)); in print_range() 197 printf("-%s", xtables_ip6addr_to_numeric(&range->max_addr.in6)); in print_range()
|
D | libip6t_DNAT.c | 133 range->min_addr.in6 = *ip; in parse_to() 139 range->max_addr.in6 = *ip; in parse_to() 194 printf("%s", xtables_ip6addr_to_numeric(&range->min_addr.in6)); in print_range() 197 printf("-%s", xtables_ip6addr_to_numeric(&range->max_addr.in6)); in print_range()
|
D | libxt_ipvs.c | 149 strcpy(buf, xtables_ip6addr_to_numeric(&addr->in6)); in ipvs_mt_dump_addr() 151 strcpy(buf, xtables_ip6addr_to_anyname(&addr->in6)); in ipvs_mt_dump_addr() 152 strcat(buf, xtables_ip6mask_to_numeric(&mask->in6)); in ipvs_mt_dump_addr()
|
D | libxt_TPROXY.c | 81 xtables_ip6addr_to_numeric(&info->laddr.in6), in tproxy_tg_print6() 116 printf(" --on-ip %s", xtables_ip6addr_to_numeric(&info->laddr.in6)); in tproxy_tg_save6()
|
D | libxt_HMARK.c | 325 xtables_ip6mask_to_numeric(&info->src_mask.in6) + 1); in HMARK_ip6_print() 328 xtables_ip6mask_to_numeric(&info->dst_mask.in6) + 1); in HMARK_ip6_print() 391 ret = xtables_ip6mask_to_cidr(&info->src_mask.in6); in HMARK_ip6_save() 395 ret = xtables_ip6mask_to_cidr(&info->dst_mask.in6); in HMARK_ip6_save()
|
D | libip6t_NETMAP.c | 60 a = r->min_addr.in6; in NETMAP_print()
|
/external/dnsmasq/src/ |
D | network.c | 104 IN6_ARE_ADDR_EQUAL(&tmp->addr.in6.sin6_addr, in iface_check() 186 !iface_check(AF_INET6, (struct all_addr *)&addr->in6.sin6_addr, ifr.ifr_name, NULL)) in iface_allowed() 217 addr.in6.sin6_len = sizeof(addr.in6); in iface_allowed_v6() 219 addr.in6.sin6_family = AF_INET6; in iface_allowed_v6() 220 addr.in6.sin6_addr = *local; in iface_allowed_v6() 221 addr.in6.sin6_port = htons(daemon->port); in iface_allowed_v6() 222 addr.in6.sin6_scope_id = scope; in iface_allowed_v6() 275 addr.in6.sin6_family = AF_INET6; in create_ipv6_listener() 276 addr.in6.sin6_addr = in6addr_any; in create_ipv6_listener() 277 addr.in6.sin6_port = htons(port); in create_ipv6_listener() [all …]
|
D | dbus.c | 154 memcpy(&addr.in6.sin6_addr, p, sizeof(struct in6_addr)); in dbus_read_servers() 156 source_addr.in6.sin6_len = addr.in6.sin6_len = sizeof(struct sockaddr_in6); in dbus_read_servers() 158 source_addr.in6.sin6_family = addr.in6.sin6_family = AF_INET6; in dbus_read_servers() 159 addr.in6.sin6_port = htons(NAMESERVER_PORT); in dbus_read_servers() 160 source_addr.in6.sin6_flowinfo = addr.in6.sin6_flowinfo = 0; in dbus_read_servers() 161 source_addr.in6.sin6_scope_id = addr.in6.sin6_scope_id = 0; in dbus_read_servers() 162 source_addr.in6.sin6_addr = in6addr_any; in dbus_read_servers() 163 source_addr.in6.sin6_port = htons(daemon->query_port); in dbus_read_servers()
|
D | util.c | 262 s1->in6.sin6_port == s2->in6.sin6_port && in sockaddr_isequal() 263 IN6_ARE_ADDR_EQUAL(&s1->in6.sin6_addr, &s2->in6.sin6_addr)) in sockaddr_isequal() 277 return sizeof(addr->in6); in sa_len() 338 inet_ntop(AF_INET6, &addr->in6.sin6_addr, buf, ADDRSTRLEN); in prettyprint_addr() 339 port = ntohs(addr->in6.sin6_port); in prettyprint_addr()
|
D | forward.c | 143 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers() 174 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers() 356 (struct all_addr *)&start->addr.in6.sin6_addr, NULL); in forward_query() 490 serveraddr.in6.sin6_flowinfo = 0; in reply_query() 639 source_addr.in6.sin6_flowinfo = 0; in receive_query() 710 (struct all_addr *)&source_addr.in6.sin6_addr, types); in receive_query() 775 (struct all_addr *)&peer_addr.in6.sin6_addr, types); in tcp_request() 867 (struct all_addr *)&last_server->addr.in6.sin6_addr, NULL); in tcp_request()
|
D | option.c | 1363 else if (arg && inet_pton(AF_INET6, arg, &new->addr.in6.sin6_addr) > 0) in one_opt() 1366 new->addr.in6.sin6_flowinfo = 0; in one_opt() 1367 new->addr.in6.sin6_scope_id = 0; in one_opt() 1369 new->addr.in6.sin6_len = sizeof(new->addr.in6); in one_opt() 1477 else if (inet_pton(AF_INET6, arg, &newlist->addr.in6.sin6_addr) > 0) in one_opt() 1479 newlist->addr.in6.sin6_port = htons(serv_port); in one_opt() 1480 newlist->source_addr.in6.sin6_port = htons(source_port); in one_opt() 1483 newlist->addr.in6.sin6_len = newlist->source_addr.in6.sin6_len = sizeof(newlist->addr.in6); in one_opt() 1488 if (inet_pton(AF_INET6, source, &newlist->source_addr.in6.sin6_addr) == 0) in one_opt() 1491 newlist->source_addr.in6.sin6_addr = in6addr_any; in one_opt() [all …]
|
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/ |
D | synthesis-dct8.c | 93 double in4,in5,in6,in7; in float_dct2_8() local 101 in6 = FLOAT_SCALE(in[6], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in6)); in float_dct2_8() 105 L01 = (in1 + in6); OI_ASSERT(VALID_INT32(L01)); in float_dct2_8() 111 L06 = (in1 - in6); OI_ASSERT(VALID_INT32(L06)); in float_dct2_8() 218 OI_INT32 in4,in5,in6,in7; in dct2_8() local 227 in6 = SCALE(in[6], DCTII_8_SHIFT_IN); in dct2_8() 236 in6 = in[6]; in dct2_8() 241 L01 = in1 + in6; in dct2_8() 247 L06 = in1 - in6; in dct2_8()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | host_resolver_test.cc | 147 struct sockaddr_in6* in6; in TEST_F() local 177 in6 = (struct sockaddr_in6*)ai->ai_addr; in TEST_F() 178 ASSERT_EQ(expected_port, in6->sin6_port); in TEST_F() 179 ASSERT_EQ(AF_INET6, in6->sin6_family); in TEST_F() 180 ASSERT_EQ(0, memcmp(in6->sin6_addr.s6_addr, in TEST_F() 193 struct sockaddr_in6* in6; in TEST_F() local 220 in6 = (struct sockaddr_in6*)ai->ai_addr; in TEST_F() 221 ASSERT_EQ(expected_port, in6->sin6_port); in TEST_F() 222 ASSERT_EQ(AF_INET6, in6->sin6_family); in TEST_F() 223 ASSERT_EQ(0, memcmp(in6->sin6_addr.s6_addr, in TEST_F()
|
/external/qemu/android/ |
D | sockets.c | 237 struct sockaddr_in6 in6[1]; member 258 a->u.in6.port = port; in sock_address_init_in6() 259 memcpy( a->u.in6.address, ip6, sizeof(a->u.in6.address) ); in sock_address_init_in6() 389 buf = format_ip6( buf, end, a->u.in6.address ); in sock_address_to_string() 391 buf = format_unsigned( buf, end, (unsigned) a->u.in6.port ); in sock_address_to_string() 417 return (!memcmp(a->u.in6.address, b->u.in6.address, 16) && in sock_address_equal() 418 a->u.in6.port == b->u.in6.port); in sock_address_equal() 435 return a->u.in6.port; in sock_address_get_port() 449 a->u.in6.port = port; in sock_address_set_port() 492 const uint8_t* tab = a->u.in6.address; [all …]
|
/external/tcpdump/ |
D | print-icmp6.c | 550 struct in6_addr *in6; in icmp6_print() local 556 in6 = (struct in6_addr *)(dp + 1); in icmp6_print() 557 for (; (u_char *)in6 < cp; in6++) { in icmp6_print() 558 TCHECK(*in6); in icmp6_print() 559 printf(", %s", ip6addr_string(in6)); in icmp6_print() 680 struct in6_addr in6, *in6p; in icmp6_opt_print() local 776 memset(&in6, 0, sizeof(in6)); in icmp6_opt_print() 783 memcpy(&in6, opri + 1, 8); in icmp6_opt_print() 787 memcpy(&in6, opri + 1, sizeof(in6)); in icmp6_opt_print() 792 printf(" %s/%u", ip6addr_string(&in6), in icmp6_opt_print()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | host_resolver.cc | 193 sockaddr_in6* in6 = reinterpret_cast<sockaddr_in6*>(current->ai_addr); in gethostbyname() local 194 memcpy(*hostent_addr, &in6->sin6_addr.s6_addr, hostent_.h_length); in gethostbyname() 282 in6_addr in6; in getaddrinfo() local 283 if (inet_pton(AF_INET6, node, &in6)) { in getaddrinfo() 284 addr_in6.sin6_addr = in6; in getaddrinfo()
|
/external/iproute2/include/linux/ |
D | netfilter.h | 66 struct in6_addr in6; member
|
/external/iptables/include/linux/ |
D | netfilter.h | 66 struct in6_addr in6; member
|
/external/kernel-headers/original/uapi/linux/ |
D | netfilter.h | 70 struct in6_addr in6; member
|
/external/oprofile/module/ia64/ |
D | IA64syscallstub.h | 103 mov out7 = in6; \ 184 mov out6 = in6; \
|
/external/compiler-rt/test/dfsan/ |
D | custom.c | 543 struct in6_addr in6; in test_inet_pton() local 544 int ret6 = inet_pton(AF_INET6, addr6, &in6); in test_inet_pton() 546 ASSERT_READ_LABEL(((char *) &in6) + sizeof(in6) - 1, 1, j_label); in test_inet_pton()
|