Lines Matching defs:sock
346 struct sock { struct
351 struct sock_common __sk_common; argument
386 socket_lock_t sk_lock; argument
394 * the per-socket spinlock held and requires low latency argument
418 struct socket_wq __rcu *sk_wq; argument
424 struct xfrm_policy __rcu *sk_policy[2];
426 struct dst_entry __rcu *sk_rx_dst;
427 struct dst_entry __rcu *sk_dst_cache;
428 atomic_t sk_omem_alloc;
429 int sk_sndbuf;
432 int sk_wmem_queued;
433 refcount_t sk_wmem_alloc;
434 unsigned long sk_tsq_flags;
435 union {
462 * changes are protected by socket lock. argument
465 sk_kern_sock : 1, argument
466 sk_no_check_tx : 1,
467 sk_no_check_rx : 1,
468 sk_userlocks : 4;
469 u8 sk_pacing_shift;
470 u16 sk_type;
471 u16 sk_protocol;
472 u16 sk_gso_max_segs;
473 unsigned long sk_lingertime;
474 struct proto *sk_prot_creator;
475 rwlock_t sk_callback_lock;
476 int sk_err,
477 sk_err_soft;
478 u32 sk_ack_backlog;
479 u32 sk_max_ack_backlog;
480 kuid_t sk_uid;
504 struct socket *sk_socket; argument
509 struct sock_cgroup_data sk_cgrp_data; argument
511 void (*sk_state_change)(struct sock *sk); argument
512 void (*sk_data_ready)(struct sock *sk); argument
513 void (*sk_write_space)(struct sock *sk); argument
514 void (*sk_error_report)(struct sock *sk); argument
515 int (*sk_backlog_rcv)(struct sock *sk, argument
518 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
522 void (*sk_destruct)(struct sock *sk); argument
523 struct sock_reuseport __rcu *sk_reuseport_cb; argument
525 struct bpf_local_storage __rcu *sk_bpf_storage;
527 struct rcu_head sk_rcu;
1900 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2212 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()