/third_party/ltp/testcases/network/stress/multicast/grp-operation/ |
H A D | mcast-lib.sh | 31 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version) 32 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version) 33 SYSCTL_MLD_MAX_MSF=$(sysctl -b net.ipv6.mld_max_msf) 35 ROD sysctl -q -w net.ipv6.conf.all.force_mld_version=0 36 ROD sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=0 37 ROD sysctl -q -w net.ipv6.mld_max_msf=$default_mld_max_msf 77 [ -n "$SYSCTL_ALL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.all.force_mld_version=$SYSCTL_ALL_FORCE_MLD_VERSION 78 [ -n "$SYSCTL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=$SYSCTL_FORCE_MLD_VERSION 79 [ -n "$SYSCTL_MLD_MAX_MSF" ] && sysctl -q -w net.ipv6.mld_max_msf=$SYSCTL_MLD_MAX_MSF
|
/third_party/curl/tests/libtest/ |
H A D | libprereq.c | 28 int ipv6; member 39 if(prereq_cb->ipv6) { in prereq_callback() 61 prereq_cb.ipv6 = 0; in test() 67 if(strstr(URL, "#ipv6")) { in test() 69 prereq_cb.ipv6 = 1; in test()
|
/third_party/lwip/src/ |
H A D | Filelists.mk | 65 CORE6FILES=$(LWIPDIR)/core/ipv6/dhcp6.c \ 66 $(LWIPDIR)/core/ipv6/ethip6.c \ 67 $(LWIPDIR)/core/ipv6/icmp6.c \ 68 $(LWIPDIR)/core/ipv6/inet6.c \ 69 $(LWIPDIR)/core/ipv6/ip6.c \ 70 $(LWIPDIR)/core/ipv6/ip6_addr.c \ 71 $(LWIPDIR)/core/ipv6/ip6_frag.c \ 72 $(LWIPDIR)/core/ipv6/mld6.c \ 73 $(LWIPDIR)/core/ipv6/nd6.c
|
/third_party/curl/tests/ |
H A D | servers.pm | 332 if($server =~ /^(httptls)(\+)(ext|srp)(\d*)(-ipv6|)$/) { 452 if($server =~ /^(ftp|imap|pop3|smtp)s?(\d*)(-ipv6|)$/) { 462 if($server =~ /^(ftp|http|imap|pop3|smtp)s((\d*)(-ipv6|-unix|))$/) { 466 elsif($server =~ /^(ftp|http|imap|pop3|smtp)((\d*)(-ipv6|-unix|))$/) { 470 elsif($server =~ /^(socks)((\d*)(-ipv6|))$/) { 474 elsif($server =~ /^(ssh)((\d*)(-ipv6|))$/) { 1119 if($alt eq "ipv6") { 1412 my ($verb, $ipv6) = @_; 1414 my $ip = ($ipv6 && ($ipv6 [all...] |
H A D | serverhelp.pm | 107 /^((ftp|http|imap|pop3|smtp|http-pipe)s?)(\d*)(-ipv6|)$/) { 113 /^(tftp|sftp|socks|ssh|rtsp|gopher|httptls)(\d*)(-ipv6|)$/) { 137 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
|
/third_party/node/lib/internal/dns/ |
H A D | utils.js | 164 setLocalAddress(ipv4, ipv6) { 167 if (ipv6 !== undefined) { 168 validateString(ipv6, 'ipv6'); 171 this._handle.setLocalAddress(ipv4, ipv6); 174 this[kSnapshotStates].localAddress = { ipv4, ipv6 }; 191 const { ipv4, ipv6 } = localAddress; 192 this._handle.setLocalAddress(ipv4, ipv6);
|
/third_party/libwebsockets/lib/core-net/ |
H A D | network.c | 33 int ipv6 = 0; in interface_to_sa() local 36 ipv6 = LWS_IPV6_ENABLED(vh); in interface_to_sa() 40 return lws_interface_to_sa(ipv6, ifname, addr, addrlen); in interface_to_sa() 661 int sects = 0, ipv6 = !!strchr(ads, ':'), skip_point = -1, dm = 0; in lws_parse_numeric_address() local 669 if (!ipv6 && ts.len < 7) in lws_parse_numeric_address() 672 if (ipv6 && ts.len < 2) in lws_parse_numeric_address() 675 if (!ipv6 && max_len < 4) in lws_parse_numeric_address() 678 if (ipv6 && max_len < 16) in lws_parse_numeric_address() 681 if (ipv6) in lws_parse_numeric_address() 689 if (ipv6) { in lws_parse_numeric_address() [all...] |
/third_party/ltp/testcases/kernel/containers/netns/ |
H A D | netns_helper.sh | 26 # IP addresses of veth0 (IP0) and veth1 (IP1) devices (ipv4/ipv6 variant 43 # Adds "inet6 add" to the 'ifconfig' arguments which is required for the ipv6 53 # only if ipv6 variant of test case is used (determined by IP_VERSION argument). 63 # * IP_VERSION (ipv4|ipv6) 64 # Version of IP. (ipv4|ipv6) 131 ipv6) 145 tst_brk TBROK "second argument must be an ip version (ipv4|ipv6)" 219 # This applies only for ipv6 variant: 225 # with EADDRNOTAVAIL) which may cause problems for tests using ipv6. 227 tee /proc/sys/net/ipv6/con [all...] |
H A D | netns_lib.sh | 36 # Adds "inet6 add" to the 'ifconfig' arguments which is required for the ipv6 170 # This applies only for ipv6 variant: 176 # with EADDRNOTAVAIL) which may cause problems for tests using ipv6. 179 tee /proc/sys/net/ipv6/conf/veth0/accept_dad \ 180 /proc/sys/net/ipv6/conf/veth0/accept_ra >/dev/null 182 tee /proc/sys/net/ipv6/conf/veth1/accept_dad \ 183 /proc/sys/net/ipv6/conf/veth1/accept_ra >/dev/null
|
/third_party/libwebsockets/lib/core-net/client/ |
H A D | connect2.c | 48 if (wsi->ipv6) { in lws_getaddrinfo46() 282 * start off allowing ipv6 on connection if vhost allows it 284 wsi->ipv6 = LWS_IPV6_ENABLED(wsi->a.vhost); 291 if (wsi->ipv6 && iface && 294 wsi->ipv6 = 0;
|
/third_party/curl/lib/ |
H A D | noproxy.c | 77 UNITTEST bool Curl_cidr6_match(const char *ipv6, in Curl_cidr6_match() argument 92 if(1 != Curl_inet_pton(AF_INET6, ipv6, address)) in Curl_cidr6_match() 105 (void)ipv6; in Curl_cidr6_match()
|
H A D | noproxy.h | 35 UNITTEST bool Curl_cidr6_match(const char *ipv6,
|
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 250 if ( (sa1-> ipv6.sin6_port == sa2->ipv6.sin6_port) && in sa_is_equal() 251 (memcmp(&(sa1->ipv6.sin6_addr), &(sa2->ipv6.sin6_addr), sizeof(struct in6_addr)) == 0)) in sa_is_equal() 309 inet_ntop( AF_INET6, addr -> ipv6.sin6_addr.s6_addr, tmp_addr, sizeof(tmp_addr) ); in get_address_info() 311 if (IN6_IS_ADDR_LINKLOCAL( &(addr -> ipv6.sin6_addr) ) ) in get_address_info() 312 sprintf(addr_string, "[%s%%%d]", tmp_addr, addr -> ipv6.sin6_scope_id); in get_address_info() 314 *port = ntohs (addr->ipv6.sin6_port); in get_address_info() 442 /* if we only have a literal ipv6 address, we use the mac-address */ in determine_scanner_serial() 816 ( IN6_IS_ADDR_LINKLOCAL( &(scanner_sa -> ipv6 in get_scanner_name() [all...] |
H A D | pixma_bjnp_private.h | 202 } ipv6; member 331 struct sockaddr_in6 ipv6; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/ |
H A D | radius_server.c | 304 * ipv6 - Whether to enable IPv6 support in the RADIUS server 306 int ipv6; member 476 int ipv6) in radius_server_get_client() 482 if (ipv6) { in radius_server_get_client() 501 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == in radius_server_get_client() 1854 if (data->ipv6) { in radius_server_receive_auth() 1868 if (!data->ipv6) { in radius_server_receive_auth() 1986 if (data->ipv6) { in radius_server_receive_acct() 2000 if (!data->ipv6) { in radius_server_receive_acct() 2188 radius_server_read_clients(const char *client_file, int ipv6) in radius_server_read_clients() argument 475 radius_server_get_client(struct radius_server_data *data, struct in_addr *addr, int ipv6) radius_server_get_client() argument [all...] |
H A D | radius_server.h | 192 * ipv6 - Whether to enable IPv6 support in the RADIUS server 194 int ipv6; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/ |
H A D | radius_server.c | 164 * ipv6 - Whether to enable IPv6 support in the RADIUS server 166 int ipv6; member 333 int ipv6) in radius_server_get_client() 339 if (ipv6) { in radius_server_get_client() 358 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == in radius_server_get_client() 1687 if (data->ipv6) { in radius_server_receive_auth() 1701 if (!data->ipv6) { in radius_server_receive_auth() 1819 if (data->ipv6) { in radius_server_receive_acct() 1833 if (!data->ipv6) { in radius_server_receive_acct() 2021 radius_server_read_clients(const char *client_file, int ipv6) in radius_server_read_clients() argument 332 radius_server_get_client(struct radius_server_data *data, struct in_addr *addr, int ipv6) radius_server_get_client() argument [all...] |
H A D | radius_server.h | 57 * ipv6 - Whether to enable IPv6 support in the RADIUS server 59 int ipv6; member
|
/third_party/libwebsockets/plugins/raw-proxy/ |
H A D | protocol_lws_raw_proxy.c | 86 char ipv6; member 209 if (!strncmp(ts.token, "ipv6", ts.token_len)) in callback_raw_proxy() 210 vhd->ipv6 = 1; in callback_raw_proxy() 220 if (!vhd->ipv6) { in callback_raw_proxy() 242 vhd->ipv6 ? "ipv6": "ipv4", vhd->addr, vhd->port); in callback_raw_proxy() 247 " or ipv6:addr, not '%s'\n", __func__, cp); in callback_raw_proxy()
|
/third_party/nghttp2/src/ |
H A D | util.h | 789 auto ipv6 = ipv6_numeric_addr(host.c_str()); in make_hostport() local 793 if (ipv6) { in make_hostport() 799 if (ipv6) { in make_hostport() 825 auto ipv6 = ipv6_numeric_addr(host.c_str()); in make_http_hostport() local 828 if (ipv6) { in make_http_hostport() 834 if (ipv6) { in make_http_hostport()
|
/third_party/libwebsockets/lib/plat/freertos/ |
H A D | freertos-sockets.c | 199 /* cast a struct sockaddr_in6 * into addr for ipv6 */ 202 lws_interface_to_sa(int ipv6, const char *ifname, struct sockaddr_in *addr, in lws_interface_to_sa() argument 227 if (ipv6) { in lws_interface_to_sa()
|
/third_party/node/src/ |
H A D | node_sockaddr.cc | 87 const sockaddr_in6* ipv6 = in operator ()() local 90 reinterpret_cast<const uint64_t*>(&ipv6->sin6_addr); in operator ()() 91 hash_combine(&hash, ipv6->sin6_port, a[0], a[1]); in operator ()() 141 const SocketAddress& ipv6) { in is_match_ipv4_ipv6() 145 reinterpret_cast<const sockaddr_in6*>(ipv6.data()); in is_match_ipv4_ipv6() 191 const SocketAddress& ipv6) { in compare_ipv4_ipv6() 195 reinterpret_cast<const sockaddr_in6*>(ipv6.data()); in compare_ipv4_ipv6() 139 is_match_ipv4_ipv6( const SocketAddress& ipv4, const SocketAddress& ipv6) is_match_ipv4_ipv6() argument 189 compare_ipv4_ipv6( const SocketAddress& ipv4, const SocketAddress& ipv6) compare_ipv4_ipv6() argument
|
H A D | inspector_socket.cc | 192 unsigned char ipv6[sizeof(struct in6_addr)]; in IsIPAddress() local 193 if (uv_inet_pton(AF_INET6, ipv6_str, ipv6) != 0) return false; in IsIPAddress() 204 if (std::all_of(ipv6, ipv6 + sizeof(ipv6), [](auto b) { return b == 0; })) { in IsIPAddress()
|
/third_party/alsa-utils/seq/aseqnet/ |
H A D | aseqnet.c | 78 static int ipv6 = 0; variable 88 {"ipv6", 0, NULL, '6'}, 114 ipv6 = 1; in main() 177 printf(_(" -6,--ipv6 : use IPv6 TCP protocol\n")); in usage() 357 hints.ai_family = ipv6 ? AF_INET6 : AF_INET; in init_server()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-sockets.c | 285 /* cast a struct sockaddr_in6 * into addr for ipv6 */ 291 /* ipv6 scopes */ 296 lws_interface_to_sa(int ipv6, const char *ifname, struct sockaddr_in *addr, in lws_interface_to_sa() argument 319 lwsl_debug(" interface %s vs %s (fam %d) ipv6 %d\n", in lws_interface_to_sa() 321 ifc->ifa_addr->sa_family, ipv6); in lws_interface_to_sa() 337 if (ipv6) { in lws_interface_to_sa() 351 lwsl_debug("%s: uplevelling ipv4 bind to ipv6\n", __func__); in lws_interface_to_sa()
|