Lines Matching defs:sock

347 struct sock {  struct
352 struct sock_common __sk_common; argument
387 socket_lock_t sk_lock; argument
395 * the per-socket spinlock held and requires low latency argument
419 struct socket_wq __rcu *sk_wq; argument
425 struct xfrm_policy __rcu *sk_policy[2];
427 struct dst_entry *sk_rx_dst;
428 struct dst_entry __rcu *sk_dst_cache;
429 atomic_t sk_omem_alloc;
430 int sk_sndbuf;
433 int sk_wmem_queued;
434 refcount_t sk_wmem_alloc;
435 unsigned long sk_tsq_flags;
436 union {
463 * changes are protected by socket lock. argument
466 sk_kern_sock : 1, argument
467 sk_no_check_tx : 1,
468 sk_no_check_rx : 1,
469 sk_userlocks : 4;
470 u8 sk_pacing_shift;
471 u16 sk_type;
472 u16 sk_protocol;
473 u16 sk_gso_max_segs;
474 unsigned long sk_lingertime;
475 struct proto *sk_prot_creator;
499 struct socket *sk_socket; argument
504 struct sock_cgroup_data sk_cgrp_data; argument
506 void (*sk_state_change)(struct sock *sk); argument
507 void (*sk_data_ready)(struct sock *sk); argument
508 void (*sk_write_space)(struct sock *sk); argument
509 void (*sk_error_report)(struct sock *sk); argument
510 int (*sk_backlog_rcv)(struct sock *sk, argument
513 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
517 void (*sk_destruct)(struct sock *sk); argument
518 struct sock_reuseport __rcu *sk_reuseport_cb; argument
532 * when cloning the socket. For instance, it can point to a reference argument
544 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy() argument
1848 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2152 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()