TAS
TCP Acceleration as an OS Service
Data Fields
listener Struct Reference

#include <internal.h>

Collaboration diagram for listener:
Collaboration graph
[legend]

Data Fields

struct connectionwait_conns
 
uint16_t port
 
uint32_t flags
 
Application interface
uint64_t opaque
 
struct app_contextctx
 
struct listenerapp_next
 
uint32_t db_id
 
Backlog queue
uint32_t backlog_len
 
uint32_t backlog_pos
 
uint32_t backlog_used
 
void ** backlog_ptrs
 
uint32_t * backlog_cores
 
uint16_t * backlog_fgs
 

Detailed Description

TCP listener

Definition at line 548 of file internal.h.

Field Documentation

◆ app_next

struct listener* listener::app_next

Link list pointer for application listeners.

Definition at line 558 of file internal.h.

◆ backlog_cores

uint32_t* listener::backlog_cores

Backlog core id array

Definition at line 576 of file internal.h.

Referenced by tcp_listen(), and tcp_timeout().

◆ backlog_fgs

uint16_t* listener::backlog_fgs

Backlog flow group array

Definition at line 578 of file internal.h.

Referenced by tcp_listen(), and tcp_timeout().

◆ backlog_len

uint32_t listener::backlog_len

Backlog queue total length.

Definition at line 568 of file internal.h.

Referenced by tcp_listen(), and tcp_timeout().

◆ backlog_pos

uint32_t listener::backlog_pos

Next entry in backlog queue.

Definition at line 570 of file internal.h.

Referenced by tcp_listen(), and tcp_timeout().

◆ backlog_ptrs

void** listener::backlog_ptrs

Backlog queue buffers

Definition at line 574 of file internal.h.

Referenced by tcp_listen(), and tcp_timeout().

◆ backlog_used

uint32_t listener::backlog_used

Number of entries used in backlog queue.

Definition at line 572 of file internal.h.

Referenced by tcp_accept(), tcp_listen(), and tcp_timeout().

◆ ctx

struct app_context* listener::ctx

Application context this listener is assigned to.

Definition at line 556 of file internal.h.

Referenced by appif_listen_newconn(), and tcp_listen().

◆ db_id

uint32_t listener::db_id

Doorbell id.

Definition at line 560 of file internal.h.

◆ flags

uint32_t listener::flags

Flags: see nicif_connection_flags

Definition at line 586 of file internal.h.

Referenced by tcp_accept(), and tcp_listen().

◆ opaque

uint64_t listener::opaque

Application-specified opaque value for listener.

Definition at line 554 of file internal.h.

Referenced by appif_listen_newconn(), and tcp_listen().

◆ port

uint16_t listener::port

Listener port

Definition at line 584 of file internal.h.

Referenced by tcp_accept(), tcp_listen(), and tcp_timeout().

◆ wait_conns

struct connection* listener::wait_conns

List of waiting connections from accept calls

Definition at line 582 of file internal.h.

Referenced by tcp_accept(), tcp_listen(), and tcp_timeout().


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