socket Struct Reference
[generic]

Socket specific data. More...


Data Fields

fibril_mutex_t accept_lock
 Waiting sockets safety lock.
fibril_condvar_t accept_signal
 Waiting sockets signaling.
dyn_fifo_t accepted
 Waiting sockets queue.
int blocked
 The number of blocked functions called.
size_t data_fragment_size
 Packet data fragment size.
size_t header_size
 Underlying protocol header size.
int phone
 Parent module phone.
fibril_mutex_t receive_lock
 Received packets safety lock.
fibril_condvar_t receive_signal
 Received packets signaling.
dyn_fifo_t received
 Received packets queue.
fibril_rwlock_t sending_lock
 Sending safety lock.
services_t service
 Parent module service.
int socket_id
 Socket identifier.


Detailed Description

Socket specific data.

Each socket lock locks only its structure part and any number of them may be locked simultaneously.

Definition at line 85 of file socket_client.c.


Field Documentation

fibril_mutex_t accept_lock

Waiting sockets safety lock.

Used for accepting and accept notifications. Locks the accepted attribute.

Definition at line 128 of file socket_client.c.

fibril_condvar_t accept_signal

Waiting sockets signaling.

Signaled upon accept notification.

Definition at line 131 of file socket_client.c.

int blocked

The number of blocked functions called.

Used while waiting for the received packets or accepted sockets.

Definition at line 137 of file socket_client.c.

size_t data_fragment_size

Packet data fragment size.

Sending optimization.

Definition at line 100 of file socket_client.c.

size_t header_size

Underlying protocol header size.

Sending and receiving optimalization.

Definition at line 97 of file socket_client.c.

fibril_mutex_t receive_lock

Received packets safety lock.

Used for receiving and receive notifications. Locks the received attribute.

Definition at line 116 of file socket_client.c.

fibril_condvar_t receive_signal

Received packets signaling.

Signaled upon receive notification.

Definition at line 119 of file socket_client.c.

fibril_rwlock_t sending_lock

Sending safety lock.

Locks the header_size and data_fragment_size attributes.

Definition at line 106 of file socket_client.c.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:00 2011 for HelenOS/USB by  doxygen 1.4.7