Lines Matching defs:sock

356 struct sock {  struct
361 struct sock_common __sk_common; argument
401 socket_lock_t sk_lock; argument
408 * the per-socket spinlock held and requires low latency argument
434 struct socket_wq __rcu *sk_wq; argument
440 struct xfrm_policy __rcu *sk_policy[2];
443 struct dst_entry __rcu *sk_dst_cache;
444 atomic_t sk_omem_alloc;
445 int sk_sndbuf;
448 int sk_wmem_queued;
449 refcount_t sk_wmem_alloc;
450 unsigned long sk_tsq_flags;
451 union {
475 * changes are protected by socket lock. argument
478 sk_kern_sock : 1, argument
479 sk_no_check_tx : 1,
480 sk_no_check_rx : 1,
481 sk_userlocks : 4;
482 u8 sk_pacing_shift;
483 u16 sk_type;
484 u16 sk_protocol;
485 u16 sk_gso_max_segs;
486 unsigned long sk_lingertime;
487 struct proto *sk_prot_creator;
488 rwlock_t sk_callback_lock;
489 int sk_err,
490 sk_err_soft;
491 u32 sk_ack_backlog;
492 u32 sk_max_ack_backlog;
493 kuid_t sk_uid;
494 u8 sk_txrehash;
496 u8 sk_prefer_busy_poll;
520 struct socket *sk_socket; argument
525 struct sock_cgroup_data sk_cgrp_data; argument
527 void (*sk_state_change)(struct sock *sk); argument
528 void (*sk_data_ready)(struct sock *sk); argument
529 void (*sk_write_space)(struct sock *sk); argument
530 void (*sk_error_report)(struct sock *sk); argument
531 int (*sk_backlog_rcv)(struct sock *sk, argument
534 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
538 void (*sk_destruct)(struct sock *sk); argument
539 struct sock_reuseport __rcu *sk_reuseport_cb; argument
557 * not be suitable for copying when cloning the socket. For instance, argument
2052 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2359 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()