Home
last modified time | relevance | path

Searched refs:ipv4 (Results 1 - 25 of 46) sorted by relevance

12

/third_party/ltp/testcases/network/stress/multicast/grp-operation/
H A Dmcast-lib.sh13 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 Dfreertos-resolv.c31 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 Dtcp4-uni-basic01149 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 DFilelists.mk56 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 Dutils.js164 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);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmip.h232 #define IPV4_MCAST_TO_ETHER_MCAST(ipv4, ether) \
237 ether[3] = (ipv4 & 0x7f0000) >> 16; \
238 ether[4] = (ipv4 & 0xff00) >> 8; \
239 ether[5] = (ipv4 & 0xff); \
/third_party/curl/lib/
H A Dnoproxy.c45 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 Dnoproxy.h32 UNITTEST bool Curl_cidr4_match(const char *ipv4, /* 1.2.3.4 address */
/third_party/ltp/testcases/network/tcp_cc/
H A Dtcp_cc_lib.sh22 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/backends/backend/pixma/
H A Dpixma_bjnp.c241 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 Dpixma_bjnp_private.h198 } ipv4; member
330 struct sockaddr_in ipv4; member
/third_party/libcoap/src/
H A Dcoap_address.c182 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/ltp/testcases/network/mpls/
H A Dmpls_lib.sh21 [ -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 Dp2p-action-udhcp.sh58 sysctl net.ipv4.ip_forward=1
65 sysctl net.ipv4.ip_forward=0
H A Dp2p-action.sh85 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 Dp2p-action-udhcp.sh58 sysctl net.ipv4.ip_forward=1
65 sysctl net.ipv4.ip_forward=0
H A Dp2p-action.sh85 sysctl net.ipv4.ip_forward=1
92 sysctl net.ipv4.ip_forward=0
/third_party/ltp/testcases/network/virt/
H A Dvirt_lib.sh78 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 Dserverhelp.pm135 $ipver = (not $ipver) ? 'ipv4' : lc($ipver);
137 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dipv4.h4 #define TRACE_SYSTEM ipv4
/third_party/node/src/
H A Dnode_sockaddr.cc81 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 Dmc_commo.sh42 PORT=$(tst_get_unused_port ipv4 dgram)
/third_party/ltp/testcases/network/stress/route/
H A Droute-redirect.sh36 [ ! "$TST_IPV6" ] && sysctl -w net.ipv4.conf.${lhost_ifname}.secure_redirects=0 > /dev/null
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dnat64.h83 * This API is used to hook the ipv4 input packets in two different situations:
102 * 1) when the packet is received by the mesh interface in a mesh gate, if non-mesh interface is ipv4 .
103 * 2) when the packet is received by the mesh interface in a mesh BR, if non-mesh interface is ipv4 .
120 * This API is used to translate the ip header from ipv6 to ipv4
136 * This API is used to translate the ip header from ipv4 to ipv6
168 u32_t lifetime, uint32_t *ipv4);
/third_party/mesa3d/.gitlab-ci/
H A Dcrosvm-runner.sh74 echo 1 > /proc/sys/net/ipv4/ip_forward

Completed in 14 milliseconds

12