Home
last modified time | relevance | path

Searched refs:hashinfo (Results 1 – 20 of 20) sorted by relevance

/linux/include/net/
A Dinet_hashtables.h179 struct inet_hashinfo *hashinfo, in inet_ehash_bucket() argument
182 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket()
186 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() argument
189 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp()
202 kvfree(hashinfo->ehash_locks); in inet_ehash_locks_free()
203 hashinfo->ehash_locks = NULL; in inet_ehash_locks_free()
264 struct inet_hashinfo *hashinfo,
272 struct inet_hashinfo *hashinfo, in inet_lookup_listener() argument
333 struct inet_hashinfo *hashinfo,
349 struct inet_hashinfo *hashinfo, in __inet_lookup() argument
[all …]
A Dinet6_hashtables.h44 struct inet_hashinfo *hashinfo,
52 struct inet_hashinfo *hashinfo,
61 struct inet_hashinfo *hashinfo, in __inet6_lookup() argument
70 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup()
77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup()
81 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb() argument
93 return __inet6_lookup(dev_net(skb_dst(skb)->dev), hashinfo, skb, in __inet6_lookup_skb()
99 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
A Dinet_timewait_sock.h89 struct inet_hashinfo *hashinfo);
96 struct inet_hashinfo *hashinfo);
113 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
A Dsock.h1252 struct inet_hashinfo *hashinfo; member
/linux/net/ipv4/
A Dinet_timewait_sock.c30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash() argument
39 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in inet_twsk_bind_unhash()
46 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill() local
47 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill()
56 hashinfo->bhash_size)]; in inet_twsk_kill()
59 inet_twsk_bind_unhash(tw, hashinfo); in inet_twsk_kill()
102 struct inet_hashinfo *hashinfo) in inet_twsk_hashdance() argument
107 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_twsk_hashdance()
114 hashinfo->bhash_size)]; in inet_twsk_hashdance()
264 for (slot = 0; slot <= hashinfo->ehash_mask; slot++) { in inet_twsk_purge()
[all …]
A Dinet_hashtables.c108 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in __inet_put_port() local
110 hashinfo->bhash_size); in __inet_put_port()
315 if (hashinfo != &tcp_hashinfo) in inet_lookup_run_bpf()
330 struct inet_hashinfo *hashinfo, in __inet_lookup_listener() argument
393 struct inet_hashinfo *hashinfo, in __inet_lookup_established() argument
563 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in inet_ehash_insert() local
635 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in __inet_hash() local
657 inet_hash2(hashinfo, sk); in __inet_hash()
684 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in inet_unhash() local
704 inet_unhash2(hashinfo, sk); in inet_unhash()
[all …]
A Draw_diag.c60 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_sock_get() local
64 if (IS_ERR(hashinfo)) in raw_sock_get()
65 return ERR_CAST(hashinfo); in raw_sock_get()
67 read_lock(&hashinfo->lock); in raw_sock_get()
69 sk_for_each(s, &hashinfo->ht[slot]) { in raw_sock_get()
85 read_unlock(&hashinfo->lock); in raw_sock_get()
142 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_diag_dump() local
149 if (IS_ERR(hashinfo)) in raw_diag_dump()
157 read_lock(&hashinfo->lock); in raw_diag_dump()
161 sk_for_each(sk, &hashinfo->ht[slot]) { in raw_diag_dump()
[all …]
A Dinet_diag.c511 struct inet_hashinfo *hashinfo, in inet_diag_find_one_icsk() argument
518 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[0], in inet_diag_find_one_icsk()
525 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[3], in inet_diag_find_one_icsk()
529 sk = inet6_lookup(net, hashinfo, NULL, 0, in inet_diag_find_one_icsk()
554 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, in inet_diag_dump_one_icsk() argument
565 sk = inet_diag_find_one_icsk(net, hashinfo, req); 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() argument
1036 ilb = &hashinfo->listening_hash[i]; in inet_diag_dump_icsk()
1083 for (i = s_i; i <= hashinfo->ehash_mask; i++) { in inet_diag_dump_icsk()
1084 struct inet_ehash_bucket *head = &hashinfo->ehash[i]; in inet_diag_dump_icsk()
[all …]
A Dinet_connection_sock.c192 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_find_open_port()
365 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_get_port()
762 struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; in reqsk_queue_unlink() local
766 spinlock_t *lock = inet_ehash_lockp(hashinfo, req->rsk_hash); in reqsk_queue_unlink()
A Dtcp_ipv4.c3097 .h.hashinfo = &tcp_hashinfo,
3168 net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; in tcp_sk_init()
/linux/net/ipv6/
A Dinet6_hashtables.c52 struct inet_hashinfo *hashinfo, in __inet6_lookup_established() argument
66 unsigned int slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established()
67 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established()
163 struct inet_hashinfo *hashinfo, in inet6_lookup_run_bpf() argument
173 if (hashinfo != &tcp_hashinfo) in inet6_lookup_run_bpf()
188 struct inet_hashinfo *hashinfo, in inet6_lookup_listener() argument
200 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener()
207 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
217 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
238 sk = __inet6_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet6_lookup()
[all …]
A Dtcp_ipv6.c2202 .h.hashinfo = &tcp_hashinfo,
/linux/include/linux/
A Dinet_diag.h53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo,
58 struct inet_hashinfo *hashinfo,
/linux/include/net/netns/
A Dipv4.h37 struct inet_hashinfo *hashinfo; member
/linux/net/dccp/
A Dminisocks.c26 .hashinfo = &dccp_hashinfo,
A Dipv4.c973 .h.hashinfo = &dccp_hashinfo,
A Dipv6.c1058 .h.hashinfo = &dccp_hashinfo,
/linux/drivers/net/hyperv/
A Dhyperv_net.h87 u32 hashinfo; member
A Drndis_filter.c949 rssp->hashinfo = NDIS_HASH_FUNC_TOEPLITZ | NDIS_HASH_IPV4 | in rndis_set_rss_param_msg()
/linux/net/mptcp/
A Dprotocol.c3526 mptcp_prot.h.hashinfo = tcp_prot.h.hashinfo; in mptcp_proto_init()

Completed in 71 milliseconds