/third_party/ltp/testcases/network/stress/multicast/grp-operation/ |
H A D | mcast-lib.sh | 13 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships) 14 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf) 15 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version) 16 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version) 19 "\$1 shouldn't be set higher than 5459 as it's used to set /proc/sys/net/ipv4/igmp_max_memberships" 21 ROD sysctl -q -w net.ipv4.igmp_max_memberships=$igmp_max_memberships 22 ROD sysctl -q -w net.ipv4.igmp_max_msf=10 23 ROD sysctl -q -w net.ipv4.conf.$(tst_iface).force_igmp_version=0 24 ROD sysctl -q -w net.ipv4.conf.all.force_igmp_version=0 69 [ -n "$SYSFS_IGMP_MAX_MEMBERSHIPS" ] && sysctl -q -w net.ipv4 [all...] |
/third_party/libwebsockets/lib/plat/freertos/ |
H A D | freertos-resolv.c | 31 uint32_t ipv4; in lws_plat_asyncdns_init() local 34 FreeRTOS_GetAddressConfiguration(NULL, NULL, NULL, &ipv4); in lws_plat_asyncdns_init() 37 if (sa46->sa4.sin_addr.s_addr == ipv4) in lws_plat_asyncdns_init() 40 sa46->sa4.sin_addr.s_addr = ipv4; in lws_plat_asyncdns_init()
|
/third_party/ltp/testcases/network/stress/tcp/uni-basic/ |
H A D | tcp4-uni-basic01 | 149 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null 2>&1 152 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null 2>&1 155 sysctl -w net.ipv4.tcp_sack=1 >/dev/null 2>&1 264 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null 270 sysctl -w net.ipv4.tcp_window_scaling=0 >/dev/null 2>&1 275 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null 281 sysctl -w net.ipv4.tcp_dsack=0 >/dev/null 2>&1 286 sysctl -w net.ipv4.tcp_sack=1 >/dev/null 292 sysctl -w net.ipv4.tcp_sack=0 >/dev/null 2>&1
|
/third_party/lwip/src/ |
H A D | Filelists.mk | 56 CORE4FILES=$(LWIPDIR)/core/ipv4/autoip.c \ 57 $(LWIPDIR)/core/ipv4/dhcp.c \ 58 $(LWIPDIR)/core/ipv4/etharp.c \ 59 $(LWIPDIR)/core/ipv4/icmp.c \ 60 $(LWIPDIR)/core/ipv4/igmp.c \ 61 $(LWIPDIR)/core/ipv4/ip4_frag.c \ 62 $(LWIPDIR)/core/ipv4/ip4.c \ 63 $(LWIPDIR)/core/ipv4/ip4_addr.c
|
/third_party/node/lib/internal/dns/ |
H A D | utils.js | 164 setLocalAddress(ipv4, ipv6) { 165 validateString(ipv4, 'ipv4'); 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/curl/lib/ |
H A D | noproxy.c | 45 UNITTEST bool Curl_cidr4_match(const char *ipv4, /* 1.2.3.4 address */ in Curl_cidr4_match() argument 56 if(1 != Curl_inet_pton(AF_INET, ipv4, &address)) in Curl_cidr4_match() 67 ipv4, haddr, network, hcheck, bits, mask, in Curl_cidr4_match()
|
H A D | noproxy.h | 32 UNITTEST bool Curl_cidr4_match(const char *ipv4, /* 1.2.3.4 address */
|
H A D | hostip.c | 572 unsigned int ipv4; in get_localhost() local 579 if(Curl_inet_pton(AF_INET, "127.0.0.1", (char *)&ipv4) < 1) in get_localhost() 581 memcpy(&sa.sin_addr, &ipv4, sizeof(ipv4)); in get_localhost()
|
/third_party/ltp/testcases/network/tcp_cc/ |
H A D | tcp_cc_lib.sh | 22 tst_set_sysctl net.ipv4.tcp_congestion_control $alg safe 30 tst_set_sysctl net.ipv4.tcp_congestion_control $prev_alg 41 local proc_cc="/proc/sys/net/ipv4/tcp_available_congestion_control" 56 prev_alg="$(sysctl -n net.ipv4.tcp_congestion_control)"
|
/third_party/libcoap/src/ |
H A D | coap_address.c | 182 struct in_addr ipv4; in coap_is_bcast() local 195 ipv4.s_addr = a->addr.sin.sin_addr.s_addr; in coap_is_bcast() 202 memcpy(&ipv4, &a->addr.sin6.sin6_addr.s6_addr[12], sizeof(ipv4)); in coap_is_bcast() 216 if (ipv4.s_addr == INADDR_BROADCAST) in coap_is_bcast() 248 if (ipv4.s_addr == b_ipv4[i].s_addr) in coap_is_bcast()
|
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 241 if ( (sa1->ipv4.sin_port == sa2->ipv4.sin_port) && in sa_is_equal() 242 (sa1->ipv4.sin_addr.s_addr == sa2->ipv4.sin_addr.s_addr)) in sa_is_equal() 303 inet_ntop( AF_INET, &(addr -> ipv4.sin_addr.s_addr), addr_string, BJNP_HOST_MAX); in get_address_info() 304 *port = ntohs (addr->ipv4.sin_port); in get_address_info() 441 /* if available we use the hostname or ipv4 address of the printer */ in determine_scanner_serial() 889 return ntohs(scanner_sa.ipv4.sin_port); in get_port_from_sa() 982 local_sa_copy.ipv4.sin_port = htons(BJNP_PORT_SCAN); in prepare_socket() 984 if (local_sa_copy.ipv4 in prepare_socket() [all...] |
H A D | pixma_bjnp_private.h | 198 } ipv4; member 330 struct sockaddr_in ipv4; member
|
/third_party/ltp/testcases/network/mpls/ |
H A D | mpls_lib.sh | 21 [ -n "$rpf_loc" ] && sysctl -q net.ipv4.conf.all.rp_filter=$rpf_loc 22 [ -n "$rpf_rmt" ] && tst_rhost_run -s -c "sysctl -q net.ipv4.conf.all.rp_filter=$rpf_rmt" 45 rpf_loc="$(sysctl -n net.ipv4.conf.all.rp_filter)" 48 rpf_rmt="$(tst_rhost_run -c 'sysctl -n net.ipv4.conf.all.rp_filter')" 50 tst_set_sysctl net.ipv4.conf.all.rp_filter 2 safe
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | p2p-action-udhcp.sh | 58 sysctl net.ipv4.ip_forward=1 65 sysctl net.ipv4.ip_forward=0
|
H A D | p2p-action.sh | 85 sysctl net.ipv4.ip_forward=1 92 sysctl net.ipv4.ip_forward=0
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | p2p-action-udhcp.sh | 58 sysctl net.ipv4.ip_forward=1 65 sysctl net.ipv4.ip_forward=0
|
H A D | p2p-action.sh | 85 sysctl net.ipv4.ip_forward=1 92 sysctl net.ipv4.ip_forward=0
|
/third_party/ltp/testcases/network/virt/ |
H A D | virt_lib.sh | 78 sysctl -q net.ipv4.tcp_syn_retries=$virt_tcp_syn 245 virt_tcp_syn=$(sysctl -n net.ipv4.tcp_syn_retries) 246 ROD sysctl -q net.ipv4.tcp_syn_retries=1
|
/third_party/curl/tests/ |
H A D | serverhelp.pm | 135 $ipver = (not $ipver) ? 'ipv4' : lc($ipver); 137 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
|
/third_party/node/src/ |
H A D | node_sockaddr.cc | 81 const sockaddr_in* ipv4 = in operator ()() local 83 hash_combine(&hash, ipv4->sin_port, ipv4->sin_addr.s_addr); in operator ()() 140 const SocketAddress& ipv4, in is_match_ipv4_ipv6() 143 reinterpret_cast<const sockaddr_in*>(ipv4.data()); in is_match_ipv4_ipv6() 190 const SocketAddress& ipv4, in compare_ipv4_ipv6() 193 reinterpret_cast<const sockaddr_in*>(ipv4.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
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
H A D | mc_commo.sh | 42 PORT=$(tst_get_unused_port ipv4 dgram)
|
/third_party/ltp/testcases/network/stress/route/ |
H A D | route-redirect.sh | 36 [ ! "$TST_IPV6" ] && sysctl -w net.ipv4.conf.${lhost_ifname}.secure_redirects=0 > /dev/null
|
/third_party/mesa3d/.gitlab-ci/ |
H A D | crosvm-runner.sh | 74 echo 1 > /proc/sys/net/ipv4/ip_forward
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
H A D | proxy.c | 70 bool ipv4; member 947 if(glob_opt.ipv4 && !glob_opt.ipv6) in standard_request_handler() 949 else if(glob_opt.ipv6 && !glob_opt.ipv4) in standard_request_handler() 1281 " -4, --curl-ipv4 Curl may use IPv4 to connect to the final destination.\n" in display_usage() 1283 " If neither --curl-ipv4 nor --curl-ipv6 is set,\n" in display_usage() 1312 {"curl-ipv4", no_argument, 0, '4'}, in main() 1375 glob_opt.ipv4 = true; in main()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | ohos_socket-server.c | 321 pa_log_info("Found socket activation socket for ipv4 in port '%d' \\o/", port); in pa_socket_server_new_ipv4() 505 struct in_addr ipv4; in pa_socket_server_new_ipv4_string() local 511 if (inet_pton(AF_INET, name, &ipv4) > 0) in pa_socket_server_new_ipv4_string() 512 return pa_socket_server_new_ipv4(m, ntohl(ipv4.s_addr), port, fallback, tcpwrap_service); in pa_socket_server_new_ipv4_string()
|