From dae2bbc7215a8361e7b9092e6c307491c7e5722a Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Wed, 7 Jan 2026 21:45:15 +0000 Subject: New upstream version 6.0.25.15+repack --- asmstrucs.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'asmstrucs.h') diff --git a/asmstrucs.h b/asmstrucs.h index 97e4a4d..7dca751 100644 --- a/asmstrucs.h +++ b/asmstrucs.h @@ -258,6 +258,9 @@ typedef struct ROUTE int TCPPort; struct NRTCPSTRUCT * TCPSession; struct addrinfo * TCPAddress; // Resolved Address + int localport; // for consistancy check + 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 } *PROUTE; @@ -265,10 +268,8 @@ typedef struct ROUTE #define GotRTTRequest 1 // Other end has sent us a RTT Packet #define GotRTTResponse 2 // Other end has sent us a RTT Response -#define GotRIF 4 // Other end has sent RIF, so is probably an INP3 Node - // (could just be monitoring RTT for some reason -#define SentRTTRequest 8 -#define SentOurRIF 16 // Set when we have sent a rif for our Call and any ApplCalls +#define SentRTTRequest 4 +#define SentOurRIF 8 // Set when we have sent a rif for our Call and any ApplCalls // (only sent when we have seen both a request and response) #pragma pack(1) @@ -480,20 +481,18 @@ typedef struct _APPLCALLS typedef struct NR_DEST_ROUTE_ENTRY { struct ROUTE * ROUT_NEIGHBOUR; // POINTER TO NEXT NODE IN PATH - UCHAR ROUT_QUALITY; // QUALITY + uint16_t * Dummy; // Padding so records are same length + UCHAR ROUT_QUALITY; // QUALITY UCHAR ROUT_OBSCOUNT; UCHAR ROUT_LOCKED; - UCHAR Padding[4]; // So Entries are the same length } *PNR_DEST_ROUTE_ENTRY; typedef struct INP3_DEST_ROUTE_ENTRY { struct ROUTE * ROUT_NEIGHBOUR; // POINTER TO NEXT NODE IN PATH - USHORT LastTT; // Last Value Reported. This is our value, not the one actually sent (which includes Neighbour TT) - USHORT LastNeighbourTT; // Saved from last report so we can calulate what we actually sent - + uint16_t * RouteLastTT; // Last time sent should be saved for each neighbour. Area is mallod'ed as needed USHORT 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 smoother link times) + // Is actually a smoothed value as is calculated from smoothed link times) UCHAR Hops; } *PDEST_ROUTE_ENTRY; @@ -746,6 +745,8 @@ typedef struct PORTCONTROL int Hardware; // TNC H_TYPE. Copied here for access from application context int isRF; // For API reporting. -1 is unspecified + int SENDRIFTIMER; + time_t LastRIFTime; } PORTCONTROLX, *PPORTCONTROL; -- cgit v1.2.3