Lines Matching defs:sock
352 struct sock { struct
357 struct sock_common __sk_common; argument
392 socket_lock_t sk_lock; argument
400 * the per-socket spinlock held and requires low latency argument
424 struct socket_wq __rcu *sk_wq; argument
430 struct xfrm_policy __rcu *sk_policy[2];
432 struct dst_entry __rcu *sk_rx_dst;
433 struct dst_entry __rcu *sk_dst_cache;
434 atomic_t sk_omem_alloc;
435 int sk_sndbuf;
438 int sk_wmem_queued;
439 refcount_t sk_wmem_alloc;
440 unsigned long sk_tsq_flags;
441 union {
468 * changes are protected by socket lock. argument
471 sk_kern_sock : 1, argument
472 sk_no_check_tx : 1,
473 sk_no_check_rx : 1,
474 sk_userlocks : 4;
475 u8 sk_pacing_shift;
476 u16 sk_type;
477 u16 sk_protocol;
478 u16 sk_gso_max_segs;
479 unsigned long sk_lingertime;
480 struct proto *sk_prot_creator;
481 rwlock_t sk_callback_lock;
482 int sk_err,
506 struct socket *sk_socket; argument
511 struct sock_cgroup_data sk_cgrp_data; argument
513 void (*sk_state_change)(struct sock *sk); argument
514 void (*sk_data_ready)(struct sock *sk); argument
515 void (*sk_write_space)(struct sock *sk); argument
516 void (*sk_error_report)(struct sock *sk); argument
517 int (*sk_backlog_rcv)(struct sock *sk, argument
520 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
524 void (*sk_destruct)(struct sock *sk); argument
525 struct sock_reuseport __rcu *sk_reuseport_cb; argument
541 * not be suitable for copying when cloning the socket. For instance, argument
1892 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2204 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()