Lines Matching defs:sock
301 struct sock { struct
306 struct sock_common __sk_common; argument
333 socket_lock_t sk_lock; argument
337 * the per-socket spinlock held and requires low latency argument
363 struct socket_wq __rcu *sk_wq; argument
366 struct xfrm_policy *sk_policy[2];
368 unsigned long sk_flags;
369 struct dst_entry *sk_rx_dst;
370 struct dst_entry __rcu *sk_dst_cache;
371 spinlock_t sk_dst_lock;
372 atomic_t sk_wmem_alloc;
373 atomic_t sk_omem_alloc;
374 int sk_sndbuf;
375 struct sk_buff_head sk_write_queue;
377 unsigned int sk_shutdown : 2,
378 sk_no_check_tx : 1,
379 sk_no_check_rx : 1,
380 sk_userlocks : 4,
381 sk_protocol : 8,
383 sk_type : 16;
385 int sk_wmem_queued;
386 gfp_t sk_allocation;
387 u32 sk_pacing_rate; /* bytes per second */
388 u32 sk_max_pacing_rate;
389 netdev_features_t sk_route_caps;
390 netdev_features_t sk_route_nocaps;
391 int sk_gso_type;
392 unsigned int sk_gso_max_size;
416 struct socket *sk_socket; argument
429 void (*sk_state_change)(struct sock *sk); argument
430 void (*sk_data_ready)(struct sock *sk); argument
431 void (*sk_write_space)(struct sock *sk); argument
432 void (*sk_error_report)(struct sock *sk); argument
433 int (*sk_backlog_rcv)(struct sock *sk, argument
435 void (*sk_destruct)(struct sock *sk); argument
1392 struct socket *sock; member
1708 static inline void sk_set_socket(struct sock *sk, struct socket *sock) in sk_set_socket()