Home
last modified time | relevance | path

Searched refs:ipv6 (Results 1 – 25 of 198) sorted by relevance

12345678

/external/avahi/avahi-common/
Daddress.c84 a->data.ipv6.address[15] & 0xF, a->data.ipv6.address[15] >> 4, in avahi_reverse_lookup_name()
85 a->data.ipv6.address[14] & 0xF, a->data.ipv6.address[14] >> 4, in avahi_reverse_lookup_name()
86 a->data.ipv6.address[13] & 0xF, a->data.ipv6.address[13] >> 4, in avahi_reverse_lookup_name()
87 a->data.ipv6.address[12] & 0xF, a->data.ipv6.address[12] >> 4, in avahi_reverse_lookup_name()
88 a->data.ipv6.address[11] & 0xF, a->data.ipv6.address[11] >> 4, in avahi_reverse_lookup_name()
89 a->data.ipv6.address[10] & 0xF, a->data.ipv6.address[10] >> 4, in avahi_reverse_lookup_name()
90 a->data.ipv6.address[ 9] & 0xF, a->data.ipv6.address[ 9] >> 4, in avahi_reverse_lookup_name()
91 a->data.ipv6.address[ 8] & 0xF, a->data.ipv6.address[ 8] >> 4, in avahi_reverse_lookup_name()
92 a->data.ipv6.address[ 7] & 0xF, a->data.ipv6.address[ 7] >> 4, in avahi_reverse_lookup_name()
93 a->data.ipv6.address[ 6] & 0xF, a->data.ipv6.address[ 6] >> 4, in avahi_reverse_lookup_name()
[all …]
/external/iptables/libiptc/
Dlibip6tc.c142 inet_ntop(AF_INET6, &e->ipv6.src, buf, sizeof buf); in dump_entry()
145 len = ipv6_prefix_length(&e->ipv6.smsk); in dump_entry()
149 inet_ntop(AF_INET6, &e->ipv6.smsk, buf, sizeof buf); in dump_entry()
155 inet_ntop(AF_INET6, &e->ipv6.dst, buf, sizeof buf); in dump_entry()
158 len = ipv6_prefix_length(&e->ipv6.dmsk); in dump_entry()
162 inet_ntop(AF_INET6, &e->ipv6.dmsk, buf, sizeof buf); in dump_entry()
167 printf("Interface: `%s'/", e->ipv6.iniface); in dump_entry()
169 printf("%c", e->ipv6.iniface_mask[i] ? 'X' : '.'); in dump_entry()
170 printf("to `%s'/", e->ipv6.outiface); in dump_entry()
172 printf("%c", e->ipv6.outiface_mask[i] ? 'X' : '.'); in dump_entry()
[all …]
/external/webrtc/webrtc/base/
Dwin32_unittest.cc63 IPAddress ipv6; in TEST_F() local
67 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:252", &ipv6)); in TEST_F()
68 EXPECT_EQ("2a00:8a00:a000:1190::1:0:252", ipv6.ToString()); in TEST_F()
71 ASSERT_TRUE(IPFromString("0:0:0:0:0:0:0:1", &ipv6)); in TEST_F()
72 EXPECT_EQ("::1", ipv6.ToString()); in TEST_F()
75 ASSERT_TRUE(IPFromString("fe80:0:0:0:2aa:ff:fe9a:4ca2", &ipv6)); in TEST_F()
76 EXPECT_EQ("fe80::2aa:ff:fe9a:4ca2", ipv6.ToString()); in TEST_F()
79 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:00", &ipv6)); in TEST_F()
80 EXPECT_EQ("2a00:8a00:a000:1190:0:1::", ipv6.ToString()); in TEST_F()
83 ASSERT_TRUE(IPFromString("0:0:000:1190:0000:0001:000:00", &ipv6)); in TEST_F()
[all …]
/external/iptables/iptables/
Dip6tables.c535 fputc(fw->ipv6.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
537 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall()
541 printf(FMT("%-5hu", "%hu "), fw->ipv6.proto); in print_firewall()
555 if (fw->ipv6.invflags & IP6T_INV_VIA_IN) { in print_firewall()
561 if (fw->ipv6.iniface[0] != '\0') { in print_firewall()
562 strcat(iface, fw->ipv6.iniface); in print_firewall()
568 if (fw->ipv6.invflags & IP6T_INV_VIA_OUT) { in print_firewall()
574 if (fw->ipv6.outiface[0] != '\0') { in print_firewall()
575 strcat(iface, fw->ipv6.outiface); in print_firewall()
582 fputc(fw->ipv6.invflags & IP6T_INV_SRCIP ? '!' : ' ', stdout); in print_firewall()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/
Dipaddr_test.py36 self.ipv6 = ipaddr.IPv6Network('2001:658:22a:cafe:200:0:0:1/64')
41 del(self.ipv6)
167 self.assertEqual(int(self.ipv6.network),
169 self.assertEqual(str(self.ipv6.network),
171 self.assertEqual(str(self.ipv6.hostmask),
224 ipv6 = ipaddr.IPNetwork('2001:658:22a:cafe:200:0:0:1')
226 self.assertEqual(ipv6, ipaddr.IPNetwork(int(ipv6)))
229 self.assertEqual(self.ipv6.ip, ipaddr.IPv6Network(v6_int).ip)
236 self.assertEqual(ipaddr.IPNetwork(self.ipv6.ip).version, 6)
247 self.assertEqual(self.ipv6.ip,
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dinet.py21 import dns.ipv6
52 return dns.ipv6.inet_aton(text)
70 return dns.ipv6.inet_ntoa(address)
87 junk = dns.ipv6.inet_aton(text)
104 first = ord(dns.ipv6.inet_aton(text)[0])
Dreversename.py25 import dns.ipv6
40 parts = list(dns.ipv6.inet_aton(text).encode('hex_codec'))
73 return dns.ipv6.inet_ntoa(dns.ipv6.inet_aton(text))
/external/avahi/avahi-core/
Daddr-util.c44 …memcpy(&ret_addr->data.ipv6, &((const struct sockaddr_in6*) sa)->sin6_addr, sizeof(ret_addr->data. in avahi_address_from_sockaddr()
73 return memcmp(a->data.ipv6.address, ipv4_in_ipv6, sizeof(ipv4_in_ipv6)) == 0; in avahi_address_is_ipv4_in_ipv6()
89 unsigned n = (a->data.ipv6.address[0] << 8) | (a->data.ipv6.address[1] << 0); in avahi_address_is_link_local()
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress.ipp43 : type_(ipv6),
89 type_ = ipv6;
107 if (type_ != ipv6)
117 if (type_ == ipv6)
124 if (type_ == ipv6)
144 tmp.type_ = ipv6;
198 if (a1.type_ == address::ipv6)
209 if (a1.type_ == address::ipv6)
/external/iptables/extensions/
Dlibip6t_MASQUERADE.c79 if (entry->ipv6.proto == IPPROTO_TCP || in MASQUERADE_parse()
80 entry->ipv6.proto == IPPROTO_UDP || in MASQUERADE_parse()
81 entry->ipv6.proto == IPPROTO_SCTP || in MASQUERADE_parse()
82 entry->ipv6.proto == IPPROTO_DCCP || in MASQUERADE_parse()
83 entry->ipv6.proto == IPPROTO_ICMP) in MASQUERADE_parse()
Dlibip6t_REDIRECT.c80 if (entry->ipv6.proto == IPPROTO_TCP in REDIRECT_parse()
81 || entry->ipv6.proto == IPPROTO_UDP in REDIRECT_parse()
82 || entry->ipv6.proto == IPPROTO_SCTP in REDIRECT_parse()
83 || entry->ipv6.proto == IPPROTO_DCCP in REDIRECT_parse()
84 || entry->ipv6.proto == IPPROTO_ICMP) in REDIRECT_parse()
Dlibip6t_SNAT.c153 if (entry->ipv6.proto == IPPROTO_TCP || in SNAT_parse()
154 entry->ipv6.proto == IPPROTO_UDP || in SNAT_parse()
155 entry->ipv6.proto == IPPROTO_SCTP || in SNAT_parse()
156 entry->ipv6.proto == IPPROTO_DCCP || in SNAT_parse()
157 entry->ipv6.proto == IPPROTO_ICMP) in SNAT_parse()
Dlibip6t_DNAT.c153 if (entry->ipv6.proto == IPPROTO_TCP || in DNAT_parse()
154 entry->ipv6.proto == IPPROTO_UDP || in DNAT_parse()
155 entry->ipv6.proto == IPPROTO_SCTP || in DNAT_parse()
156 entry->ipv6.proto == IPPROTO_DCCP || in DNAT_parse()
157 entry->ipv6.proto == IPPROTO_ICMP) in DNAT_parse()
/external/android-clat/
DBUGS3 - assumes the handset has its own (routed) /64 ipv6 subnet
4 - assumes the /128 ipv6 subnet it generates can use the nat64 gateway
5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
/external/curl/tests/data/
Dtest12034 GOPHER-ipv6
23 ipv6
26 gopher-ipv6
Dtest24127 ipv6
30 http-ipv6
39 ./server/resolve --ipv6 ip6-localhost
Dtest108330 ipv6
33 http-ipv6
42 …quires default test server host address';} else {exec './server/resolve --ipv6 ip6-localhost'; pri…
Dtest2534 FTP-ipv6
33 ipv6
36 ftp-ipv6
Dtest2524 FTP-ipv6
33 ipv6
36 ftp-ipv6
Dtest2544 FTP-ipv6
34 ipv6
37 ftp-ipv6
Dtest2554 FTP-ipv6
34 ipv6
37 ftp-ipv6
Dtest10485 FTP-ipv6
38 ipv6
41 ftp-ipv6
Dtest10505 FTP-ipv6
33 ipv6
36 ftp-ipv6
/external/dhcpcd-6.8.2/
Dipv6nd.c164 ctx = dctx->ipv6; in ipv6nd_open()
282 ctx = ifp->ctx->ipv6; in ipv6nd_sendrsprobe()
327 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { in ipv6nd_expire()
387 if (ctx->ipv6) { in ipv6nd_neighbour()
388 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { in ipv6nd_neighbour()
416 if (ctx->ipv6 == NULL) in ipv6nd_findaddr()
419 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { in ipv6nd_findaddr()
441 TAILQ_REMOVE(rap->iface->ctx->ipv6->ra_routers, rap, next); in ipv6nd_freedrop_ra()
464 TAILQ_FOREACH_SAFE(rap, ifp->ctx->ipv6->ra_routers, next, ran) { in ipv6nd_free()
479 if (ctx->ipv6->nd_fd != -1) { in ipv6nd_free()
[all …]
/external/curl/tests/
Druntests.pl1367 my ($verbose, $ipv6, $certfile) = @_;
1369 my $ip = ($ipv6 && ($ipv6 =~ /6$/)) ? "$HOST6IP" : "$HOSTIP";
1370 my $ipvnum = ($ipv6 && ($ipv6 =~ /6$/)) ? 6 : 4;
1450 my ($verbose, $ipv6) = @_;
1452 my $port = ($ipv6 && ($ipv6 =~ /6$/)) ? $HTTPTLS6PORT : $HTTPTLSPORT;
1453 my $ip = ($ipv6 && ($ipv6 =~ /6$/)) ? "$HOST6IP" : "$HOSTIP";
1454 my $ipvnum = ($ipv6 && ($ipv6 =~ /6$/)) ? 6 : 4;
1529 my ($proto, $id, $verbose, $ipv6) = @_;
1531 my $ip = ($ipv6 && ($ipv6 =~ /6$/)) ? "$HOST6IP" : "$HOSTIP";
1532 my $ipvnum = ($ipv6 && ($ipv6 =~ /6$/)) ? 6 : 4;
[all …]

12345678