Lines Matching refs:sock
31 #include <net/sock.h>
233 extern void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
242 static inline int inet_sk_listen_hashfn(const struct sock *sk)
248 extern void __inet_inherit_port(struct sock *sk, struct sock *child);
250 extern void inet_put_port(struct sock *sk);
254 extern int __inet_hash_nolisten(struct sock *sk, struct inet_timewait_sock *tw);
255 extern void inet_hash(struct sock *sk);
256 extern void inet_unhash(struct sock *sk);
258 extern struct sock *__inet_lookup_listener(struct net *net,
264 static inline struct sock *inet_lookup_listener(struct net *net,
334 extern struct sock * __inet_lookup_established(struct net *net,
339 static inline struct sock *
349 static inline struct sock *__inet_lookup(struct net *net,
356 struct sock *sk = __inet_lookup_established(net, hashinfo,
362 static inline struct sock *inet_lookup(struct net *net,
368 struct sock *sk;
377 static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo,
382 struct sock *sk;
394 struct sock *sk,
397 struct sock *, __u16, struct inet_timewait_sock **),
398 int (*hash)(struct sock *sk, struct inet_timewait_sock *twp));
401 struct sock *sk);