Home
last modified time | relevance | path

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

123

/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/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/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()
Dlibip6t_icmp6.man1 This extension can be used if `\-\-protocol ipv6\-icmp' or `\-\-protocol icmpv6' is
13 ip6tables \-p ipv6\-icmp \-h
Dlibxt_multiport.c207 entry->ipv6.proto, entry->ipv6.invflags); in multiport_parse6()
249 entry->ipv6.proto, entry->ipv6.invflags); in multiport_parse6_v1()
Dlibip6t_mh.man1 This extension is loaded if `\-\-protocol ipv6\-mh' or `\-\-protocol mh' is
Dlibip6t_DNPT.man26 sysctl -w net.ipv6.conf.all.proxy_ndp=1
Dlibip6t_SNPT.man26 sysctl -w net.ipv6.conf.all.proxy_ndp=1
/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 …
DAndroid.mk4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c loggin…
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c
Dclatd.c122 uint32_t *ipv6 = Global_Clatd_Config.ipv6_local_subnet.s6_addr32; in configure_packet_socket() local
130 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[0]), 0, 7), in configure_packet_socket()
132 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[1]), 0, 5), in configure_packet_socket()
134 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[2]), 0, 3), in configure_packet_socket()
136 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[3]), 0, 1), in configure_packet_socket()
/external/chromium_org/ppapi/tests/
Dtest_network_monitor.cc94 PP_NetAddress_IPv6 ipv6; in VerifyNetworkList() local
95 ASSERT_TRUE(addresses[i].DescribeAsIPv6Address(&ipv6)); in VerifyNetworkList()
99 for (size_t j = 0; j < sizeof(ipv6.addr); ++j) { in VerifyNetworkList()
100 if (ipv6.addr[j] != 0) { in VerifyNetworkList()
108 ASSERT_TRUE(ipv6.port == 0); in VerifyNetworkList()
Dtest_net_address_private.cc238 PP_NetAddress_Private ipv6 = MakeIPv6NetAddress(ipv6_address, 123, 0); in TestGetFamily() local
239 ASSERT_EQ(NetAddressPrivate::GetFamily(ipv6), in TestGetFamily()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c266 int ipv6; member
395 int ipv6) in radius_server_get_client() argument
401 if (ipv6) { in radius_server_get_client()
420 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == in radius_server_get_client()
1200 if (data->ipv6) { in radius_server_receive_auth()
1214 if (!data->ipv6) { in radius_server_receive_auth()
1312 if (data->ipv6) { in radius_server_receive_acct()
1326 if (!data->ipv6) { in radius_server_receive_acct()
1512 radius_server_read_clients(const char *client_file, int ipv6) in radius_server_read_clients() argument
1571 (mask < 0 || mask > (ipv6 ? 128 : 32))) { in radius_server_read_clients()
[all …]
Dradius_server.h173 int ipv6; member
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dsocket_node.cc153 PP_NetAddress_IPv6 ipv6; in ResourceToSockAddr() local
167 if (PP_TRUE == NetInterface()->DescribeAsIPv6Address(addr, &ipv6)) { in ResourceToSockAddr()
170 addr6.sin6_port = ipv6.port; in ResourceToSockAddr()
171 memcpy(&addr6.sin6_addr, ipv6.addr, sizeof(ipv6.addr)); in ResourceToSockAddr()
/external/chromium_org/chromeos/network/
Dhost_resolver_impl_chromeos.cc175 net::IPAddressNumber ipv6; in ResolveLocalIPAddress() local
176 if (net::ParseIPLiteralToNumber(ipv6_address_, &ipv6)) in ResolveLocalIPAddress()
177 addresses->push_back(net::IPEndPoint(ipv6, 0)); in ResolveLocalIPAddress()
/external/tcpdump/
Dconfigure.in210 AC_MSG_CHECKING([whether to enable ipv6])
211 AC_ARG_ENABLE(ipv6, optenable
212 [ --enable-ipv6 enable ipv6 (with ipv4) support
213 --disable-ipv6 disable ipv6 support],
218 ipv6=yes
222 ipv6=no
247 ipv6=yes],
249 ipv6=no],
251 ipv6=no]
258 if test "$ipv6" = "yes"; then
[all …]
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter.cc837 net::IPAddressNumber ipv6; in StartDnsServer() local
845 ipv6 = GetLocalIp("", true); in StartDnsServer()
849 if (ipv4.empty() && ipv6.empty()) { in StartDnsServer()
858 VLOG_IF(0, !ipv6.empty()) in StartDnsServer()
859 << "Local IPv6 address: " << net::IPAddressToStringWithPort(ipv6, port); in StartDnsServer()
879 ipv6, in StartDnsServer()
/external/chromium_org/net/base/
Dip_endpoint_unittest.cc24 bool ipv6; member
85 socklen_t expected_size = tests[index].ipv6 ? in TEST_F()
/external/chromium_org/chromeos/dbus/
Dfake_debug_daemon_client.h33 bool ipv6,
/external/fio/
Dconfigure1099 ipv6="no"
1120 ipv6="yes"
1122 echo "IPv6 helpers $ipv6"
1316 if test "$ipv6" = "yes" ; then

123