/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | inet6_hashtables.h | 52 extern void __inet6_hash(struct inet_hashinfo *hashinfo, struct sock *sk); 60 extern struct sock *__inet6_lookup_established(struct inet_hashinfo *hashinfo, 67 extern struct sock *inet6_lookup_listener(struct inet_hashinfo *hashinfo, 72 static inline struct sock *__inet6_lookup(struct inet_hashinfo *hashinfo, argument 79 struct sock *sk = __inet6_lookup_established(hashinfo, saddr, sport, 84 return inet6_lookup_listener(hashinfo, daddr, hnum, dif); 87 extern struct sock *inet6_lookup(struct inet_hashinfo *hashinfo,
|
H A D | inet_hashtables.h | 132 struct inet_hashinfo *hashinfo, 135 return &hashinfo->ehash[hash & (hashinfo->ehash_size - 1)]; 189 extern void inet_listen_wlock(struct inet_hashinfo *hashinfo); 196 static inline void inet_listen_lock(struct inet_hashinfo *hashinfo) argument 199 read_lock(&hashinfo->lhash_lock); 200 atomic_inc(&hashinfo->lhash_users); 201 read_unlock(&hashinfo->lhash_lock); 204 static inline void inet_listen_unlock(struct inet_hashinfo *hashinfo) argument 206 if (atomic_dec_and_test(&hashinfo 131 inet_ehash_bucket( struct inet_hashinfo *hashinfo, unsigned int hash) argument 210 __inet_hash(struct inet_hashinfo *hashinfo, struct sock *sk, const int listen_possible) argument 236 inet_hash(struct inet_hashinfo *hashinfo, struct sock *sk) argument 245 inet_unhash(struct inet_hashinfo *hashinfo, struct sock *sk) argument 279 inet_lookup_listener(struct inet_hashinfo *hashinfo, __be32 daddr, __be16 dport, int dif) argument 349 __inet_lookup_established(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif) argument 386 inet_lookup_established(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument 395 __inet_lookup(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument 406 inet_lookup(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument [all...] |
H A D | inet_timewait_sock.h | 81 struct inet_hashinfo *hashinfo; member in struct:inet_timewait_death_row 213 struct inet_hashinfo *hashinfo); 217 struct inet_hashinfo *hashinfo);
|
H A D | inet_connection_sock.h | 247 extern int inet_csk_get_port(struct inet_hashinfo *hashinfo,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | inet_hashtables.c | 67 static void __inet_put_port(struct inet_hashinfo *hashinfo, struct sock *sk) argument 69 const int bhash = inet_bhashfn(inet_sk(sk)->num, hashinfo->bhash_size); 70 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; 78 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); 82 void inet_put_port(struct inet_hashinfo *hashinfo, struct sock *sk) argument 85 __inet_put_port(hashinfo, sk); 98 void inet_listen_wlock(struct inet_hashinfo *hashinfo) argument 100 write_lock(&hashinfo->lhash_lock); 102 if (atomic_read(&hashinfo->lhash_users)) { 106 prepare_to_wait_exclusive(&hashinfo 165 __inet_lookup_listener(struct inet_hashinfo *hashinfo, const __be32 daddr, const unsigned short hnum, const int dif) argument [all...] |
H A D | inet_timewait_sock.c | 17 void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) argument 22 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, tw->tw_hash); 34 bhead = &hashinfo->bhash[inet_bhashfn(tw->tw_num, hashinfo->bhash_size)]; 39 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); 58 struct inet_hashinfo *hashinfo) 62 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash); 68 bhead = &hashinfo->bhash[inet_bhashfn(inet->num, hashinfo->bhash_size)]; 143 __inet_twsk_kill(tw, twdr->hashinfo); 57 __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, struct inet_hashinfo *hashinfo) argument [all...] |
H A D | inet_diag.c | 234 struct inet_hashinfo *hashinfo; local 239 hashinfo = handler->idiag_hashinfo; 242 sk = inet_lookup(hashinfo, req->id.idiag_dst[0], 248 sk = inet6_lookup(hashinfo, 678 struct inet_hashinfo *hashinfo; local 682 hashinfo = handler->idiag_hashinfo; 691 inet_listen_lock(hashinfo); 697 sk_for_each(sk, node, &hashinfo->listening_hash[i]) { 715 inet_listen_unlock(hashinfo); 724 inet_listen_unlock(hashinfo); [all...] |
H A D | inet_connection_sock.c | 68 int inet_csk_get_port(struct inet_hashinfo *hashinfo, argument 86 head = &hashinfo->bhash[inet_bhashfn(rover, hashinfo->bhash_size)]; 113 head = &hashinfo->bhash[inet_bhashfn(snum, hashinfo->bhash_size)]; 136 if (!tb && (tb = inet_bind_bucket_create(hashinfo->bind_bucket_cachep, head, snum)) == NULL)
|
H A D | tcp_minisocks.c | 44 .hashinfo = &tcp_hashinfo,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | inet6_hashtables.c | 25 void __inet6_hash(struct inet_hashinfo *hashinfo, argument 34 list = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; 35 lock = &hashinfo->lhash_lock; 36 inet_listen_wlock(hashinfo); 40 hash &= (hashinfo->ehash_size - 1); 41 list = &hashinfo->ehash[hash].chain; 42 lock = &hashinfo->ehash[hash].lock; 58 struct sock *__inet6_lookup_established(struct inet_hashinfo *hashinfo, argument 72 struct inet_ehash_bucket *head = inet_ehash_bucket(hashinfo, hash); 105 struct sock *inet6_lookup_listener(struct inet_hashinfo *hashinfo, argument 148 inet6_lookup(struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/ |
H A D | minisocks.c | 31 .hashinfo = &dccp_hashinfo,
|