Home
last modified time | relevance | path

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

/Linux-v6.6/include/net/
Dinet_hashtables.h149 struct inet_hashinfo { struct
182 static inline struct inet_hashinfo *tcp_or_dccp_get_hashinfo(const struct sock *sk) in tcp_or_dccp_get_hashinfo() argument
193 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash) in inet_lhash2_bucket()
199 struct inet_hashinfo *hashinfo, in inet_ehash_bucket()
206 struct inet_hashinfo *hashinfo, in inet_ehash_lockp()
212 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo);
214 static inline void inet_hashinfo2_free_mod(struct inet_hashinfo *h) in inet_hashinfo2_free_mod()
220 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free()
226 struct inet_hashinfo *inet_pernet_hashinfo_alloc(struct inet_hashinfo *hashinfo,
228 void inet_pernet_hashinfo_free(struct inet_hashinfo *hashinfo);
[all …]
Dinet6_hashtables.h25 struct inet_hashinfo;
44 struct inet_hashinfo *hashinfo,
68 struct inet_hashinfo *hashinfo,
86 struct inet_hashinfo *hashinfo, in __inet6_lookup()
146 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb()
170 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
Dinet_timewait_sock.h93 struct inet_hashinfo *hashinfo);
100 struct inet_hashinfo *hashinfo);
117 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
Dsock.h1229 struct inet_hashinfo;
1358 struct inet_hashinfo *hashinfo;
Dtcp.h49 extern struct inet_hashinfo tcp_hashinfo;
/Linux-v6.6/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.6/net/ipv4/
Dinet_hashtables.c183 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_put_port()
223 struct inet_hashinfo *table = tcp_or_dccp_get_hashinfo(sk); in __inet_inherit_port()
302 inet_lhash2_bucket_sk(struct inet_hashinfo *h, struct sock *sk) in inet_lhash2_bucket_sk()
433 struct inet_hashinfo *hashinfo, in __inet_lookup_listener()
498 struct inet_hashinfo *hashinfo, in __inet_lookup_established()
548 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established()
663 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in inet_ehash_insert()
735 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_hash()
781 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in inet_unhash()
870 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_bhash2_addr_any_hashbucket()
[all …]
Dinet_timewait_sock.c30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash()
52 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill()
115 struct inet_hashinfo *hashinfo) in inet_twsk_hashdance()
281 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.c92 struct inet_hashinfo tcp_hashinfo;
2362 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_first()
2396 struct inet_hashinfo *hinfo; in listening_get_next()
2431 static inline bool empty_bucket(struct inet_hashinfo *hinfo, in empty_bucket()
2443 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_first()
2471 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_next()
2524 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seek_last_pos()
2612 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seq_stop()
2817 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in bpf_iter_tcp_listening_batch()
2845 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in bpf_iter_tcp_established_batch()
[all …]
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()
Dinet_connection_sock.c327 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_find_open_port()
509 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_get_port()
955 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in reqsk_queue_unlink()
Dsysctl_net_ipv4.c396 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in proc_tcp_ehash_entries()
/Linux-v6.6/net/ipv6/
Dinet6_hashtables.c51 struct inet_hashinfo *hashinfo, in __inet6_lookup_established()
204 struct inet_hashinfo *hashinfo, in inet6_lookup_listener()
247 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup()
268 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established()
/Linux-v6.6/include/net/netns/
Dipv4.h32 struct inet_hashinfo;
38 struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
/Linux-v6.6/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.6/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.6/net/mptcp/
Dmptcp_diag.c84 struct inet_hashinfo *hinfo; in mptcp_diag_dump_listeners()
/Linux-v6.6/net/dccp/
Ddccp.h49 extern struct inet_hashinfo dccp_hashinfo;
Dproto.c48 struct inet_hashinfo dccp_hashinfo;
/Linux-v6.6/net/core/
Dfilter.c6511 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in sk_lookup()