Lines Matching defs:sock
327 struct sock { struct
332 struct sock_common __sk_common; argument
367 socket_lock_t sk_lock; argument
374 * the per-socket spinlock held and requires low latency argument
398 struct socket_wq __rcu *sk_wq; argument
402 struct xfrm_policy __rcu *sk_policy[2];
404 struct dst_entry *sk_rx_dst;
405 struct dst_entry __rcu *sk_dst_cache;
406 atomic_t sk_omem_alloc;
407 int sk_sndbuf;
410 int sk_wmem_queued;
411 refcount_t sk_wmem_alloc;
412 unsigned long sk_tsq_flags;
413 union {
439 * changes are protected by socket lock. argument
457 sk_kern_sock : 1, argument
458 sk_no_check_tx : 1,
459 sk_no_check_rx : 1,
460 sk_userlocks : 4,
461 sk_protocol : 8,
462 sk_type : 16;
464 u16 sk_gso_max_segs;
465 u8 sk_pacing_shift;
466 unsigned long sk_lingertime;
467 struct proto *sk_prot_creator;
491 struct socket *sk_socket; argument
496 struct sock_cgroup_data sk_cgrp_data; argument
498 void (*sk_state_change)(struct sock *sk); argument
499 void (*sk_data_ready)(struct sock *sk); argument
500 void (*sk_write_space)(struct sock *sk); argument
501 void (*sk_error_report)(struct sock *sk); argument
502 int (*sk_backlog_rcv)(struct sock *sk, argument
505 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
509 void (*sk_destruct)(struct sock *sk); argument
510 struct sock_reuseport __rcu *sk_reuseport_cb; argument
526 * SK_CAN_REUSE and SK_NO_REUSE on a socket mean that the socket is OK argument
1780 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2090 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()