Lines Matching defs:sock
353 struct sock { struct
358 struct sock_common __sk_common; argument
393 socket_lock_t sk_lock; argument
401 * the per-socket spinlock held and requires low latency argument
425 struct socket_wq __rcu *sk_wq; argument
431 struct xfrm_policy __rcu *sk_policy[2];
433 struct dst_entry *sk_rx_dst;
434 struct dst_entry __rcu *sk_dst_cache;
435 atomic_t sk_omem_alloc;
436 int sk_sndbuf;
439 int sk_wmem_queued;
440 refcount_t sk_wmem_alloc;
441 unsigned long sk_tsq_flags;
442 union {
469 * changes are protected by socket lock. argument
472 sk_kern_sock : 1, argument
473 sk_no_check_tx : 1,
474 sk_no_check_rx : 1,
475 sk_userlocks : 4;
476 u8 sk_pacing_shift;
477 u16 sk_type;
478 u16 sk_protocol;
479 u16 sk_gso_max_segs;
480 unsigned long sk_lingertime;
481 struct proto *sk_prot_creator;
482 rwlock_t sk_callback_lock;
483 int sk_err,
484 sk_err_soft;
485 u32 sk_ack_backlog;
486 u32 sk_max_ack_backlog;
487 kuid_t sk_uid;
512 struct socket *sk_socket; argument
517 struct sock_cgroup_data sk_cgrp_data; argument
519 void (*sk_state_change)(struct sock *sk); argument
520 void (*sk_data_ready)(struct sock *sk); argument
521 void (*sk_write_space)(struct sock *sk); argument
522 void (*sk_error_report)(struct sock *sk); argument
523 int (*sk_backlog_rcv)(struct sock *sk, argument
526 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
530 void (*sk_destruct)(struct sock *sk); argument
531 struct sock_reuseport __rcu *sk_reuseport_cb; argument
545 * when cloning the socket. For instance, it can point to a reference argument
557 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy() argument
1917 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2229 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()