Lines Matching defs:sock
260 struct sock { struct
265 struct sock_common __sk_common; argument
281 socket_lock_t sk_lock; argument
285 * the per-socket spinlock held and requires low latency argument
306 struct socket_wq __rcu *sk_wq; argument
309 struct sk_buff_head sk_async_wait_queue;
313 struct xfrm_policy *sk_policy[2];
315 unsigned long sk_flags;
316 struct dst_entry *sk_dst_cache;
317 spinlock_t sk_dst_lock;
318 atomic_t sk_wmem_alloc;
319 atomic_t sk_omem_alloc;
320 int sk_sndbuf;
321 struct sk_buff_head sk_write_queue;
323 unsigned int sk_shutdown : 2,
324 sk_no_check : 2,
325 sk_userlocks : 4,
326 sk_protocol : 8,
327 sk_type : 16;
329 int sk_wmem_queued;
330 gfp_t sk_allocation;
331 netdev_features_t sk_route_caps;
355 struct socket *sk_socket; argument
367 void (*sk_state_change)(struct sock *sk); argument
368 void (*sk_data_ready)(struct sock *sk, int bytes); argument
369 void (*sk_write_space)(struct sock *sk); argument
370 void (*sk_error_report)(struct sock *sk); argument
371 int (*sk_backlog_rcv)(struct sock *sk, argument
373 void (*sk_destruct)(struct sock *sk); argument
1171 struct socket *sock; member
1532 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()