diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:21 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-10-29 22:45:21 +0000 |
| commit | d0709a1e0a04bf74f240dc0fdb8697f030b68cea (patch) | |
| tree | 93074377abcd3abd699660485d4ecf350f480b72 /ax25.c | |
| parent | b1d1488de60dfff8b89872f863098a884133852f (diff) | |
New upstream version 0.0.0.73~rc1upstream/0.0.0.73_rc1
Diffstat (limited to 'ax25.c')
| -rw-r--r-- | ax25.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -29,10 +29,20 @@ __declspec(dllimport) unsigned short __stdcall ntohs(__in unsigned short hostsho #else
+#include <stdint.h>
+
+uint32_t htonl(uint32_t hostlong);
+uint16_t htons(uint16_t hostshort);
+uint32_t ntohl(uint32_t netlong);
+uint16_t ntohs(uint16_t netshort);
+
#define strtok_s strtok_r
#include <stddef.h>
#endif
+void set_DM(int snd_ch, Byte * path);
+void rst_values(TAX25Port * AX25Sess);
+
void decode_frame(Byte * frame, int len, Byte * path, string * data,
Byte * pid, Byte * nr, Byte * ns, Byte * f_type, Byte * f_id,
Byte * rpt, Byte * pf, Byte * cr);
@@ -244,6 +254,9 @@ int maxframe[4] = { 0,0,0,0 }; int TXFrmMode[4] = { 0,0,0,0 };
int max_frame_collector[4] = { 0,0,0,0 };
+int bytes[4] = { 0,0,0,0 };
+int bytes2mins[4] = { 0,0,0,0 };
+
char MyDigiCall[4][512] = { "","","","" };
char exclude_callsigns[4][512] = { "","","","" };
char exclude_APRS_frm[4][512] = { "","","","" };
@@ -1729,7 +1742,7 @@ int is_excluded_frm(int snd_ch, int f_id, string * data) -int number_digi(string path)
+int number_digi(char * path)
{
int n = 0;
|
