Home
last modified time | relevance | path

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

/include/net/
Dip_fib.h90 __be32 ipv4; member
119 #define fib_nh_gw4 nh_common.nhc_gw.ipv4
293 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] : in fib_get_table()
294 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]; in fib_get_table()
371 if (net->ipv4.fib_has_custom_rules) in fib_lookup()
378 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup()
385 tb = rcu_dereference_rtnl(net->ipv4.fib_default); in fib_lookup()
400 return net->ipv4.fib_has_custom_rules; in fib4_has_custom_rules()
415 if (!net->ipv4.fib_rules_require_fldissect) in fib4_rules_early_flow_dissect()
444 return atomic_read(&net->ipv4.fib_num_tclassid_users); in fib_num_tclassid_users()
Dinet_sock.h111 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept)) in inet_request_mark()
124 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_request_bound_dev_if()
136 if (!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_sk_bound_l3mdev()
156 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept), in inet_sk_bound_dev_eq()
389 return READ_ONCE(net->ipv4.sysctl_ip_nonlocal_bind) || in inet_can_nonlocal_bind()
Dudp.h265 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_udp_l3mdev_accept), in udp_sk_bound_dev_eq()
428 #define __UDPX_MIB(sk, ipv4) \ argument
430 ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
436 #define __UDPX_MIB(sk, ipv4) \ argument
482 struct sk_buff *skb, bool ipv4) in udp_rcv_segment() argument
512 SNMP_ADD_STATS(__UDPX_MIB(sk, ipv4), UDP_MIB_INERRORS, segs_nr); in udp_rcv_segment()
Draw.h78 return inet_bound_dev_eq(READ_ONCE(net->ipv4.sysctl_raw_l3mdev_accept), in raw_sk_bound_dev_eq()
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))
45 } ipv4; member
177 key->u.ipv4.src = saddr; in ip_tunnel_key_init()
178 key->u.ipv4.dst = daddr; in ip_tunnel_key_init()
Dnet_namespace.h123 struct netns_ipv4 ipv4; member
435 return atomic_read(&net->ipv4.rt_genid); in rt_genid_ipv4()
447 atomic_inc(&net->ipv4.rt_genid); in rt_genid_bump_ipv4()
Dip.h346 if (!net->ipv4.sysctl_local_reserved_ports) in inet_is_local_reserved_port()
348 return test_bit(port, net->ipv4.sysctl_local_reserved_ports); in inet_is_local_reserved_port()
353 if (!net->ipv4.sysctl_local_unbindable_ports) in inet_is_local_unbindable_port()
355 return test_bit(port, net->ipv4.sysctl_local_unbindable_ports); in inet_is_local_unbindable_port()
365 return port < READ_ONCE(net->ipv4.sysctl_ip_prot_sock); in inet_port_requires_bind_service()
397 (READ_ONCE((net)->ipv4.sysctl_fwmark_reflect) ? (mark) : 0)
459 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_use_pmtu) || in ip_dst_mtu_maybe_forward()
Dnexthop.h37 __be32 ipv4; member
173 __be32 ipv4; member
Dtcp.h1402 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check()
1418 int tcp_adv_win_scale = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_adv_win_scale); in tcp_win_from_space()
1487 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_intvl); in keepalive_intvl_when()
1498 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_time); in keepalive_time_when()
1511 return val ? : READ_ONCE(net->ipv4.sysctl_tcp_keepalive_probes); in keepalive_probes()
1525 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time()
1760 ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_ctx()
2023 return val ?: READ_ONCE(net->ipv4.sysctl_tcp_notsent_lowat); in tcp_notsent_lowat()
Dvxlan.h511 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()
Droute.h363 hoplimit = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in ip4_dst_hoplimit()
/include/trace/hooks/
Dipv4.h4 #define TRACE_SYSTEM ipv4
/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.h74 *p32 = nhc->nhc_gw.ipv4;
/include/linux/
Dinetdevice.h55 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
/include/linux/mlx5/
Dmlx5_ifc_fpga.h38 u8 ipv4[0x20]; member
/include/soc/mscc/
Docelot_vcap.h686 struct ocelot_vcap_key_ipv4 ipv4; member
/include/linux/mlx4/
Ddevice.h1243 struct mlx4_spec_ipv4 ipv4; member
1350 struct mlx4_net_trans_rule_hw_ipv4 ipv4; member
/include/uapi/linux/
Dbpf.h5439 } ipv4; member
/include/rdma/
Dib_verbs.h2056 struct ib_flow_spec_ipv4 ipv4; member