TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
Loading...
Searching...
No Matches
session_t Struct Reference

Session object. More...

#include <session.h>

Collaboration diagram for session_t:

Data Fields

pthread_t thread
session_state_t state
int initiated
int mark_stop_init
int fd
uint16_t hold
uint16_t keepalive
const peer_tpeer
uint32_t id
time_t established_time
time_t last_read_time
time_t last_write_time
capinfo_transmode_t transmode
capinfo_routetype_t * routetypes
size_t routetypes_count

Detailed Description

Session object.

Field Documentation

◆ established_time

time_t established_time

Time of establishment

◆ fd

int fd

Session socket

◆ hold

uint16_t hold

Negotiated hold timer

◆ id

uint32_t id

Found in OPEN

◆ initiated

int initiated

Initiated by local -> nonzero

◆ keepalive

uint16_t keepalive

Negotiated hold timer

◆ last_read_time

time_t last_read_time

Time of last read

◆ last_write_time

time_t last_write_time

Time of last write

◆ mark_stop_init

int mark_stop_init

Tell initiating thread to quit

◆ peer

const peer_t* peer

From address

◆ routetypes

capinfo_routetype_t* routetypes

Supported route types

◆ routetypes_count

size_t routetypes_count

Supported route types count

◆ state

Session state

◆ thread

pthread_t thread

Session thread ID

◆ transmode

Peer transmode


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