The Assimilation Project  based on Assimilation version 1.1.7.1474836767
_FsProtoElem Struct Reference

Not a full-blown class - just a utility structure. More...

#include <fsprotocol.h>

Collaboration diagram for _FsProtoElem:

Data Fields

NetAddrendpoint
 Who is our partner in this? More...
 
guint16 _qid
 Queue id of far endpoint. More...
 
FsQueueoutq
 Queue of outbound messages. More...
 
FsQueueinq
 Queue of incoming messages - perhaps missing packets... More...
 
SeqnoFramelastacksent
 The highest sequence number we've sent an ACK for. More...
 
SeqnoFramelastseqsent
 Last sequence number which has been sent at least once. More...
 
FsProtocolparent
 Our parent FsProtocol object. More...
 
gint64 nextrexmit
 When to retransmit next... More...
 
gint64 acktimeout
 When to timeout waiting for an ACK. More...
 
FsProtoState state
 State of this connection. More...
 
guint shuttimer
 FSPROTO_SHUT_TO timer (see FSA for details) More...
 
guint finalizetimer
 Timer for removing these objects (if not reopened) More...
 
gboolean shutdown_complete
 
gboolean is_encrypted
 TRUE if this channel is encrypted. More...
 
char * peer_identity
 Identity of the far end... More...
 
int hist_next
 current index into history circular queue More...
 
FsProtoState fsa_states [FSPE_HISTSIZE]
 history of FSA inputs More...
 
guint8 fsa_inputs [FSPE_HISTSIZE]
 history of FSA inputs More...
 
guint16 fsa_actions [FSPE_HISTSIZE]
 history of FSA actions More...
 

Detailed Description

Not a full-blown class - just a utility structure.

Endpoint+qid constitute a key for it. Note that the FsProtocol class class is a glorified hash table of these FsProtoElem structures

Definition at line 76 of file fsprotocol.h.

Field Documentation

guint16 _FsProtoElem::_qid
gint64 _FsProtoElem::acktimeout

When to timeout waiting for an ACK.

Definition at line 85 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), _fsprotocol_receive(), _fsprotocol_send1(), and _fsprotocol_xmitifwecan().

guint _FsProtoElem::finalizetimer

Timer for removing these objects (if not reopened)

Definition at line 88 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), and _fsprotocol_fsa().

guint16 _FsProtoElem::fsa_actions[FSPE_HISTSIZE]

history of FSA actions

Definition at line 95 of file fsprotocol.h.

Referenced by _fsprotocol_addconn().

guint8 _FsProtoElem::fsa_inputs[FSPE_HISTSIZE]

history of FSA inputs

Definition at line 94 of file fsprotocol.h.

Referenced by _fsprotocol_addconn().

FsProtoState _FsProtoElem::fsa_states[FSPE_HISTSIZE]

history of FSA inputs

Definition at line 93 of file fsprotocol.h.

Referenced by _fsprotocol_addconn().

int _FsProtoElem::hist_next

current index into history circular queue

Definition at line 92 of file fsprotocol.h.

Referenced by _fsprotocol_addconn().

gboolean _FsProtoElem::is_encrypted

TRUE if this channel is encrypted.

Definition at line 90 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), and _fsprotocol_receive().

SeqnoFrame* _FsProtoElem::lastacksent

The highest sequence number we've sent an ACK for.

Definition at line 81 of file fsprotocol.h.

Referenced by _fsprotocol_ackseqno(), _fsprotocol_addconn(), and _fsprotocol_receive().

SeqnoFrame* _FsProtoElem::lastseqsent

Last sequence number which has been sent at least once.

Definition at line 82 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), and _fsprotocol_xmitifwecan().

gint64 _FsProtoElem::nextrexmit

When to retransmit next...

Definition at line 84 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), _fsprotocol_receive(), _fsprotocol_send1(), and _fsprotocol_xmitifwecan().

FsProtocol* _FsProtoElem::parent

Our parent FsProtocol object.

Definition at line 83 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), _fsprotocol_fsa(), _fsprotocol_receive(), _fsprotocol_send1(), and _fsprotocol_xmitifwecan().

char* _FsProtoElem::peer_identity

Identity of the far end...

Definition at line 91 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), and _fsprotocol_receive().

gboolean _FsProtoElem::shutdown_complete

Definition at line 89 of file fsprotocol.h.

Referenced by _fsprotocol_activeconncount(), _fsprotocol_addconn(), and _fsprotocol_fsa().

guint _FsProtoElem::shuttimer

FSPROTO_SHUT_TO timer (see FSA for details)

Definition at line 87 of file fsprotocol.h.

Referenced by _fsprotocol_addconn(), and _fsprotocol_fsa().


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