/linux/include/net/ |
A D | inet_hashtables.h | 179 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 D | inet6_hashtables.h | 44 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 D | inet_timewait_sock.h | 89 struct inet_hashinfo *hashinfo); 96 struct inet_hashinfo *hashinfo); 113 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
|
A D | sock.h | 1252 struct inet_hashinfo *hashinfo; member
|
/linux/net/ipv4/ |
A D | inet_timewait_sock.c | 30 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 D | inet_hashtables.c | 108 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 D | raw_diag.c | 60 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 D | inet_diag.c | 511 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 D | inet_connection_sock.c | 192 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 D | tcp_ipv4.c | 3097 .h.hashinfo = &tcp_hashinfo, 3168 net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; in tcp_sk_init()
|
/linux/net/ipv6/ |
A D | inet6_hashtables.c | 52 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 D | tcp_ipv6.c | 2202 .h.hashinfo = &tcp_hashinfo,
|
/linux/include/linux/ |
A D | inet_diag.h | 53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, 58 struct inet_hashinfo *hashinfo,
|
/linux/include/net/netns/ |
A D | ipv4.h | 37 struct inet_hashinfo *hashinfo; member
|
/linux/net/dccp/ |
A D | minisocks.c | 26 .hashinfo = &dccp_hashinfo,
|
A D | ipv4.c | 973 .h.hashinfo = &dccp_hashinfo,
|
A D | ipv6.c | 1058 .h.hashinfo = &dccp_hashinfo,
|
/linux/drivers/net/hyperv/ |
A D | hyperv_net.h | 87 u32 hashinfo; member
|
A D | rndis_filter.c | 949 rssp->hashinfo = NDIS_HASH_FUNC_TOEPLITZ | NDIS_HASH_IPV4 | in rndis_set_rss_param_msg()
|
/linux/net/mptcp/ |
A D | protocol.c | 3526 mptcp_prot.h.hashinfo = tcp_prot.h.hashinfo; in mptcp_proto_init()
|