Home
last modified time | relevance | path

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

/include/net/
Dip_fib.h94 __be32 ipv4; member
124 #define fib_nh_gw4 nh_common.nhc_gw.ipv4
301 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] : in fib_get_table()
302 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]; in fib_get_table()
379 if (net->ipv4.fib_has_custom_rules) in fib_lookup()
386 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup()
393 tb = rcu_dereference_rtnl(net->ipv4.fib_default); in fib_lookup()
408 return net->ipv4.fib_has_custom_rules; in fib4_has_custom_rules()
423 if (!net->ipv4.fib_rules_require_fldissect) in fib4_rules_early_flow_dissect()
457 return atomic_read(&net->ipv4.fib_num_tclassid_users); in fib_num_tclassid_users()
[all …]
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()
429 return READ_ONCE(net->ipv4.sysctl_ip_nonlocal_bind) || in inet_can_nonlocal_bind()
Dudp.h253 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_udp_l3mdev_accept), in udp_sk_bound_dev_eq()
407 #define __UDPX_MIB(sk, ipv4) \ argument
409 ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
415 #define __UDPX_MIB(sk, ipv4) \ argument
460 struct sk_buff *skb, bool ipv4) in udp_rcv_segment() argument
506 SNMP_ADD_STATS(__UDPX_MIB(sk, ipv4), UDP_MIB_INERRORS, drop_count); in udp_rcv_segment()
Draw.h92 return inet_bound_dev_eq(READ_ONCE(net->ipv4.sysctl_raw_l3mdev_accept), in raw_sk_bound_dev_eq()
Dnet_namespace.h133 struct netns_ipv4 ipv4; member
522 return atomic_read(&net->ipv4.rt_genid); in rt_genid_ipv4()
534 atomic_inc(&net->ipv4.rt_genid); in rt_genid_bump_ipv4()
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
287 key->u.ipv4.src = saddr; in ip_tunnel_key_init()
288 key->u.ipv4.dst = daddr; in ip_tunnel_key_init()
Dip.h359 u32 range = READ_ONCE(net->ipv4.ip_local_ports.range); in inet_get_local_port_range()
369 if (!net->ipv4.sysctl_local_reserved_ports) in inet_is_local_reserved_port()
371 return test_bit(port, net->ipv4.sysctl_local_reserved_ports); in inet_is_local_reserved_port()
381 return port < READ_ONCE(net->ipv4.sysctl_ip_prot_sock); in inet_port_requires_bind_service()
408 (READ_ONCE((net)->ipv4.sysctl_fwmark_reflect) ? (mark) : 0)
481 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_use_pmtu) || in ip_dst_mtu_maybe_forward()
Dinet_connection_sock.h336 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh); in inet_csk_enter_pingpong_mode()
347 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh); in inet_csk_in_pingpong_mode()
Dnexthop.h37 __be32 ipv4; member
185 __be32 ipv4; member
Dinet_hashtables.h181 sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_or_dccp_get_hashinfo()
183 return sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_or_dccp_get_hashinfo()
Dtcp.h610 return READ_ONCE(net->ipv4.sysctl_tcp_ecn) || in cookie_ecn_ok()
1526 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check()
1656 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_intvl); in keepalive_intvl_when()
1667 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_time); in keepalive_time_when()
1680 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_probes); in keepalive_probes()
1694 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time()
1966 ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_ctx()
2239 return val ?: READ_ONCE(net->ipv4.sysctl_tcp_notsent_lowat); in tcp_notsent_lowat()
Droute.h373 hoplimit = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in ip4_dst_hoplimit()
Dvxlan.h571 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()
/include/net/netfilter/
Dnf_tables_offload.h47 struct flow_dissector_key_ipv4_addrs ipv4; member
Dnf_flow_table.h29 struct flow_dissector_key_ipv4_addrs ipv4; member
/include/trace/events/
Dfib.h73 *p32 = nhc->nhc_gw.ipv4;
/include/linux/
Dinetdevice.h58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/include/soc/mscc/
Docelot_vcap.h717 struct ocelot_vcap_key_ipv4 ipv4; member
/include/linux/mlx4/
Ddevice.h1263 struct mlx4_spec_ipv4 ipv4; member
1370 struct mlx4_net_trans_rule_hw_ipv4 ipv4; member
/include/uapi/linux/
Dbpf.h6418 } ipv4; member
/include/rdma/
Dib_verbs.h2072 struct ib_flow_spec_ipv4 ipv4; member
/include/linux/mlx5/
Dmlx5_ifc.h528 u8 ipv4[0x20]; member