ReactOS 0.4.16-dev-340-g0540c21
sock Struct Reference

#include <tcpcore.h>

Collaboration diagram for sock:

Public Attributes

__u32 daddr
 
__u32 rcv_saddr
 
__u16 dport
 
unsigned short num
 
int bound_dev_if
 
struct socknext
 
struct sock ** pprev
 
struct sockbind_next
 
struct sock ** bind_pprev
 
volatile unsigned char state
 
volatile unsigned char zapped
 
__u16 sport
 
unsigned short family
 
unsigned char reuse
 
unsigned char shutdown
 
atomic_t refcnt
 
socket_lock_t lock
 
int rcvbuf
 
wait_queue_head_tsleep
 
struct dst_entrydst_cache
 
rwlock_t dst_lock
 
atomic_t rmem_alloc
 
struct sk_buff_head receive_queue
 
atomic_t wmem_alloc
 
struct sk_buff_head write_queue
 
atomic_t omem_alloc
 
int wmem_queued
 
int forward_alloc
 
__u32 saddr
 
unsigned int allocation
 
int sndbuf
 
struct sockprev
 
volatile char dead
 
volatile char done
 
volatile char urginline
 
volatile char keepopen
 
volatile char linger
 
volatile char destroy
 
volatile char no_check
 
volatile char broadcast
 
volatile char bsdism
 
unsigned char debug
 
unsigned char rcvtstamp
 
unsigned char use_write_queue
 
unsigned char userlocks
 
int route_caps
 
int proc
 
unsigned long lingertime
 
int hashent
 
struct sockpair
 
struct {
   struct sk_buff *   head
 
   struct sk_buff *   tail
 
backlog
 
rwlock_t callback_lock
 
struct sk_buff_head error_queue
 
struct protoprot
 
union {
   struct tcp_opt   af_tcp
 
tp_pinfo
 
int err
 
int err_soft
 
unsigned short ack_backlog
 
unsigned short max_ack_backlog
 
__u32 priority
 
unsigned short type
 
unsigned char localroute
 
unsigned char protocol
 
int rcvlowat
 
long rcvtimeo
 
long sndtimeo
 
union {
   void *   destruct_hook
 
   struct netlink_opt *   af_netlink
 
protinfo
 
struct timer_list timer
 
struct timeval stamp
 
struct socket * socket
 
voiduser_data
 
void(* state_change )(struct sock *sk)
 
void(* data_ready )(struct sock *sk, int bytes)
 
void(* write_space )(struct sock *sk)
 
void(* error_report )(struct sock *sk)
 
int(* backlog_rcv )(struct sock *sk, struct sk_buff *skb)
 
void(* destruct )(struct sock *sk)
 

Detailed Description

Definition at line 1455 of file tcpcore.h.

Member Data Documentation

◆ ack_backlog

unsigned short sock::ack_backlog

Definition at line 1560 of file tcpcore.h.

Referenced by tcp_acceptq_queue().

◆ af_netlink

struct netlink_opt* sock::af_netlink

Definition at line 1612 of file tcpcore.h.

◆ af_tcp

struct tcp_opt sock::af_tcp

Definition at line 1543 of file tcpcore.h.

Referenced by tcp_fast_path_on(), tcp_mem_reclaim(), and tcp_synq_len().

◆ allocation

unsigned int sock::allocation

Definition at line 1492 of file tcpcore.h.

Referenced by tcp_rfree().

◆ 

struct { ... } sock::backlog

◆ backlog_rcv

int(* sock::backlog_rcv) (struct sock *sk, struct sk_buff *skb)

Definition at line 1644 of file tcpcore.h.

◆ bind_next

struct sock* sock::bind_next

Definition at line 1466 of file tcpcore.h.

◆ bind_pprev

struct sock** sock::bind_pprev

Definition at line 1467 of file tcpcore.h.

◆ bound_dev_if

int sock::bound_dev_if

Definition at line 1461 of file tcpcore.h.

◆ broadcast

volatile char sock::broadcast

Definition at line 1506 of file tcpcore.h.

◆ bsdism

volatile char sock::bsdism

Definition at line 1507 of file tcpcore.h.

◆ callback_lock

rwlock_t sock::callback_lock

Definition at line 1529 of file tcpcore.h.

◆ daddr

__u32 sock::daddr

Definition at line 1457 of file tcpcore.h.

◆ data_ready

void(* sock::data_ready) (struct sock *sk, int bytes)

Definition at line 1640 of file tcpcore.h.

◆ dead

volatile char sock::dead

Definition at line 1499 of file tcpcore.h.

◆ debug

unsigned char sock::debug

Definition at line 1508 of file tcpcore.h.

◆ destroy

volatile char sock::destroy

Definition at line 1504 of file tcpcore.h.

◆ destruct

void(* sock::destruct) (struct sock *sk)

Definition at line 1646 of file tcpcore.h.

◆ destruct_hook

void* sock::destruct_hook

Definition at line 1580 of file tcpcore.h.

◆ done

volatile char sock::done

Definition at line 1500 of file tcpcore.h.

◆ dport

__u16 sock::dport

Definition at line 1459 of file tcpcore.h.

◆ dst_cache

struct dst_entry* sock::dst_cache

Definition at line 1482 of file tcpcore.h.

◆ dst_lock

rwlock_t sock::dst_lock

Definition at line 1483 of file tcpcore.h.

◆ err

int sock::err

Definition at line 1556 of file tcpcore.h.

◆ err_soft

int sock::err_soft

Definition at line 1556 of file tcpcore.h.

◆ error_queue

struct sk_buff_head sock::error_queue

Definition at line 1532 of file tcpcore.h.

◆ error_report

void(* sock::error_report) (struct sock *sk)

Definition at line 1642 of file tcpcore.h.

◆ family

unsigned short sock::family

Definition at line 1473 of file tcpcore.h.

◆ forward_alloc

int sock::forward_alloc

Definition at line 1490 of file tcpcore.h.

◆ hashent

int sock::hashent

Definition at line 1517 of file tcpcore.h.

◆ head

struct sk_buff* sock::head

Definition at line 1525 of file tcpcore.h.

◆ keepopen

volatile char sock::keepopen

Definition at line 1502 of file tcpcore.h.

◆ linger

volatile char sock::linger

Definition at line 1503 of file tcpcore.h.

◆ lingertime

unsigned long sock::lingertime

Definition at line 1515 of file tcpcore.h.

◆ localroute

unsigned char sock::localroute

Definition at line 1564 of file tcpcore.h.

◆ lock

socket_lock_t sock::lock

Definition at line 1478 of file tcpcore.h.

◆ max_ack_backlog

unsigned short sock::max_ack_backlog

Definition at line 1561 of file tcpcore.h.

◆ next

struct sock* sock::next

Definition at line 1464 of file tcpcore.h.

◆ no_check

volatile char sock::no_check

Definition at line 1505 of file tcpcore.h.

◆ num

unsigned short sock::num

Definition at line 1460 of file tcpcore.h.

Referenced by tcp_sk_listen_hashfn().

◆ omem_alloc

atomic_t sock::omem_alloc

Definition at line 1488 of file tcpcore.h.

◆ pair

struct sock* sock::pair

Definition at line 1518 of file tcpcore.h.

◆ pprev

struct sock** sock::pprev

Definition at line 1465 of file tcpcore.h.

◆ prev

struct sock* sock::prev

Definition at line 1494 of file tcpcore.h.

◆ priority

__u32 sock::priority

Definition at line 1562 of file tcpcore.h.

◆ proc

int sock::proc

Definition at line 1514 of file tcpcore.h.

◆ prot

struct proto* sock::prot

Definition at line 1534 of file tcpcore.h.

◆ 

union { ... } sock::protinfo

◆ protocol

unsigned char sock::protocol

Definition at line 1565 of file tcpcore.h.

◆ rcv_saddr

__u32 sock::rcv_saddr

Definition at line 1458 of file tcpcore.h.

◆ rcvbuf

int sock::rcvbuf

Definition at line 1479 of file tcpcore.h.

Referenced by tcp_acceptq_added(), and tcp_acceptq_is_full().

◆ rcvlowat

int sock::rcvlowat

Definition at line 1567 of file tcpcore.h.

◆ rcvtimeo

long sock::rcvtimeo

Definition at line 1568 of file tcpcore.h.

◆ rcvtstamp

unsigned char sock::rcvtstamp

Definition at line 1509 of file tcpcore.h.

◆ receive_queue

struct sk_buff_head sock::receive_queue

Definition at line 1485 of file tcpcore.h.

◆ refcnt

atomic_t sock::refcnt

Definition at line 1476 of file tcpcore.h.

◆ reuse

unsigned char sock::reuse

Definition at line 1474 of file tcpcore.h.

◆ rmem_alloc

atomic_t sock::rmem_alloc

Definition at line 1484 of file tcpcore.h.

Referenced by tcp_acceptq_added().

◆ route_caps

int sock::route_caps

Definition at line 1513 of file tcpcore.h.

◆ saddr

__u32 sock::saddr

Definition at line 1491 of file tcpcore.h.

◆ shutdown

unsigned char sock::shutdown

Definition at line 1475 of file tcpcore.h.

◆ sleep

wait_queue_head_t* sock::sleep

Definition at line 1481 of file tcpcore.h.

◆ sndbuf

int sock::sndbuf

Definition at line 1493 of file tcpcore.h.

Referenced by tcp_packets_in_flight().

◆ sndtimeo

long sock::sndtimeo

Definition at line 1569 of file tcpcore.h.

◆ socket

struct socket* sock::socket

Definition at line 1633 of file tcpcore.h.

◆ sport

__u16 sock::sport

Definition at line 1471 of file tcpcore.h.

◆ stamp

struct timeval sock::stamp

Definition at line 1630 of file tcpcore.h.

◆ state

volatile unsigned char sock::state

Definition at line 1469 of file tcpcore.h.

◆ state_change

void(* sock::state_change) (struct sock *sk)

Definition at line 1639 of file tcpcore.h.

◆ tail

struct sk_buff* sock::tail

Definition at line 1526 of file tcpcore.h.

◆ timer

struct timer_list sock::timer

Definition at line 1629 of file tcpcore.h.

◆ 

union { ... } sock::tp_pinfo

◆ type

unsigned short sock::type

Definition at line 1563 of file tcpcore.h.

◆ urginline

volatile char sock::urginline

Definition at line 1501 of file tcpcore.h.

◆ use_write_queue

unsigned char sock::use_write_queue

Definition at line 1510 of file tcpcore.h.

◆ user_data

void* sock::user_data

Definition at line 1636 of file tcpcore.h.

◆ userlocks

unsigned char sock::userlocks

Definition at line 1511 of file tcpcore.h.

◆ wmem_alloc

atomic_t sock::wmem_alloc

Definition at line 1486 of file tcpcore.h.

◆ wmem_queued

int sock::wmem_queued

Definition at line 1489 of file tcpcore.h.

Referenced by tcp_mem_reclaim(), tcp_packets_in_flight(), and tcp_wspace().

◆ write_queue

struct sk_buff_head sock::write_queue

Definition at line 1487 of file tcpcore.h.

◆ write_space

void(* sock::write_space) (struct sock *sk)

Definition at line 1641 of file tcpcore.h.

◆ zapped

volatile unsigned char sock::zapped

Definition at line 1470 of file tcpcore.h.


The documentation for this struct was generated from the following file: