Searched refs:ipv4 (Results 51 - 75 of 358) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/
H A Dudplite.c4 * See also net/ipv4/udplite.c
66 .sysctl_wmem_offset = offsetof(struct net, ipv4.sysctl_udp_wmem_min),
67 .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_udp_rmem_min),
/linux-master/tools/testing/selftests/net/forwarding/
H A Drouter_mpath_nh_lib.sh115 sysctl_set net.ipv4.fib_multipath_hash_policy 1
118 sysctl_restore net.ipv4.fib_multipath_hash_policy
H A Dmirror_gre_vlan_bridge_1q.sh89 sysctl_set net.ipv4.conf.all.rp_filter 0
90 sysctl_set net.ipv4.conf.$h3.rp_filter 0
122 sysctl_restore net.ipv4.conf.$h3.rp_filter
123 sysctl_restore net.ipv4.conf.all.rp_filter
H A Dhw_stats_l3.sh224 __test_stats rx ipv4
229 __test_stats tx ipv4
294 __test_stats_report rx ipv4
299 __test_stats_report tx ipv4
315 ___test_stats rx ipv4 \
H A Dip6gre_custom_multipath_hash.sh383 sysctl_set net.ipv4.neigh.default.gc_thresh1 1024
384 sysctl_set net.ipv4.neigh.default.gc_thresh2 1024
385 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
403 sysctl_restore net.ipv4.neigh.default.gc_thresh3
404 sysctl_restore net.ipv4.neigh.default.gc_thresh2
405 sysctl_restore net.ipv4.neigh.default.gc_thresh1
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.c487 struct ocelot_vcap_key_ipv4 *ipv4 = NULL; local
495 ipv4 = &filter->key.ipv4;
496 ttl = ipv4->ttl;
497 fragment = ipv4->fragment;
498 options = ipv4->options;
499 proto = ipv4->proto;
500 ds = ipv4->ds;
501 ip_data = &ipv4->data;
502 sip = ipv4
715 struct ocelot_vcap_key_ipv4 *ipv4 = &filter->key.ipv4; local
[all...]
/linux-master/net/ipv4/
H A Dfib_frontend.c65 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX]);
67 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]);
87 if (id == RT_TABLE_LOCAL && !net->ipv4.fib_has_custom_rules)
96 rcu_assign_pointer(net->ipv4.fib_main, tb);
99 rcu_assign_pointer(net->ipv4.fib_default, tb);
106 hlist_add_head_rcu(&tb->tb_hlist, &net->ipv4.fib_table_hash[h]);
122 head = &net->ipv4.fib_table_hash[h];
138 rcu_assign_pointer(net->ipv4.fib_main, new);
141 rcu_assign_pointer(net->ipv4.fib_default, new);
190 struct hlist_head *head = &net->ipv4
[all...]
H A Dxfrm4_policy.c172 hdr = register_net_sysctl_sz(net, "net/ipv4", table,
177 net->ipv4.xfrm4_hdr = hdr;
191 if (!net->ipv4.xfrm4_hdr)
194 table = net->ipv4.xfrm4_hdr->ctl_table_arg;
195 unregister_net_sysctl_table(net->ipv4.xfrm4_hdr);
/linux-master/net/dccp/
H A DMakefile17 dccp_ipv4-y := ipv4.o
/linux-master/net/ipv4/netfilter/
H A Dnft_reject_ipv4.c16 #include <net/netfilter/ipv4/nf_reject.h>
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_dscp_router.sh131 sysctl_set net.ipv4.ip_forward_update_priority 1
144 sysctl_restore net.ipv4.ip_forward_update_priority
215 sysctl_restore net.ipv4.ip_forward_update_priority
216 sysctl_set net.ipv4.ip_forward_update_priority $update
225 echo "Test net.ipv4.ip_forward_update_priority=1"
231 echo "Test net.ipv4.ip_forward_update_priority=0"
H A Dport_range_scale.sh36 prot ipv4 \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dvrf_socket_lookup.c37 tplen = sizeof(tp->ipv4);
H A Dxdpwall.c96 struct iphdr *ipv4; member in union:pkt_info::__anon4675
156 filter_ipv4_addr(info->ip.ipv4->saddr);
158 filter_ipv4_lpm(info->ip.ipv4->saddr);
160 filter_ipv4_lpm(info->ip.ipv4->daddr);
291 info->ip.ipv4 = inner_ip4h;
/linux-master/include/net/
H A Dip_fib.h92 __be32 ipv4; member in union:fib_nh_common::__anon2459
122 #define fib_nh_gw4 nh_common.nhc_gw.ipv4
298 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] :
299 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX];
376 if (net->ipv4.fib_has_custom_rules)
383 tb = rcu_dereference_rtnl(net->ipv4.fib_main);
390 tb = rcu_dereference_rtnl(net->ipv4.fib_default);
405 return net->ipv4.fib_has_custom_rules;
420 if (!net->ipv4.fib_rules_require_fldissect)
449 return atomic_read(&net->ipv4
[all...]
H A Dinet_sock.h112 if (!mark && READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept))
125 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept))
137 if (!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept))
157 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept),
424 return READ_ONCE(net->ipv4.sysctl_ip_nonlocal_bind) ||
H A Dudp.h252 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_udp_l3mdev_accept),
259 /* net/ipv4/udp.c */
412 #define __UDPX_MIB(sk, ipv4) \
414 ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
420 #define __UDPX_MIB(sk, ipv4) \
465 struct sk_buff *skb, bool ipv4)
495 SNMP_ADD_STATS(__UDPX_MIB(sk, ipv4), UDP_MIB_INERRORS, segs_nr);
464 udp_rcv_segment(struct sock *sk, struct sk_buff *skb, bool ipv4) argument
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c78 cm_info->ipv4 = cm_node->ipv4;
177 if (cm_node->ipv4)
450 if (cm_node->ipv4)
469 if (cm_node->ipv4) {
470 sqbuf->ipv4 = true;
504 sqbuf->ipv4 = false;
714 if ((cm_node->ipv4 &&
716 (!cm_node->ipv4 &&
1461 * @ipv4
1467 irdma_find_listener(struct irdma_cm_core *cm_core, u32 *dst_addr, bool ipv4, u16 dst_port, u16 vlan_id, enum irdma_cm_listener_state listener_state) argument
1558 irdma_iw_get_vlan_prio(u32 *loc_addr, u8 prio, bool ipv4) argument
4331 irdma_qhash_ctrl(struct irdma_device *iwdev, struct irdma_cm_listener *parent_listen_node, struct irdma_cm_info *nfo, u32 *ipaddr, bool ipv4, bool ifup) argument
4387 irdma_if_notify(struct irdma_device *iwdev, struct net_device *netdev, u32 *ipaddr, bool ipv4, bool ifup) argument
[all...]
/linux-master/net/tipc/
H A Dudp_media.c70 * @ipv4: IPv4 address of neighbor
77 struct in_addr ipv4; member in union:udp_media_addr::__anon4014
109 return ipv4_is_multicast(addr->ipv4.s_addr);
135 snprintf(buf, size, "%pI4:%u", &ua->ipv4, ntohs(ua->port));
181 .daddr = dst->ipv4.s_addr,
182 .saddr = src->ipv4.s_addr,
195 udp_tunnel_xmit_skb(rt, ub->ubsock->sk, skb, src->ipv4.s_addr,
196 dst->ipv4.s_addr, 0, ttl, 0, src->port,
321 pr_info("New replicast peer: %pI4\n", &rcast->addr.ipv4);
346 src.ipv4
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dfs_tcp.c36 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4),
39 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4),
42 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4);
44 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4);
217 src_ipv4_src_ipv6.ipv4_layout.ipv4);
219 dst_ipv4_dst_ipv6.ipv4_layout.ipv4);
/linux-master/net/psample/
H A Dpsample.c235 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))
325 if (tun_key->u.ipv4.src)
327 if (tun_key->u.ipv4.dst)
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_meta.sh58 meta nfproto ipv4 counter name "infproto4count"
72 meta nfproto ipv4 counter name "onfproto4count"
H A Dnft_synproxy.sh52 ip netns exec $nsr sysctl -q net.ipv4.conf.veth0.forwarding=1
53 ip netns exec $nsr sysctl -q net.ipv4.conf.veth1.forwarding=1
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dcq_enet_desc.h98 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok)
166 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
91 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) argument
/linux-master/drivers/scsi/fnic/
H A Dcq_enet_desc.h88 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok)
149 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
81 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) argument

Completed in 203 milliseconds

1234567891011>>