diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-09-29 21:39:24 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-09-29 21:39:24 +0100 |
| commit | 592e5967b8fcd79423802071319d0c646f2080df (patch) | |
| tree | 0eef3a28cfe1a939caf9d61e419a56d79b3c38e3 /asmstrucs.h | |
| parent | 23de03a0c8bf8a564cc0442f49d050ed11e372b8 (diff) | |
New upstream version 6.0.25.41+repackupstream/6.0.25.41+repack
Diffstat (limited to 'asmstrucs.h')
| -rw-r--r-- | asmstrucs.h | 56 |
1 files changed, 42 insertions, 14 deletions
diff --git a/asmstrucs.h b/asmstrucs.h index 5e7fb29..22a00e5 100644 --- a/asmstrucs.h +++ b/asmstrucs.h @@ -139,7 +139,7 @@ typedef struct _TRANSPORTENTRY UCHAR SPYFLAG; // SPY - CONNECT TO NODE VIA BBS CALLSIGN
UCHAR RTT_SEQ; // SEQUENCE NUMBER BEING TIMED
- uint32_t RTT_TIMER; // TIME ABOVE SEQUENCE WAS SENT
+ uint64_t RTT_TIMER; // TIME ABOVE SEQUENCE WAS SENT
USHORT PASSWORD; // AUTHORISATION CODE FOR REMOTE SYSOP
@@ -182,7 +182,7 @@ typedef struct _TRANSPORTENTRY int segsResent;
int NRRID;
- time_t NRRTime;
+ uint64_t NRRTicks;
time_t ConnectTime;
char Direction[16]; // In or Out
@@ -237,7 +237,9 @@ typedef struct ROUTE int ConnectionAttempts;
int Status; //
- int OldBPQ; // Set if other end is BPQ sending RIF in mS
+ int mSRIF; // Set if other end is BPQ sending RIF in mS (Ver < 2)
+ int senderaddsRTT; // Set if link RTT added before sending (Ver = 1)
+ int timeoutRoutes; // Set if other end always sends timed RIF updates (Hourly)
int LastRTT; // Last Value Reported
int RTT; // Current
int SRTT; // Smoothed RTT
@@ -264,6 +266,7 @@ typedef struct ROUTE int recNum; // This entry's index it Routes table
int noV2point2; // Set to force V2.0 connect. Can be set in config or dynamically learned
int Stopped; // Set by STOPROUTE command
+ int NPR; // NPR Link
} *PROUTE;
@@ -481,21 +484,45 @@ typedef struct _APPLCALLS // We treat the Routes as an array of 6. First 3 are NODES routes, next 3 are INP3 Routes. This works, but maybe is not ideal
-typedef struct NR_DEST_ROUTE_ENTRY
+struct NR_DEST_ROUTE_ENTRY
{
struct ROUTE * ROUT_NEIGHBOUR; // POINTER TO NEXT NODE IN PATH
- UCHAR ROUT_QUALITY; // QUALITY
- UCHAR ROUT_OBSCOUNT;
- UCHAR ROUT_LOCKED;
-} *PNR_DEST_ROUTE_ENTRY;
+ time_t padding; //
+ uint8_t ROUT_QUALITY; // QUALITY
+ uint8_t ROUT_OBSCOUNT;
+ uint8_t ROUT_LOCKED;
+};
-typedef struct INP3_DEST_ROUTE_ENTRY
+struct INP3_DEST_ROUTE_ENTRY
{
struct ROUTE * ROUT_NEIGHBOUR; // POINTER TO NEXT NODE IN PATH
- USHORT STT; // Current time to dest from here (was called RTT but is one way not round trip.
+ time_t LastRefreshed;
+ uint16_t STT; // Current time to dest from here (was called RTT but is one way not round trip.
// Is actually a smoothed value as is calculated from smoothed link times)
- UCHAR Hops;
-} *PDEST_ROUTE_ENTRY;
+ uint8_t Hops;
+};
+
+// Extended XR options for XROUTER
+
+typedef struct
+{
+ uint32_t IPADDR;
+ uint8_t Mask;
+ double Lat;
+ double Lon;
+ time_t Time;
+ uint16_t Port;
+ int16_t TZOffset;
+ char * LOC;
+ char * QTH;
+ char * Ver;
+ uint8_t SWType;
+ uint8_t NetworkFlags;
+ uint8_t ApplFlags;
+ uint8_t * Optionslist; // raw options as last received for relay
+} XROptions;
+
+
typedef struct DEST_LIST
{
@@ -520,6 +547,7 @@ typedef struct DEST_LIST int DEST_RTT; // SMOOTHED ROUND TRIP TIMER
int DEST_COUNT; // FRAMES SENT
USHORT LastTT; // Last INP3 Value sent. This is our value, which we now send
+ XROptions * XROptions;
} dest_list;
@@ -663,8 +691,8 @@ typedef struct PORTCONTROL UCHAR SOFTDCDFLAG; // IF SET USE 'SOFT DCD' - IF MODEM CANT GIVE A REAL ONE
UCHAR PORTSLOTTIME; // SLOT TIME
UCHAR PORTTAILTIME; // TAIL TIME
- UCHAR PORTT1; // L2 TIMEOUT
- UCHAR PORTT2; // L2 DELAYED ACK TIMER
+ UCHAR PORTT1; // L2 TIMEOUT (100 ms intervals)
+ UCHAR PORTT2; // L2 DELAYED ACK TIMER (100 ms intervals)
UCHAR PORTN2; // RETRIES
UCHAR PORTPACLEN; // DEFAULT PACLEN FOR INCOMING SESSIONS
|
