summaryrefslogtreecommitdiff
path: root/xid.h
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-17 13:53:32 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-17 13:53:32 +0000
commitc264c0c63857e0c36303687d2dfc533500b93cf1 (patch)
treed2de59640c3454c97c6a1de817ad3643ca081aba /xid.h
parent1407d7b68693f014156bac2462c2d41f9e3cb2a1 (diff)
New upstream version 0.0.0.71upstream/0.0.0.71
Diffstat (limited to 'xid.h')
-rw-r--r--xid.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/xid.h b/xid.h
deleted file mode 100644
index a221b73..0000000
--- a/xid.h
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-/* xid.h */
-
-
-#include "ax25_pad.h" // for enum ax25_modulo_e
-
-
-struct xid_param_s {
-
- int full_duplex;
-
- // Order is important because negotiation keeps the lower value of
- // REJ (srej_none), SREJ (default without negotiation), Multi-SREJ (if both agree).
-
- enum srej_e { srej_none=0, srej_single=1, srej_multi=2, srej_not_specified=3 } srej;
-
- enum ax25_modulo_e modulo;
-
- int i_field_length_rx; /* In bytes. XID has it in bits. */
-
- int window_size_rx;
-
- int ack_timer; /* "T1" in mSec. */
-
- int retries; /* "N1" */
-};
-
-
-int xid_parse (unsigned char *info, int info_len, struct xid_param_s *result, char *desc, int desc_size);
-
-int xid_encode (struct xid_param_s *param, unsigned char *info, cmdres_t cr); \ No newline at end of file