Lines Matching defs:sock

354 struct sock {  struct
359 struct sock_common __sk_common; argument
394 socket_lock_t sk_lock; argument
401 * the per-socket spinlock held and requires low latency argument
426 struct socket_wq __rcu *sk_wq; argument
432 struct xfrm_policy __rcu *sk_policy[2];
434 struct dst_entry __rcu *sk_rx_dst;
435 int sk_rx_dst_ifindex;
436 u32 sk_rx_dst_cookie;
438 struct dst_entry __rcu *sk_dst_cache;
439 atomic_t sk_omem_alloc;
440 int sk_sndbuf;
443 int sk_wmem_queued;
444 refcount_t sk_wmem_alloc;
445 unsigned long sk_tsq_flags;
446 union {
472 * changes are protected by socket lock. argument
475 sk_kern_sock : 1, argument
476 sk_no_check_tx : 1,
477 sk_no_check_rx : 1,
478 sk_userlocks : 4;
479 u8 sk_pacing_shift;
480 u16 sk_type;
481 u16 sk_protocol;
482 u16 sk_gso_max_segs;
483 unsigned long sk_lingertime;
484 struct proto *sk_prot_creator;
485 rwlock_t sk_callback_lock;
486 int sk_err,
487 sk_err_soft;
488 u32 sk_ack_backlog;
489 u32 sk_max_ack_backlog;
490 kuid_t sk_uid;
515 struct socket *sk_socket; argument
520 struct sock_cgroup_data sk_cgrp_data; argument
522 void (*sk_state_change)(struct sock *sk); argument
523 void (*sk_data_ready)(struct sock *sk); argument
524 void (*sk_write_space)(struct sock *sk); argument
525 void (*sk_error_report)(struct sock *sk); argument
526 int (*sk_backlog_rcv)(struct sock *sk, argument
529 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
533 void (*sk_destruct)(struct sock *sk); argument
534 struct sock_reuseport __rcu *sk_reuseport_cb; argument
548 * when cloning the socket. For instance, it can point to a reference argument
560 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy() argument
1962 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2274 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()