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 state_time
time_t last_read_time
time_t last_write_time
time_t last_orig_time
time_t last_advert_time
capinfo_transmode_t transmode
capinfo_routetype_t * routetypes
size_t routetypes_count
table_t adj_trib_in
table_t adj_trib_out

Detailed Description

Session object.

Field Documentation

◆ adj_trib_in

table_t adj_trib_in

Adj-TRIB-in

◆ adj_trib_out

table_t adj_trib_out

Adj-TRIB-out

◆ 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_advert_time

time_t last_advert_time

Last advertisement time

◆ last_orig_time

time_t last_orig_time

Last origination time

◆ 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 destroy its session and 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

◆ state_time

time_t state_time

Time since entered state

◆ thread

pthread_t thread

Session thread ID

◆ transmode

Peer transmode


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