Libtrap: Internal development docs  1.16.1
Data Fields

Structure for TCP/IP IFC client information. More...

#include <ifc_tcpip_internal.h>

Data Fields

int sd
 
int pfds_index
 
void * sending_pointer
 
uint64_t timer_total
 
uint64_t timeouts
 
uint32_t timer_last
 
uint32_t pending_bytes
 
uint32_t id
 
uint32_t assigned_buffer
 

Detailed Description

Structure for TCP/IP IFC client information.

Definition at line 62 of file ifc_tcpip_internal.h.

Field Documentation

◆ assigned_buffer

uint32_t client_s::assigned_buffer

Index of assigned buffer in array of buffers

Definition at line 73 of file ifc_tcpip_internal.h.

◆ id

uint32_t client_s::id

Client identification - PID for unix socket, port number for TCP socket

Definition at line 72 of file ifc_tcpip_internal.h.

◆ pending_bytes

uint32_t client_s::pending_bytes

The size of data that must be sent

Definition at line 71 of file ifc_tcpip_internal.h.

◆ pfds_index

int client_s::pfds_index

Client pfds struct array index.

Definition at line 64 of file ifc_tcpip_internal.h.

◆ sd

int client_s::sd

Client socket descriptor

Definition at line 63 of file ifc_tcpip_internal.h.

◆ sending_pointer

void* client_s::sending_pointer

Pointer to data in client's assigned buffer

Definition at line 65 of file ifc_tcpip_internal.h.

◆ timeouts

uint64_t client_s::timeouts

Number of messages dropped (since connection) due to client blocking active buffer

Definition at line 68 of file ifc_tcpip_internal.h.

◆ timer_last

uint32_t client_s::timer_last

Time spent on last send call [microseconds]

Definition at line 70 of file ifc_tcpip_internal.h.

◆ timer_total

uint64_t client_s::timer_total

Total time spent sending (microseconds) since client connection

Definition at line 67 of file ifc_tcpip_internal.h.


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