Lines Matching defs:sock
204 struct sock { struct
209 struct sock_common __sk_common; argument
227 socket_lock_t sk_lock; argument
233 struct {
236 } sk_backlog;
237 wait_queue_head_t *sk_sleep;
238 struct dst_entry *sk_dst_cache;
240 struct xfrm_policy *sk_policy[2];
242 rwlock_t sk_dst_lock;
243 atomic_t sk_rmem_alloc;
244 atomic_t sk_wmem_alloc;
245 atomic_t sk_omem_alloc;
246 int sk_sndbuf;
247 struct sk_buff_head sk_receive_queue;
248 struct sk_buff_head sk_write_queue;
250 struct sk_buff_head sk_async_wait_queue;
252 int sk_wmem_queued;
253 int sk_forward_alloc;
277 struct socket *sk_socket; argument
288 void (*sk_state_change)(struct sock *sk); argument
289 void (*sk_data_ready)(struct sock *sk, int bytes); argument
290 void (*sk_write_space)(struct sock *sk); argument
291 void (*sk_error_report)(struct sock *sk); argument
292 int (*sk_backlog_rcv)(struct sock *sk, argument
294 void (*sk_destruct)(struct sock *sk); argument
761 struct socket *sock; member
1074 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()