/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | unicast_extensions.sh | 106 echo 1 | ip netns exec $router_ns tee /proc/sys/net/ipv4/ip_forward
|
H A D | rtnetlink.sh | 233 local hash_policy=$(sysctl -n net.ipv4.fib_multipath_hash_policy) 257 sysctl -wq net.ipv4.fib_multipath_hash_policy=0 260 sysctl -wq net.ipv4.fib_multipath_hash_policy=1 263 sysctl -wq net.ipv4.fib_multipath_hash_policy="$hash_policy" 299 promote=$(sysctl -n net.ipv4.conf.$devdummy.promote_secondaries) 301 sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=1 311 [ $promote -eq 0 ] && sysctl -q net.ipv4.conf.$devdummy.promote_secondaries=0 1252 # ipv4 1260 # ipv4 proxy
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | fib.sh | 232 ip netns exec testns1 sysctl -qw net.ipv4.fib_notify_on_flag_change=$notify
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | conntrack_sctp_collision.sh | 43 ip net exec $ROUTER_NS sysctl -wq net.ipv4.ip_forward=1
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | nf_defrag_ipv4.c | 18 #include <net/netfilter/ipv4/nf_defrag_ipv4.h>
|
H A D | nf_socket_ipv4.c | 74 return inet_lookup(net, net->ipv4.tcp_death_row.hashinfo, in nf_socket_get_sock_v4()
|
H A D | nf_tproxy_ipv4.c | 82 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v4()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nf_socket_ipv6.c | 86 return inet6_lookup(net, net->ipv4.tcp_death_row.hashinfo, in nf_socket_get_sock_v6()
|
H A D | nf_tproxy_ipv6.c | 83 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v6()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_forward.c | 159 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_update_priority)) in ip_forward()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 83 struct nfp_flower_ipv4 ipv4; member 633 memset(&merge->ipv4, 0xff, in nfp_flower_update_merge_with_actions() 646 merge->ipv4.ipv4_src |= ipv4_add->ipv4_src_mask; in nfp_flower_update_merge_with_actions() 647 merge->ipv4.ipv4_dst |= ipv4_add->ipv4_dst_mask; in nfp_flower_update_merge_with_actions() 651 merge->ipv4.ip_ext.ttl |= ipv4_ttl_tos->ipv4_ttl_mask; in nfp_flower_update_merge_with_actions() 652 merge->ipv4.ip_ext.tos |= ipv4_ttl_tos->ipv4_tos_mask; in nfp_flower_update_merge_with_actions() 741 memcpy(&merge->ipv4, mask, match_size); in nfp_flower_populate_merge_match() 1175 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: match on ipv4/ipv6 eth_type must be present"); in nfp_flower_validate_pre_tun_rule()
|
H A D | cmsg.h | 439 struct nfp_flower_tun_ipv4 ipv4; member 502 struct nfp_flower_tun_ipv4 ipv4; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 86 struct nfp_flower_ipv4 ipv4; member 631 memset(&merge->ipv4, 0xff, in nfp_flower_update_merge_with_actions() 644 merge->ipv4.ipv4_src |= ipv4_add->ipv4_src_mask; in nfp_flower_update_merge_with_actions() 645 merge->ipv4.ipv4_dst |= ipv4_add->ipv4_dst_mask; in nfp_flower_update_merge_with_actions() 649 merge->ipv4.ip_ext.ttl |= ipv4_ttl_tos->ipv4_ttl_mask; in nfp_flower_update_merge_with_actions() 650 merge->ipv4.ip_ext.tos |= ipv4_ttl_tos->ipv4_tos_mask; in nfp_flower_update_merge_with_actions() 739 memcpy(&merge->ipv4, mask, match_size); in nfp_flower_populate_merge_match() 1167 NL_SET_ERR_MSG_MOD(extack, "unsupported pre-tunnel rule: match on ipv4/ipv6 eth_type must be present"); in nfp_flower_validate_pre_tun_rule()
|
H A D | cmsg.h | 444 struct nfp_flower_tun_ipv4 ipv4; member 507 struct nfp_flower_tun_ipv4 ipv4; member
|
H A D | main.h | 181 * @is_ipv6: Flag to indicate if payload is ipv6 or ipv4 645 void nfp_tunnel_del_ipv4_off(struct nfp_app *app, __be32 ipv4); 646 void nfp_tunnel_add_ipv4_off(struct nfp_app *app, __be32 ipv4);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tcp.h | 1423 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check() 1552 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_intvl); in keepalive_intvl_when() 1563 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_time); in keepalive_time_when() 1576 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_probes); in keepalive_probes() 1590 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time() 1843 ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_ctx() 2101 return val ?: READ_ONCE(net->ipv4.sysctl_tcp_notsent_lowat); in tcp_notsent_lowat() 2258 * (check tcp_send_ack() in net/ipv4/tcp_output.c )
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 280 info->ipv4 = (bool)FIELD_GET(IRDMACQ_IPV4, qword3); in irdma_puda_poll_info() 435 if (info->ipv4) { in irdma_puda_send() 535 info.ipv4 = buf->ipv4; in irdma_puda_send_buf() 1218 txbuf->ipv4 = buf->ipv4; in irdma_ieq_setup_tx_buf() 1628 pfpdu->max_fpdu_data = (buf->ipv4) ? in irdma_ieq_handle_exception()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | inner_link.cpp | 319 void InnerLink::GenerateLink(uint32_t requestId, int pid, WifiDirectLink &link, bool ipv4) in GenerateLink() argument 336 if (ipv4 || GetLocalIpv6().empty()) { in GenerateLink()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/ |
H A D | net_firewall_rule_parse.cpp | 62 inet_pton(AF_INET, startIp.c_str(), ¶m.ipv4.startIp);
in ParseIpList() 64 inet_pton(AF_INET, endIp.c_str(), ¶m.ipv4.endIp);
in ParseIpList()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | simult_flows.sh | 86 ip netns exec "$ns1" sysctl -q net.ipv4.conf.all.rp_filter=0 99 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 40 ipv4() { function 94 ip -net nsclient$i addr add $(ipv4 $i)/24 dev $DEV
|
H A D | nft_queue.sh | 336 ip netns exec ${nsrouter} sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 337 ip netns exec ${nsrouter} sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 362 # we ping ${ns2} from ${ns1} via ${nsrouter} using ipv4 and ipv6, so:
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh.sh | 194 sysctl_set net.ipv4.fib_multipath_hash_policy 1 212 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
H A D | router_multipath.sh | 173 sysctl_set net.ipv4.fib_multipath_hash_policy 1 195 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.c | 90 src_ipv4_src_ipv6.ipv4_layout.ipv4); in print_lyr_2_4_hdrs() 92 dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in print_lyr_2_4_hdrs()
|