/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_ct_def.h | 54 } ipv4;
member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 1179 struct iphdr *ipv4 = ip_p; in mlx5e_lro_update_hdr() local 1184 ipv4->ttl = cqe->lro.min_ttl; in mlx5e_lro_update_hdr() 1185 ipv4->tot_len = cpu_to_be16(tot_len); in mlx5e_lro_update_hdr() 1186 ipv4->check = 0; in mlx5e_lro_update_hdr() 1187 ipv4->check = ip_fast_csum((unsigned char *)ipv4, in mlx5e_lro_update_hdr() 1188 ipv4->ihl); in mlx5e_lro_update_hdr() 1194 tcp->check = csum_tcpudp_magic(ipv4->saddr, ipv4->daddr, in mlx5e_lro_update_hdr() 1224 static void mlx5e_shampo_update_ipv4_udp_hdr(struct mlx5e_rq *rq, struct iphdr *ipv4) in mlx5e_shampo_update_ipv4_udp_hdr() argument 1274 mlx5e_shampo_update_ipv4_tcp_hdr(struct mlx5e_rq *rq, struct iphdr *ipv4, struct mlx5_cqe64 *cqe, bool match) mlx5e_shampo_update_ipv4_tcp_hdr() argument 1329 struct iphdr *ipv4 = (struct iphdr *)(skb->data + nhoff); mlx5e_shampo_update_hdr() local [all...] |
H A D | en_arfs.c | 290 src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 292 dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 557 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 561 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 565 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_add_rule() 567 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_add_rule()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_output.c | 231 if (sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) in tcp_select_initial_window() 242 space = max_t(u32, space, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2])); in tcp_select_initial_window() 286 sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) in tcp_select_window() 325 bool use_ecn = sock_net(sk)->ipv4.sysctl_tcp_ecn == 1 || in tcp_ecn_send_syn() 347 if (sock_net(sk)->ipv4.sysctl_tcp_ecn_fallback) in tcp_ecn_clear_syn() 790 if (likely(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_timestamps) && !*md5)) { in tcp_syn_options() 796 if (likely(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_window_scaling))) { in tcp_syn_options() 801 if (likely(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_sack))) { in tcp_syn_options() 1722 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_min_snd_mss)); in __tcp_mtu_to_mss() 1765 icsk->icsk_mtup.enabled = READ_ONCE(net->ipv4 in tcp_mtup_init() [all...] |
H A D | tcp_recovery.c | 22 !(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_recovery) & in tcp_rack_reo_wnd() 194 if ((READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_recovery) & in tcp_rack_update_reo_wnd()
|
H A D | route.c | 520 if (unlikely(siphash_key_is_zero(&net->ipv4.ip_id_key))) in __ip_select_ident() 521 get_random_bytes(&net->ipv4.ip_id_key, in __ip_select_ident() 522 sizeof(net->ipv4.ip_id_key)); in __ip_select_ident() 527 &net->ipv4.ip_id_key); in __ip_select_ident() 917 peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, vif, 1); in ip_rt_send_redirect() 1017 peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, in ip_error() 1242 * Also check we have a reasonable ipv4 header. in ipv4_send_dest_unreach() 1441 if (READ_ONCE(dev_net(dev)->ipv4.sysctl_ip_fwd_use_pmtu) || in ip_mtu_from_fib_result() 1619 rt->rt_gw4 = nhc->nhc_gw.ipv4; in rt_set_nexthop() 1863 gw = nhc->nhc_gw_family == AF_INET ? nhc->nhc_gw.ipv4 in __mkroute_input() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.sh | 4 # rotate TFO keys for ipv4/ipv6 and verify that the client does 15 ip netns exec "${NETNS}" sysctl -w net.ipv4.tcp_fastopen=3 \
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.sh | 4 # rotate TFO keys for ipv4/ipv6 and verify that the client does 15 ip netns exec "${NETNS}" sysctl -w net.ipv4.tcp_fastopen=3 \
|
H A D | arp_ndisc_evict_nocarrier.sh | 105 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1 106 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1 112 setup_v4 "net.ipv4.conf.veth0.arp_evict_nocarrier=1" 130 setup_v4 "net.ipv4.conf.veth0.arp_evict_nocarrier=0" 147 setup_v4 "net.ipv4.conf.all.arp_evict_nocarrier=0"
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | netsys.c | 235 static inline __u32 filter_sim_stats(__u32 ipv4) in filter_sim_stats() argument 237 if (IS_MATCHED_IP(ipv4, WLAN_IPv4) || IS_MATCHED_IP(ipv4, CELLULAR_IPv4)) { in filter_sim_stats() 243 static inline __u32 get_iface_type(__u32 ipv4) in get_iface_type() argument 245 if (IS_MATCHED_IP(ipv4, WLAN_IPv4)) { in get_iface_type() 248 if (IS_MATCHED_IP(ipv4, CELLULAR_IPv4)) { in get_iface_type()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 244 src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 246 dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 491 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 495 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 499 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_add_rule() 501 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_add_rule()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 495 nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, rule); in nfp_flower_compile_ipv4_gre_tun() 506 nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, rule); in nfp_flower_compile_ipv4_udp_tun() 659 dst = ((struct nfp_flower_ipv4_gre_tun *)ext)->ipv4.dst; in nfp_flower_compile_flow_match() 695 dst = ((struct nfp_flower_ipv4_udp_tun *)ext)->ipv4.dst; in nfp_flower_compile_flow_match()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath.sh | 213 sysctl_set net.ipv4.fib_multipath_hash_policy 1 235 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
H A D | gre_inner_v4_multipath.sh | 260 sysctl_set net.ipv4.fib_multipath_hash_policy 2 283 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/ |
H A D | tc_flower_chains.sh | 182 protocol ipv4 flower skip_sw src_ip 10.1.1.2 \ 187 protocol ipv4 flower skip_sw ip_proto udp dst_port 5201 \
|
/kernel/linux/linux-5.10/net/core/ |
H A D | secure_seq.c | 67 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcpv6_ts_off() 123 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcp_ts_off()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | gre_inner_v4_multipath.sh | 260 sysctl_set net.ipv4.fib_multipath_hash_policy 2 283 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
H A D | gre_multipath.sh | 213 sysctl_set net.ipv4.fib_multipath_hash_policy 1 235 sysctl_restore net.ipv4.fib_multipath_hash_policy
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | rpath.sh | 44 ip netns exec "$ns2" sysctl -q net.ipv4.conf.all.rp_filter=0 45 ip netns exec "$ns2" sysctl -q net.ipv4.conf.default.rp_filter=0
|
H A D | conntrack_tcp_unreplied.sh | 36 ipv4() { function 76 ip netns exec $ns2 sysctl -q net.ipv4.conf.veth2.forwarding=1
|
H A D | nft_nat.sh | 526 ip netns exec "$ns0" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 527 ip netns exec "$ns0" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 707 ip netns exec "$ns0" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 708 ip netns exec "$ns0" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 908 ip netns exec "$ns0" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 909 ip netns exec "$ns0" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 946 ip netns exec "$ns0" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 947 ip netns exec "$ns0" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_recovery.c | 17 !(READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_recovery) & in tcp_rack_reo_wnd() 191 if ((READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_recovery) & in tcp_rack_update_reo_wnd()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | secure_seq.c | 67 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcpv6_ts_off() 123 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcp_ts_off()
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_db_helper.cpp | 913 memcpy_s(&dbip.ipv4.startIp, sizeof(uint32_t), ¶m.ipv4.startIp, sizeof(uint32_t));
in FirewallIpToDbIp() 914 memcpy_s(&dbip.ipv4.endIp, sizeof(uint32_t), ¶m.ipv4.endIp, sizeof(uint32_t));
in FirewallIpToDbIp() 931 memcpy_s(&dbip.ipv4.startIp, sizeof(uint32_t), ¶m.ipv4.startIp, sizeof(uint32_t));
in DbIpToFirewallIp() 932 memcpy_s(&dbip.ipv4.endIp, sizeof(uint32_t), ¶m.ipv4.endIp, sizeof(uint32_t));
in DbIpToFirewallIp()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 240 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; in mlx5e_tc_tun_create_header_ipv4() 241 attr.fl.fl4.saddr = tun_key->u.ipv4.src; in mlx5e_tc_tun_create_header_ipv4() 355 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; in mlx5e_tc_tun_update_header_ipv4() 356 attr.fl.fl4.saddr = tun_key->u.ipv4.src; in mlx5e_tc_tun_update_header_ipv4() 855 src_ipv4_src_ipv6.ipv4_layout.ipv4, in mlx5e_tc_tun_parse() 858 src_ipv4_src_ipv6.ipv4_layout.ipv4, in mlx5e_tc_tun_parse() 862 dst_ipv4_dst_ipv6.ipv4_layout.ipv4, in mlx5e_tc_tun_parse() 865 dst_ipv4_dst_ipv6.ipv4_layout.ipv4, in mlx5e_tc_tun_parse()
|