Lines Matching defs:sock
324 struct sock { struct
329 struct sock_common __sk_common; argument
364 socket_lock_t sk_lock; argument
372 * the per-socket spinlock held and requires low latency argument
396 struct socket_wq __rcu *sk_wq; argument
400 struct xfrm_policy __rcu *sk_policy[2];
402 struct dst_entry *sk_rx_dst;
403 struct dst_entry __rcu *sk_dst_cache;
404 atomic_t sk_omem_alloc;
405 int sk_sndbuf;
408 int sk_wmem_queued;
409 refcount_t sk_wmem_alloc;
410 unsigned long sk_tsq_flags;
411 union {
438 * changes are protected by socket lock. argument
456 sk_kern_sock : 1, argument
457 sk_no_check_tx : 1,
458 sk_no_check_rx : 1,
459 sk_userlocks : 4,
460 sk_protocol : 8,
461 sk_type : 16;
463 u16 sk_gso_max_segs;
464 u8 sk_pacing_shift;
465 unsigned long sk_lingertime;
466 struct proto *sk_prot_creator;
490 struct socket *sk_socket; argument
495 struct sock_cgroup_data sk_cgrp_data; argument
497 void (*sk_state_change)(struct sock *sk); argument
498 void (*sk_data_ready)(struct sock *sk); argument
499 void (*sk_write_space)(struct sock *sk); argument
500 void (*sk_error_report)(struct sock *sk); argument
501 int (*sk_backlog_rcv)(struct sock *sk, argument
504 struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, argument
508 void (*sk_destruct)(struct sock *sk); argument
509 struct sock_reuseport __rcu *sk_reuseport_cb; argument
528 * SK_CAN_REUSE and SK_NO_REUSE on a socket mean that the socket is OK argument
1799 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()
2104 static inline void sock_poll_wait(struct file *filp, struct socket *sock, in sock_poll_wait()