/external/ltp/testcases/network/stress/multicast/query-flood/ |
mcast6-queryfld04 | 28 # Verify that the kernel is not crashed when joining plural IPv6 multicast 69 # Network portion of the IPv6 address 72 # Host portion of the IPv6 address 129 # Set IPv6 addresses to the interfaces 142 # IPv6 address of the local/remote host 150 tst_resm TBROK "There is no IPv6 connectivity." 155 sysctl -w net.ipv6.conf.all.force_mld_version=0 >/dev/null 161 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null 162 sysctl -w net.ipv6.mld_max_msf=10 >/dev/null 173 tst_resm TINFO "Verify that the kernel is not crashed when joining $MCASTNUM_NORMAL IPv6 multicast groups on separate sockets, then receiving a large number of General Query in $NS_DURATI (…) [all...] |
mcast6-queryfld05 | 28 # Verify that the kernel is not crashed when joining joining plural IPv6 70 # Network portion of the IPv6 address 73 # Host portion of the IPv6 address 129 # Set IPv6 addresses to the interfaces 142 # IPv6 address of the local/remote host 150 tst_resm TBROK "There is no IPv6 connectivity." 155 sysctl -w net.ipv6.conf.all.force_mld_version=0 >/dev/null 161 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null 162 sysctl -w net.ipv6.mld_max_msf=10 >/dev/null 173 tst_resm TINFO "Verify that the kernel is not crashed when joining $MCASTNUM_NORMAL IPv6 multicast groups on separate sockets, then receiving a large number of Multicast Address Specific (…) [all...] |
mcast6-queryfld06 | 28 # Verify that the kernel is not crashed when joining joining plural IPv6 70 # Network portion of the IPv6 address 73 # Host portion of the IPv6 address 135 # Set IPv6 addresses to the interfaces 148 # IPv6 address of the local/remote host 156 tst_resm TBROK "There is no IPv6 connectivity." 161 sysctl -w net.ipv6.conf.all.force_mld_version=0 >/dev/null 167 sysctl -w net.ipv6.conf.${lhost_ifname}.force_mld_version=0 >/dev/null 168 sysctl -w net.ipv6.mld_max_msf=10 >/dev/null 179 tst_resm TINFO "Verify that the kernel is not crashed when joining $MCASTNUM_NORMAL IPv6 multicast groups on separate sockets, then receiving a large number of Multicast Address and Sourc (…) [all...] |
/external/iptables/extensions/ |
libip6t_DNAT.c | 4 * Based on Rusty Russell's IPv4 DNAT target. Development of IPv6 NAT 59 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 153 if (entry->ipv6.proto == IPPROTO_TCP || 154 entry->ipv6.proto == IPPROTO_UDP || 155 entry->ipv6.proto == IPPROTO_SCTP || 156 entry->ipv6.proto == IPPROTO_DCCP || 157 entry->ipv6.proto == IPPROTO_ICMP)
|
libip6t_SNAT.c | 4 * Based on Rusty Russell's IPv4 SNAT target. Development of IPv6 NAT 62 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 156 if (entry->ipv6.proto == IPPROTO_TCP || 157 entry->ipv6.proto == IPPROTO_UDP || 158 entry->ipv6.proto == IPPROTO_SCTP || 159 entry->ipv6.proto == IPPROTO_DCCP || 160 entry->ipv6.proto == IPPROTO_ICMP)
|
/external/ltp/testcases/kernel/containers/netns/ |
netns_helper.sh | 39 # IP addresses of veth0 (IP0) and veth1 (IP1) devices (ipv4/ipv6 variant 56 # Adds "inet6 add" to the 'ifconfig' arguments which is required for the ipv6 86 # only if ipv6 variant of test case is used (determined by IP_VERSION argument). 96 # * IP_VERSION (ipv4|ipv6) 97 # Version of IP. (ipv4|ipv6) 107 # IPv6 addresses for veth0 and veth1 devices. 155 tst_brkm TBROK "sixth argument must be the IPv6 address for veth0" 158 tst_brkm TBROK "seventh argument must be the IPv6 address for veth1" 166 ipv6) 172 tst_brkm TBROK "second argument must be an ip version (ipv4|ipv6)" [all...] |
/prebuilts/go/darwin-x86/src/net/ |
iprawsock_test.go | 15 // golang.org/x/net/ipv6 32 {"ip6:ipv6-icmp", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, 33 {"ip6:IPv6-ICMP", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, 51 {"ip6:ipv6-icmp", "127.0.0.1", nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: "127.0.0.1"}}, 52 {"ip6:ipv6-icmp", "::ffff:127.0.0.1", nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: "::ffff:127.0.0.1"}},
|
interface_test.go | 30 // ipv6LinkLocalUnicastAddr returns an IPv6 link-local unicast address 121 uniStats.ipv6 += stats.ipv6 153 multiStats.ipv6 += stats.ipv6 180 ipv4, ipv6 int // # of active connected unicast, anycast or multicast routes 184 // Note: BSD variants allow assigning any IPv4/IPv6 address 198 return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa) 217 stats.ipv6+ [all...] |
hosts_test.go | 46 "testdata/ipv6-hosts", // see golang.org/issue/8996 113 "testdata/ipv6-hosts", // see golang.org/issue/8996 166 testHookHostsPath = "testdata/ipv6-hosts"
|
/prebuilts/go/linux-x86/src/net/ |
iprawsock_test.go | 15 // golang.org/x/net/ipv6 32 {"ip6:ipv6-icmp", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, 33 {"ip6:IPv6-ICMP", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, 51 {"ip6:ipv6-icmp", "127.0.0.1", nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: "127.0.0.1"}}, 52 {"ip6:ipv6-icmp", "::ffff:127.0.0.1", nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: "::ffff:127.0.0.1"}},
|
interface_test.go | 30 // ipv6LinkLocalUnicastAddr returns an IPv6 link-local unicast address 121 uniStats.ipv6 += stats.ipv6 153 multiStats.ipv6 += stats.ipv6 180 ipv4, ipv6 int // # of active connected unicast, anycast or multicast routes 184 // Note: BSD variants allow assigning any IPv4/IPv6 address 198 return nil, fmt.Errorf("should be internal representation either IPv6 or IPv4-mapped IPv6 address: %#v", ifa) 217 stats.ipv6+ [all...] |
hosts_test.go | 46 "testdata/ipv6-hosts", // see golang.org/issue/8996 113 "testdata/ipv6-hosts", // see golang.org/issue/8996 166 testHookHostsPath = "testdata/ipv6-hosts"
|
/external/dhcpcd-6.8.2/ |
ipv6nd.c | 50 #include "ipv6.h" 82 /* Minimal IPv6 MTU */ 164 ctx = dctx->ipv6; 282 ctx = ifp->ctx->ipv6; 313 "%s: no IPv6 Routers available", ifp->name); 327 TAILQ_FOREACH(rap, ifp->ctx->ipv6->ra_routers, next) { 387 if (ctx->ipv6) { 388 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) { 416 if (ctx->ipv6 == NULL) 419 TAILQ_FOREACH(rap, ctx->ipv6->ra_routers, next) [all...] |
/external/ltp/testcases/lib/ |
test_net.sh | 148 # Blank for an IPV4 test; 6 for an IPV6 test. 273 local ipv6= 275 [ $? -eq 0 ] && ipv6=6 276 tst_resm TINFO "run ping${ipv6} test with rhost '$ip_addr'..." 278 res=$(ping${ipv6} -f -c $client_requests $ip_addr -w 600 2>&1) 284 port=$(tst_rhost_run -c 'tst_get_unused_port ipv6 stream') 321 # DST ADDR: destination IPv4 or IPv6 address 379 # Reverse network portion of the IPv6 address 381 # Reverse host portion of the IPv6 address of the local host 383 # Reverse host portion of the IPv6 address of the remote hos [all...] |
/system/core/adb/ |
test_adb.py | 211 """Ensure that `adb connect localhost:1234` will try both IPv4 and IPv6. 219 ipv6 = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) 220 ipv6.bind(('::1', ipv4.getsockname()[1] + 1)) 221 ipv6.listen(1) 223 for s in (ipv4, ipv6):
|
/external/curl/tests/ |
runtests.pl | 122 my $HTTP6PORT; # HTTP IPv6 server port 127 my $FTP6PORT; # FTP IPv6 server port 133 my $POP36PORT; # POP3 IPv6 server port 135 my $IMAP6PORT; # IMAP IPv6 server port 137 my $SMTP6PORT; # SMTP IPv6 server port 139 my $RTSP6PORT; # RTSP IPv6 server port 141 my $GOPHER6PORT; # Gopher IPv6 server port 143 my $HTTPTLS6PORT; # HTTP TLS (non-stunnel) IPv6 server port 208 my $http_ipv6; # set if HTTP server has IPv6 support 210 my $ftp_ipv6; # set if FTP server has IPv6 suppor [all...] |
/kernel/tests/net/test/ |
ping6_test.py | 113 src = packet.getlayer(scapy.IPv6).src 115 scapy.IPv6(src=self.INTERMEDIATE_IPV6, dst=src) / 120 src = packet.getlayer(scapy.IPv6).src 123 scapy.IPv6(src=self.INTERMEDIATE_IPV6, dst=src) / 148 def IPv6Packet(self, ipv6): 149 icmpv6 = ipv6.getlayer(scapy.ICMPv6EchoRequest) 152 if (ipv6.nh != IPPROTO_ICMPV6 or 159 if not self.ChecksumValid(ipv6): 162 if ipv6.dst.startswith("ff02::"): 163 ipv6.dst = ipv6.sr [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius_server.c | 285 * ipv6 - Whether to enable IPv6 support in the RADIUS server 287 int ipv6; member in struct:radius_server_data 416 int ipv6) 422 if (ipv6) { 441 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == 1223 if (data->ipv6) { [all...] |
/external/ltp/testcases/network/stress/route/ |
route6-redirect | 54 tst_resm TINFO "Verify the kernel is not crashed when the IPv6 route is modified by ICMP Redirects frequently" 69 # Network portion of the IPv6 address 75 # Host portion of the IPv6 address 114 # rhost_ipv6addr - IPv6 Address of the remote host 142 # Assign IPv6 address to the interface of the local host 145 tst_resm TBROK "Failed to assign an IPv6 address at the local host" 153 sysctl -w net.ipv6.conf.${lhost_ifname}.accept_redirects=1 >/dev/null
|
/external/iptables/iptables/ |
xtables.c | 99 {.name = "ipv6", .has_arg = 0, .val = '6'}, 222 " --ipv6 -6 Error (line is ignored by iptables-restore)\n" 439 memcpy(&cs->fw6.ipv6.src, 441 memcpy(&cs->fw6.ipv6.smsk, 444 memcpy(&cs->fw6.ipv6.dst, 446 memcpy(&cs->fw6.ipv6.dmsk, 479 memcpy(&cs->fw6.ipv6.src, s.addr.v6, sizeof(struct in6_addr)); 480 memcpy(&cs->fw6.ipv6.dst, d.addr.v6, sizeof(struct in6_addr)); 481 memcpy(&cs->fw6.ipv6.smsk, s.mask.v6, sizeof(struct in6_addr)); 482 memcpy(&cs->fw6.ipv6.dmsk, d.mask.v6, sizeof(struct in6_addr)) [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 304 unsigned int ipv4, char* ipv6) : 307 if (NULL == ipv6) { 310 memcpy(mIPv6Addr, ipv6, sizeof(mIPv6Addr));
|
/external/android-clat/ |
clatd.c | 58 /* 40 bytes IPv6 header - 20 bytes IPv4 header + 8 bytes fragment header */ 79 .sll_pkttype = PACKET_OTHERHOST, // The 464xlat IPv6 address is not assigned to the kernel. 86 uint32_t *ipv6 = Global_Clatd_Config.ipv6_local_subnet.s6_addr32; local 88 // Load the first four bytes of the IPv6 destination address (starts 24 bytes in). 89 // Compare it against the first four bytes of our IPv6 address, in host byte order (BPF loads 92 // three words of the IPv6 address, and if they all match, return PACKETLEN (accept packet). 94 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[0]), 0, 7), 96 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[1]), 0, 5), 98 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[2]), 0, 3), 100 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[3]), 0, 1) [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 305 unsigned int ipv4, char* ipv6) : 308 if (NULL == ipv6) { 311 memcpy(mIPv6Addr, ipv6, sizeof(mIPv6Addr));
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 305 unsigned int ipv4, char* ipv6) : 308 if (NULL == ipv6) { 311 memcpy(mIPv6Addr, ipv6, sizeof(mIPv6Addr));
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 305 unsigned int ipv4, char* ipv6) : 308 if (NULL == ipv6) { 311 memcpy(mIPv6Addr, ipv6, sizeof(mIPv6Addr));
|