Lines Matching refs:sock
42 u32 sk_ehashfn(const struct sock *sk) in sk_ehashfn()
90 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb, in inet_bind_hash()
106 static void __inet_put_port(struct sock *sk) in __inet_put_port()
126 void inet_put_port(struct sock *sk) in inet_put_port()
134 int __inet_inherit_port(struct sock *sk, struct sock *child) in __inet_inherit_port()
172 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
205 struct sock *__inet_lookup_listener(struct net *net, in __inet_lookup_listener()
211 struct sock *sk, *result; in __inet_lookup_listener()
262 void sock_gen_put(struct sock *sk) in sock_gen_put()
282 struct sock *__inet_lookup_established(struct net *net, in __inet_lookup_established()
290 struct sock *sk; in __inet_lookup_established()
333 struct sock *sk, __u16 lport, in __inet_check_established()
348 struct sock *sk2; in __inet_check_established()
402 static inline u32 inet_sk_port_offset(const struct sock *sk) in inet_sk_port_offset()
410 int __inet_hash_nolisten(struct sock *sk, struct inet_timewait_sock *tw) in __inet_hash_nolisten()
437 int __inet_hash(struct sock *sk, struct inet_timewait_sock *tw) in __inet_hash()
456 void inet_hash(struct sock *sk) in inet_hash()
466 void inet_unhash(struct sock *sk) in inet_unhash()
489 struct sock *sk, u32 port_offset, in __inet_hash_connect() argument
491 struct sock *, __u16, struct inet_timewait_sock **)) in __inet_hash_connect()
600 struct sock *sk) in inet_hash_connect()