Lines Matching defs:sock

357 struct sock {  struct
362 struct sock_common __sk_common; argument
402 socket_lock_t sk_lock; argument
409 * the per-socket spinlock held and requires low latency argument
436 struct socket_wq __rcu *sk_wq; argument
442 struct xfrm_policy __rcu *sk_policy[2];
445 struct dst_entry __rcu *sk_dst_cache;
446 atomic_t sk_omem_alloc;
447 int sk_sndbuf;
450 int sk_wmem_queued;
451 refcount_t sk_wmem_alloc;
452 unsigned long sk_tsq_flags;
453 union {
477 * changes are protected by socket lock. argument
480 sk_kern_sock : 1, argument
481 sk_no_check_tx : 1,
482 sk_no_check_rx : 1,
483 sk_userlocks : 4;
484 u8 sk_pacing_shift;
485 u16 sk_type;
486 u16 sk_protocol;
487 u16 sk_gso_max_segs;
488 unsigned long sk_lingertime;
489 struct proto *sk_prot_creator;
490 rwlock_t sk_callback_lock;
491 int sk_err,
492 sk_err_soft;
493 u32 sk_ack_backlog;
494 u32 sk_max_ack_backlog;
495 kuid_t sk_uid;
496 u8 sk_txrehash;
498 u8 sk_prefer_busy_poll;
522 struct socket *sk_socket; argument
527 struct sock_cgroup_data sk_cgrp_data; argument
529 void (*sk_state_change)(struct sock *sk); argument
530 void (*sk_data_ready)(struct sock *sk); argument
531 void (*sk_write_space)(struct sock *sk); argument
532 void (*sk_error_report)(struct sock *sk); argument
533 int (*sk_backlog_rcv)(struct sock *sk, argument
536 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
540 void (*sk_destruct)(struct sock *sk); argument
541 struct sock_reuseport __rcu *sk_reuseport_cb; argument
559 * not be suitable for copying when cloning the socket. For instance, argument
2097 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2398 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()