/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 159 * @ipv4: is layer 3 packet of version 4 or 6 165 static char *i40e_create_dummy_packet(u8 *dummy_packet, bool ipv4, u8 l4proto, argument 175 if (ipv4) { 209 if (ipv4) { 223 * @ipv4: is layer 3 packet of version 4 or 6 229 static void i40e_create_dummy_udp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, argument 235 tmp = i40e_create_dummy_packet(raw_packet, ipv4, IPPROTO_UDP, data); 244 * @ipv4: is layer 3 packet of version 4 or 6 250 static void i40e_create_dummy_tcp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, argument 259 tmp = i40e_create_dummy_packet(raw_packet, ipv4, IPPROTO_TC 276 i40e_create_dummy_sctp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, struct i40e_fdir_filter *data) argument 354 i40e_change_filter_num(bool ipv4, bool add, u16 *ipv4_filter_num, u16 *ipv6_filter_num) argument 381 i40e_add_del_fdir_udp(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add, bool ipv4) argument 429 i40e_add_del_fdir_tcp(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add, bool ipv4) argument 483 i40e_add_del_fdir_sctp(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add, bool ipv4) argument 532 i40e_add_del_fdir_ip(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add, bool ipv4) argument 590 enum ip_ver { ipv6 = 0, ipv4 = 1 }; enumerator in enum:ip_ver 1749 bool ipv4, ipv6; local 2867 struct iphdr *ipv4; member in union:__anon509 [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 149 hv1 = e->ipv4.orig.ports; 150 hv2 = e->ipv4.orig.dest_ip; 151 hv3 = e->ipv4.orig.src_ip; 192 return &entry->ipv4.l2; 206 return &entry->ipv4.ib2; 246 entry->ipv4.orig.ports = ports_pad; 259 entry->ipv4.ib2 = val; 260 l2 = &entry->ipv4.l2; 305 t = &entry->ipv4.new; 311 t = &entry->ipv4 [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 215 actions->nat.l3.ipv4.saddr.s_addr = htonl(val); 218 actions->nat.l3.ipv4.daddr.s_addr = htonl(val); 227 actions->nat.src_xlate, &actions->nat.l3.ipv4.saddr, 228 &actions->nat.l3.ipv4.daddr); 432 flow->l3_key.ipv4.daddr.s_addr = match.key->dst; 433 flow->l3_mask.ipv4.daddr.s_addr = match.mask->dst; 434 flow->l3_key.ipv4.saddr.s_addr = match.key->src; 435 flow->l3_mask.ipv4.saddr.s_addr = match.mask->src; 474 flow->tun_key.u.ipv4.dst = match.key->dst; 475 flow->tun_mask.u.ipv4 [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 682 filter->key.ipv4.proto.value[0] = 684 filter->key.ipv4.proto.mask[0] = 723 tmp = &filter->key.ipv4.sip.value.addr[0]; 726 tmp = &filter->key.ipv4.sip.mask.addr[0]; 729 tmp = &filter->key.ipv4.dip.value.addr[0]; 732 tmp = &filter->key.ipv4.dip.mask.addr[0]; 752 filter->key.ipv4.sport.value = ntohs(match.key->src); 753 filter->key.ipv4.sport.mask = ntohs(match.mask->src); 754 filter->key.ipv4.dport.value = ntohs(match.key->dst); 755 filter->key.ipv4 [all...] |
/linux-master/fs/smb/client/ |
H A D | cifs_swn.c | 439 struct sockaddr_in *ipv4 = (struct sockaddr_in *)old; local 441 port = ipv4->sin_port; 449 struct sockaddr_in *ipv4 = (struct sockaddr_in *)new; local 451 ipv4->sin_port = port; 511 struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr; local 515 cifs_dbg(FYI, "%s: move to %pI4\n", __func__, &ipv4->sin_addr);
|
/linux-master/net/psample/ |
H A D | psample.c | 235 if (tun_key->u.ipv4.src && 237 tun_key->u.ipv4.src)) 239 if (tun_key->u.ipv4.dst && 241 tun_key->u.ipv4.dst)) 326 if (tun_key->u.ipv4.src) 328 if (tun_key->u.ipv4.dst)
|
/linux-master/drivers/net/netdevsim/ |
H A D | fib.c | 47 struct nsim_per_fib_data ipv4; member in struct:nsim_fib_data 143 entry = &fib_data->ipv4.fib; 146 entry = &fib_data->ipv4.rules; 171 entry = &fib_data->ipv4.fib; 174 entry = &fib_data->ipv4.rules; 217 err = nsim_fib_rule_account(&data->ipv4.rules, add, extack); 378 nsim_fib_account(&data->ipv4.fib, false); 392 err = nsim_fib_account(&data->ipv4.fib, false); 912 err = nsim_fib_account(&data->ipv4.fib, true); 923 nsim_fib_account(&data->ipv4 [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 11 #include <net/netfilter/ipv4/nf_reject.h> 65 READ_ONCE(net->ipv4.sysctl_ip_default_ttl)); 120 READ_ONCE(net->ipv4.sysctl_ip_default_ttl));
|
H A D | ipt_REJECT.c | 24 #include <net/netfilter/ipv4/nf_reject.h>
|
H A D | nft_dup_ipv4.c | 13 #include <net/netfilter/ipv4/nf_dup_ipv4.h>
|
/linux-master/tools/testing/selftests/net/ |
H A D | big_tcp.sh | 44 ip net exec $CLIENT_NS sysctl -wq net.ipv4.tcp_window_scaling=10 66 ip net exec $ROUTER_NS sysctl -wq net.ipv4.ip_forward=1 78 ip net exec $SERVER_NS sysctl -wq net.ipv4.tcp_window_scaling=10
|
H A D | srv6_hl2encap_red_l2vpn_test.sh | 345 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.all.rp_filter=0 346 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.default.rp_filter=0 347 ip netns exec "${nsname}" sysctl -wq net.ipv4.ip_forward=1 491 # to route decap ipv4 packets. 493 sysctl -wq net.ipv4.conf."${RT2HS_DEVNAME}".rp_filter=0
|
H A D | srv6_end_dt46_l3vpn_test.sh | 271 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1 289 # to route decap ipv4 packets. 290 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.all.rp_filter=0 291 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.default.rp_filter=0 315 ip netns exec ${rtname} sysctl -wq net.ipv4.conf.${rtveth}.proxy_arp=1 361 # set default routes to unreachable for both ipv4 and ipv6
|
H A D | cmsg_time.sh | 21 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
|
/linux-master/net/ipv4/ |
H A D | udp_diag.c | 150 udp_dump(sock_net(cb->skb->sk)->ipv4.udp_table, skb, cb, r); 156 return udp_dump_one(sock_net(cb->skb->sk)->ipv4.udp_table, cb, req); 228 return __udp_diag_destroy(in_skb, req, sock_net(in_skb->sk)->ipv4.udp_table);
|
H A D | syncookies.c | 246 if (!READ_ONCE(net->ipv4.sysctl_tcp_timestamps)) 251 if (tcp_opt->sack_ok && !READ_ONCE(net->ipv4.sysctl_tcp_sack)) 260 return READ_ONCE(net->ipv4.sysctl_tcp_window_scaling) != 0; 413 if (!READ_ONCE(net->ipv4.sysctl_tcp_syncookies) ||
|
/linux-master/net/netfilter/ |
H A D | nft_reject_inet.c | 14 #include <net/netfilter/ipv4/nf_reject.h>
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables_offload.h | 47 struct flow_dissector_key_ipv4_addrs ipv4; member in union:nft_flow_key::__anon261
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.h | 27 __be32 ipv4; member in union:prestera_ip_addr::__anon1008
|
/linux-master/security/selinux/include/ |
H A D | objsec.h | 92 __be32 ipv4; /* IPv4 node address */ member in union:netnode_security_struct::__anon748
|
/linux-master/net/ |
H A D | Makefile | 17 obj-$(CONFIG_INET) += ipv4/
|
/linux-master/include/net/ |
H A D | net_namespace.h | 20 #include <net/netns/ipv4.h> 132 struct netns_ipv4 ipv4; member in struct:net 473 * For the longest time the ipv4 icmp code was registered as a pernet 505 return atomic_read(&net->ipv4.rt_genid); 517 atomic_inc(&net->ipv4.rt_genid);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 98 bool ipv4, ipv6; local 114 ipv4 = libeth_rx_pt_get_ip_ver(decoded) == LIBETH_RX_PT_OUTER_IPV4; 117 if (ipv4 && (rx_status0 & (BIT(ICE_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S)))) { 122 if (ipv4 && (rx_status0 & (BIT(ICE_RX_FLEX_DESC_STATUS0_XSUM_IPE_S))))
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 188 ip netns exec "$ns2" sysctl -q net.ipv4.ip_forward=1 200 ip netns exec "$ns3" sysctl -q net.ipv4.ip_forward=1 473 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies) 771 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=2 772 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=1 780 ip netns exec "$ns1" sysctl -q net.ipv4.tcp_fastopen=0 781 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_fastopen=0 919 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=2 921 ip netns exec "$ns2" sysctl -q net.ipv4.tcp_syncookies=1 952 run_test_transparent 10.0.3.1 "tproxy ipv4" [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 271 if (FIELDS_NOT_SUPPORTED(ib_spec->ipv4.mask, LAST_IPV4_FIELD)) 287 src_ipv4_src_ipv6.ipv4_layout.ipv4), 288 &ib_spec->ipv4.mask.src_ip, 289 sizeof(ib_spec->ipv4.mask.src_ip)); 291 src_ipv4_src_ipv6.ipv4_layout.ipv4), 292 &ib_spec->ipv4.val.src_ip, 293 sizeof(ib_spec->ipv4.val.src_ip)); 295 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), 296 &ib_spec->ipv4.mask.dst_ip, 297 sizeof(ib_spec->ipv4 1569 void *ipv4, *ipv4_mask; local [all...] |