Lines Matching defs:sock
353 struct sock { struct
358 struct sock_common __sk_common; argument
398 socket_lock_t sk_lock; argument
405 * the per-socket spinlock held and requires low latency argument
431 struct socket_wq __rcu *sk_wq; argument
437 struct xfrm_policy __rcu *sk_policy[2];
440 struct dst_entry __rcu *sk_dst_cache;
441 atomic_t sk_omem_alloc;
442 int sk_sndbuf;
445 int sk_wmem_queued;
446 refcount_t sk_wmem_alloc;
447 unsigned long sk_tsq_flags;
448 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;
491 u8 sk_txrehash;
516 struct socket *sk_socket; argument
521 struct sock_cgroup_data sk_cgrp_data; argument
523 void (*sk_state_change)(struct sock *sk); argument
524 void (*sk_data_ready)(struct sock *sk); argument
525 void (*sk_write_space)(struct sock *sk); argument
526 void (*sk_error_report)(struct sock *sk); argument
527 int (*sk_backlog_rcv)(struct sock *sk, argument
530 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
534 void (*sk_destruct)(struct sock *sk); argument
535 struct sock_reuseport __rcu *sk_reuseport_cb; argument
553 * not be suitable for copying when cloning the socket. For instance, argument
2071 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2378 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()