Lines Matching defs:sock
321 struct sock { struct
326 struct sock_common __sk_common; argument
358 socket_lock_t sk_lock; argument
362 * the per-socket spinlock held and requires low latency argument
387 struct socket_wq __rcu *sk_wq; argument
391 struct xfrm_policy __rcu *sk_policy[2];
393 struct dst_entry *sk_rx_dst;
394 struct dst_entry __rcu *sk_dst_cache;
396 atomic_t sk_wmem_alloc;
397 atomic_t sk_omem_alloc;
398 int sk_sndbuf;
399 struct sk_buff_head sk_write_queue;
401 unsigned int sk_shutdown : 2,
402 sk_no_check_tx : 1,
403 sk_no_check_rx : 1,
404 sk_userlocks : 4,
405 sk_protocol : 8,
406 sk_type : 16;
409 int sk_wmem_queued;
410 gfp_t sk_allocation;
411 u32 sk_pacing_rate; /* bytes per second */
412 u32 sk_max_pacing_rate;
413 netdev_features_t sk_route_caps;
414 netdev_features_t sk_route_nocaps;
415 int sk_gso_type;
439 struct socket *sk_socket; argument
453 void (*sk_state_change)(struct sock *sk); argument
454 void (*sk_data_ready)(struct sock *sk); argument
455 void (*sk_write_space)(struct sock *sk); argument
456 void (*sk_error_report)(struct sock *sk); argument
457 int (*sk_backlog_rcv)(struct sock *sk, argument
459 void (*sk_destruct)(struct sock *sk); argument
1651 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()