Lines Matching defs:sock
301 struct sock { struct
306 struct sock_common __sk_common; argument
334 socket_lock_t sk_lock; argument
338 * the per-socket spinlock held and requires low latency argument
344 struct {
370 struct socket_wq __rcu *sk_wq; argument
373 struct xfrm_policy *sk_policy[2];
375 unsigned long sk_flags;
376 struct dst_entry *sk_rx_dst;
377 struct dst_entry __rcu *sk_dst_cache;
378 spinlock_t sk_dst_lock;
379 atomic_t sk_wmem_alloc;
380 atomic_t sk_omem_alloc;
381 int sk_sndbuf;
382 struct sk_buff_head sk_write_queue;
384 unsigned int sk_shutdown : 2,
385 sk_no_check_tx : 1,
386 sk_no_check_rx : 1,
387 sk_userlocks : 4,
388 sk_protocol : 8,
390 sk_type : 16;
392 int sk_wmem_queued;
393 gfp_t sk_allocation;
394 u32 sk_pacing_rate; /* bytes per second */
395 u32 sk_max_pacing_rate;
396 netdev_features_t sk_route_caps;
397 netdev_features_t sk_route_nocaps;
398 int sk_gso_type;
399 unsigned int sk_gso_max_size;
423 struct socket *sk_socket; argument
435 void (*sk_state_change)(struct sock *sk); argument
436 void (*sk_data_ready)(struct sock *sk); argument
437 void (*sk_write_space)(struct sock *sk); argument
438 void (*sk_error_report)(struct sock *sk); argument
439 int (*sk_backlog_rcv)(struct sock *sk, argument
441 void (*sk_destruct)(struct sock *sk); argument
1660 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()