Home
last modified time | relevance | path

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

/Linux-v6.1/include/net/
Dinet_hashtables.h145 struct inet_hashinfo { struct
178 static inline struct inet_hashinfo *tcp_or_dccp_get_hashinfo(const struct sock *sk) in tcp_or_dccp_get_hashinfo() argument
189 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash) in inet_lhash2_bucket()
195 struct inet_hashinfo *hashinfo, in inet_ehash_bucket()
202 struct inet_hashinfo *hashinfo, in inet_ehash_lockp()
208 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo);
210 static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h) in inet_hashinfo2_free_mod()
216 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free()
222 struct inet_hashinfo *inet_pernet_hashinfo_alloc(struct inet_hashinfo *hashinfo,
224 void inet_pernet_hashinfo_free(struct inet_hashinfo *hashinfo);
[all …]
Dinet6_hashtables.h25 struct inet_hashinfo;
44 struct inet_hashinfo *hashinfo,
52 struct inet_hashinfo *hashinfo,
61 struct inet_hashinfo *hashinfo, in __inet6_lookup()
81 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb()
99 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
Dinet_timewait_sock.h88 struct inet_hashinfo *hashinfo);
95 struct inet_hashinfo *hashinfo);
112 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
Dsock.h1209 struct inet_hashinfo;
1337 struct inet_hashinfo *hashinfo;
Dtcp.h49 extern struct inet_hashinfo tcp_hashinfo;
/Linux-v6.1/include/linux/
Dinet_diag.h8 struct inet_hashinfo;
50 void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo,
58 struct inet_hashinfo *hashinfo,
/Linux-v6.1/net/ipv4/
Dinet_hashtables.c175 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_put_port()
215 struct inet_hashinfo *table = tcp_or_dccp_get_hashinfo(sk); in __inet_inherit_port()
294 inet_lhash2_bucket_sk(struct inet_hashinfo *h, struct sock *sk) in inet_lhash2_bucket_sk()
385 struct inet_hashinfo *hashinfo, in inet_lookup_run_bpf()
408 struct inet_hashinfo *hashinfo, in __inet_lookup_listener()
471 struct inet_hashinfo *hashinfo, in __inet_lookup_established()
521 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established()
636 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in inet_ehash_insert()
708 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_hash()
754 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in inet_unhash()
[all …]
Dinet_timewait_sock.c30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash()
46 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill()
102 struct inet_hashinfo *hashinfo) in inet_twsk_hashdance()
257 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) in inet_twsk_purge()
Dtcp_diag.c184 struct inet_hashinfo *hinfo; in tcp_diag_dump()
194 struct inet_hashinfo *hinfo; in tcp_diag_dump_one()
206 struct inet_hashinfo *hinfo; in tcp_diag_destroy()
Dtcp_ipv4.c91 struct inet_hashinfo tcp_hashinfo;
2301 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_first()
2335 struct inet_hashinfo *hinfo; in listening_get_next()
2370 static inline bool empty_bucket(struct inet_hashinfo *hinfo, in empty_bucket()
2382 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_first()
2408 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_next()
2461 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seek_last_pos()
2550 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seq_stop()
2755 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in bpf_iter_tcp_listening_batch()
2783 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in bpf_iter_tcp_established_batch()
[all …]
Dinet_connection_sock.c288 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_find_open_port()
470 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_get_port()
913 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in reqsk_queue_unlink()
Dinet_diag.c511 struct inet_hashinfo *hashinfo, in inet_diag_find_one_icsk()
554 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, in inet_diag_dump_one_icsk()
1009 void inet_diag_dump_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *skb, in inet_diag_dump_icsk()
Dsysctl_net_ipv4.c391 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in proc_tcp_ehash_entries()
/Linux-v6.1/net/ipv6/
Dinet6_hashtables.c50 struct inet_hashinfo *hashinfo, in __inet6_lookup_established()
160 struct inet_hashinfo *hashinfo, in inet6_lookup_run_bpf()
185 struct inet_hashinfo *hashinfo, in inet6_lookup_listener()
226 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup()
247 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established()
/Linux-v6.1/include/net/netns/
Dipv4.h32 struct inet_hashinfo;
38 struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
/Linux-v6.1/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c82 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v4()
/Linux-v6.1/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c83 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v6()
/Linux-v6.1/net/mptcp/
Dmptcp_diag.c84 struct inet_hashinfo *hinfo; in mptcp_diag_dump_listeners()
/Linux-v6.1/net/dccp/
Ddccp.h49 extern struct inet_hashinfo dccp_hashinfo;
Dproto.c48 struct inet_hashinfo dccp_hashinfo;
/Linux-v6.1/net/core/
Dfilter.c6415 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in sk_lookup()