Home
last modified time | relevance | path

Searched refs:ipv4 (Results 1 – 23 of 23) sorted by relevance

/include/net/
A Dip_fib.h94 __be32 ipv4; member
124 #define fib_nh_gw4 nh_common.nhc_gw.ipv4
303 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] : in fib_get_table()
304 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]; in fib_get_table()
381 if (net->ipv4.fib_has_custom_rules) in fib_lookup()
388 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup()
395 tb = rcu_dereference_rtnl(net->ipv4.fib_default); in fib_lookup()
410 return net->ipv4.fib_has_custom_rules; in fib4_has_custom_rules()
425 if (!net->ipv4.fib_rules_require_fldissect) in fib4_rules_early_flow_dissect()
472 return atomic_read(&net->ipv4.fib_num_tclassid_users); in fib_num_tclassid_users()
[all …]
A Dinet_sock.h113 if (!mark && READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept)) in inet_request_mark()
126 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_request_bound_dev_if()
138 if (!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_sk_bound_l3mdev()
159 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept), in inet_sk_bound_dev_eq()
437 return READ_ONCE(net->ipv4.sysctl_ip_nonlocal_bind) || in inet_can_nonlocal_bind()
A Dudp.h378 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_udp_l3mdev_accept), in udp_sk_bound_dev_eq()
532 #define __UDPX_MIB(sk, ipv4) \ argument
534 ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
540 #define __UDPX_MIB(sk, ipv4) \ argument
585 struct sk_buff *skb, bool ipv4) in udp_rcv_segment() argument
631 SNMP_ADD_STATS(__UDPX_MIB(sk, ipv4), UDP_MIB_INERRORS, drop_count); in udp_rcv_segment()
A Draw.h92 return inet_bound_dev_eq(READ_ONCE(net->ipv4.sysctl_raw_l3mdev_accept), in raw_sk_bound_dev_eq()
A Dnet_namespace.h136 struct netns_ipv4 ipv4; member
531 return atomic_read(&net->ipv4.rt_genid); in rt_genid_ipv4()
543 atomic_inc(&net->ipv4.rt_genid); in rt_genid_bump_ipv4()
A Dip_tunnels.h34 #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst)
37 sizeof_field(struct ip_tunnel_key, u.ipv4))
63 } ipv4; member
288 key->u.ipv4.src = saddr; in ip_tunnel_key_init()
289 key->u.ipv4.dst = daddr; in ip_tunnel_key_init()
A Dip.h354 u32 range = READ_ONCE(net->ipv4.ip_local_ports.range); in inet_get_local_port_range()
364 if (!net->ipv4.sysctl_local_reserved_ports) in inet_is_local_reserved_port()
366 return test_bit(port, net->ipv4.sysctl_local_reserved_ports); in inet_is_local_reserved_port()
376 return port < READ_ONCE(net->ipv4.sysctl_ip_prot_sock); in inet_port_requires_bind_service()
403 (READ_ONCE((net)->ipv4.sysctl_fwmark_reflect) ? (mark) : 0)
476 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_use_pmtu) || in ip_dst_mtu_maybe_forward()
A Dinet_connection_sock.h333 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh); in inet_csk_enter_pingpong_mode()
344 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh); in inet_csk_in_pingpong_mode()
A Dnexthop.h37 __be32 ipv4; member
187 __be32 ipv4; member
A Dtcp.h650 return READ_ONCE(net->ipv4.sysctl_tcp_ecn) || in cookie_ecn_ok()
1581 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check()
1711 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_intvl); in keepalive_intvl_when()
1722 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_time); in keepalive_time_when()
1735 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_probes); in keepalive_probes()
1749 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time()
2015 ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_ctx()
2288 return val ?: READ_ONCE(net->ipv4.sysctl_tcp_notsent_lowat); in tcp_notsent_lowat()
A Droute.h394 hoplimit = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in ip4_dst_hoplimit()
A Dvxlan.h576 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()
A Dinet_hashtables.h180 return sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_get_hashinfo()
/include/net/netfilter/
A Dnf_tables_offload.h47 struct flow_dissector_key_ipv4_addrs ipv4; member
A Dnf_flow_table.h29 struct flow_dissector_key_ipv4_addrs ipv4; member
/include/trace/events/
A Dfib.h73 *p32 = nhc->nhc_gw.ipv4;
/include/linux/
A Dudp.h235 return rcu_dereference(net->ipv4.udp_tunnel_gro[is_ipv6].sk); in udp_tunnel_sk()
A Dinetdevice.h58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/include/soc/mscc/
A Docelot_vcap.h717 struct ocelot_vcap_key_ipv4 ipv4; member
/include/linux/mlx4/
A Ddevice.h1263 struct mlx4_spec_ipv4 ipv4; member
1370 struct mlx4_net_trans_rule_hw_ipv4 ipv4; member
/include/uapi/linux/
A Dbpf.h6463 } ipv4; member
/include/rdma/
A Dib_verbs.h2112 struct ib_flow_spec_ipv4 ipv4; member
/include/linux/mlx5/
A Dmlx5_ifc.h533 u8 ipv4[0x20]; member

Completed in 913 milliseconds