Lines Matching refs:sock
63 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
77 * Get rid of any references to a local port held by the given sock.
79 static void __inet_put_port(struct sock *sk)
99 void inet_put_port(struct sock *sk)
107 void __inet_inherit_port(struct sock *sk, struct sock *child)
123 static inline int compute_score(struct sock *sk, struct net *net,
150 * BSD API does not allow a listening sock to specify the remote port nor the
156 struct sock *__inet_lookup_listener(struct net *net,
161 struct sock *sk, *result;
199 struct sock * BCMFASTPATH_HOST __inet_lookup_established(struct net *net,
207 struct sock *sk;
272 struct sock *sk, __u16 lport,
287 struct sock *sk2;
347 static inline u32 inet_sk_port_offset(const struct sock *sk)
355 int __inet_hash_nolisten(struct sock *sk, struct inet_timewait_sock *tw)
382 static void __inet_hash(struct sock *sk)
401 void inet_hash(struct sock *sk)
411 void inet_unhash(struct sock *sk)
434 struct sock *sk, u32 port_offset,
436 struct sock *, __u16, struct inet_timewait_sock **),
437 int (*hash)(struct sock *sk, struct inet_timewait_sock *twp))
545 struct sock *sk)