Lines Matching defs:sock
326 struct sock { struct
331 struct sock_common __sk_common; argument
366 socket_lock_t sk_lock; argument
373 * the per-socket spinlock held and requires low latency argument
397 struct socket_wq __rcu *sk_wq; argument
401 struct xfrm_policy __rcu *sk_policy[2];
403 struct dst_entry *sk_rx_dst;
404 struct dst_entry __rcu *sk_dst_cache;
405 atomic_t sk_omem_alloc;
406 int sk_sndbuf;
409 int sk_wmem_queued;
410 refcount_t sk_wmem_alloc;
411 unsigned long sk_tsq_flags;
412 union {
438 * changes are protected by socket lock. argument
456 sk_kern_sock : 1, argument
457 sk_no_check_tx : 1,
458 sk_no_check_rx : 1,
459 sk_userlocks : 4,
460 sk_protocol : 8,
461 sk_type : 16;
463 u16 sk_gso_max_segs;
487 struct socket *sk_socket; argument
492 struct sock_cgroup_data sk_cgrp_data; argument
494 void (*sk_state_change)(struct sock *sk); argument
495 void (*sk_data_ready)(struct sock *sk); argument
496 void (*sk_write_space)(struct sock *sk); argument
497 void (*sk_error_report)(struct sock *sk); argument
498 int (*sk_backlog_rcv)(struct sock *sk, argument
501 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
505 void (*sk_destruct)(struct sock *sk); argument
506 struct sock_reuseport __rcu *sk_reuseport_cb; argument
522 * SK_CAN_REUSE and SK_NO_REUSE on a socket mean that the socket is OK argument
1760 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2066 struct socket *sock = filp->private_data; in sock_poll_wait() local