summaryrefslogtreecommitdiff
path: root/asmstrucs.h
diff options
context:
space:
mode:
Diffstat (limited to 'asmstrucs.h')
-rw-r--r--asmstrucs.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/asmstrucs.h b/asmstrucs.h
index 3ac464b..439b6f9 100644
--- a/asmstrucs.h
+++ b/asmstrucs.h
@@ -184,7 +184,13 @@ typedef struct _TRANSPORTENTRY
int NRRID;
time_t NRRTime;
+ time_t ConnectTime;
+ char Direction[16]; // In or Out
+
int Service; // For Paula's Connnect to Service
+ int apiSeq; // for OARC event reporting
+ time_t lastStatusSentTime;
+
} TRANSPORTENTRY;
@@ -250,7 +256,8 @@ typedef struct ROUTE
char * TCPHost; // For NETROM over TCP
int TCPPort;
- struct NRTCPSTRUCT * TCPSession;
+ struct NRTCPSTRUCT * TCPSession;
+ struct addrinfo * TCPAddress; // Resolved Address
} *PROUTE;
@@ -736,6 +743,7 @@ typedef struct PORTCONTROL
UCHAR * BUSY; // % Active (Normally DCD active or TX)
int Hardware; // TNC H_TYPE. Copied here for access from application context
+ int isRF; // For API reporting. -1 is unspecified
} PORTCONTROLX, *PPORTCONTROL;
@@ -977,6 +985,15 @@ typedef struct _LINKTABLE
int framesRXed;
int framesTXed;
int framesResent;
+ time_t LastStatusTime;
+ int LastStatusbytesRXed;
+ int LastStatusbytesTXed;
+ int maxQueued;
+ int intervalMaxQueued;
+
+ uint64_t lastPSent; // Time last I frame with P bit sent in mS (for RTT Measurements)
+ int RTT;
+
// Now support compressing L2 Sessions.
// We collect as much data as possible before compressing and re-packetizing
@@ -994,6 +1011,7 @@ typedef struct _LINKTABLE
char ApplName[16];
time_t lastStatusSentTime;
+ int apiSeq; // for OARC event reporting
} LINKTABLE;