• Home
  • Raw
  • Download

Lines Matching defs:sock

355 struct sock {  struct
360 struct sock_common __sk_common; argument
395 socket_lock_t sk_lock; argument
403 * the per-socket spinlock held and requires low latency argument
427 struct socket_wq __rcu *sk_wq; argument
433 struct xfrm_policy __rcu *sk_policy[2];
435 struct dst_entry *sk_rx_dst;
436 struct dst_entry __rcu *sk_dst_cache;
437 atomic_t sk_omem_alloc;
438 int sk_sndbuf;
441 int sk_wmem_queued;
442 refcount_t sk_wmem_alloc;
443 unsigned long sk_tsq_flags;
444 union {
471 * changes are protected by socket lock. argument
474 sk_kern_sock : 1, argument
475 sk_no_check_tx : 1,
476 sk_no_check_rx : 1,
477 sk_userlocks : 4;
478 u8 sk_pacing_shift;
479 u16 sk_type;
480 u16 sk_protocol;
481 u16 sk_gso_max_segs;
482 unsigned long sk_lingertime;
483 struct proto *sk_prot_creator;
484 rwlock_t sk_callback_lock;
485 int sk_err,
509 struct socket *sk_socket; argument
514 struct sock_cgroup_data sk_cgrp_data; argument
516 void (*sk_state_change)(struct sock *sk); argument
517 void (*sk_data_ready)(struct sock *sk); argument
518 void (*sk_write_space)(struct sock *sk); argument
519 void (*sk_error_report)(struct sock *sk); argument
520 int (*sk_backlog_rcv)(struct sock *sk, argument
523 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
527 void (*sk_destruct)(struct sock *sk); argument
528 struct sock_reuseport __rcu *sk_reuseport_cb; argument
542 * when cloning the socket. For instance, it can point to a reference argument
554 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy() argument
1863 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2175 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()