XANTRONIX Development
a8db220bbd
Major refactor WIP
2024-03-01 00:20:46 -05:00
XANTRONIX Development
c601e836fd
Implement patty_ax25_frame_addressed_to()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
bbbe7f8bfd
Rework patty_ax25_address members as uint8_t
2024-03-01 00:20:46 -05:00
XANTRONIX Development
7188a5f194
Rename things more in line with official AX.25 spec
2024-03-01 00:20:46 -05:00
XANTRONIX Development
2e0adee54e
Remove _unix suffix from patty_kiss_tnc_fd_unix()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
153dc17c7b
Start to whittle down src/ax25.c, include/ax25.h
2024-03-01 00:20:46 -05:00
XANTRONIX Development
66e5de9d6c
Make patty_kiss_tnc_open() use default buffer size
...
Make patty_kiss_tnc_open() use default buffer size
Other changes:
* Make src/decode.c no longer require a filename to use as a TNC
2024-03-01 00:20:46 -05:00
XANTRONIX Development
2eacce6f09
Remove src/buffer.c
2024-03-01 00:20:46 -05:00
XANTRONIX Development
112fca0df4
Remove unused header files
...
Changes:
* Remove patty/ax25/defs.h
* Remove patty/ax25/stats.h
* Add forward declaration for patty_ax25 to top of patty/ax25.h
* Rename patty_ax25_stats to patty_ax25_if_stats, move into
patty/ax25/if.h
2024-03-01 00:20:46 -05:00
XANTRONIX Development
d44889121e
Do not decode KISS frames into internal buffer
...
Changes:
* Modify patty_kiss_tnc_recv() to accept a pointer to a read buffer,
and a maximum length argument, to receive one packet
* Modify src/decode.c to use the new patty_kiss_tnc_recv() calling
form
2024-03-01 00:20:46 -05:00
XANTRONIX Development
d7ab08338c
Implement patty_kiss_tnc_open_fd()
...
Implement patty_kiss_tnc_open_fd() to create a TNC object for an
existing Unix file descriptor
2024-03-01 00:20:46 -05:00
XANTRONIX Development
ede262397b
Refactor patty_kiss_tnc_recv()
...
Refactor patty_kiss_tnc_recv() to be much more compact and correct;
ensure the KISS command byte is absolutely required, and that
consecutive frame end markers are handled without error
2024-03-01 00:20:46 -05:00
XANTRONIX Development
97106300c8
Aesthetic changes in patty/kiss.h
2024-03-01 00:20:46 -05:00
XANTRONIX Development
91b9883b53
Aesthetic struct changes in patty/ax25/frame.h
2024-03-01 00:20:46 -05:00
XANTRONIX Development
c297aa7d03
Fix macro for detecting UI frames
2024-03-01 00:20:46 -05:00
XANTRONIX Development
9217b0366f
Sprucing things up a bit
2024-03-01 00:20:46 -05:00
XANTRONIX Development
5daa57fa7d
Use default buffer size of 4096 bytes
2024-03-01 00:20:46 -05:00
XANTRONIX Development
968c0bfd8c
Implement patty_ax25_frame_payload()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
fba41f93df
Remove all usages of patty_ax25_frame_format
2024-03-01 00:20:46 -05:00
XANTRONIX Development
83f07d9465
Buffer reduction poop
2024-03-01 00:20:46 -05:00
XANTRONIX Development
bd67f73a1a
It's nice to be able to better inspect the contents of le buffers
2024-03-01 00:20:46 -05:00
XANTRONIX Development
82d94fb5ad
Implement src/buffer.c
2024-03-01 00:20:46 -05:00
XANTRONIX Development
1666666e9d
This is all very necessary if I am to wrest tight control over frame decoding into my own hands
2024-03-01 00:20:46 -05:00
XANTRONIX Development
63f031b461
It occurs to me I'll need patty_kiss_tnc_decode() to be exported
2024-03-01 00:20:46 -05:00
XANTRONIX Development
2c0974658a
I'm running out of shitty commit messages
2024-03-01 00:20:46 -05:00
XANTRONIX Development
b3c85c891e
Maybe throw in some socket options? I dunno
2024-03-01 00:20:46 -05:00
XANTRONIX Development
4e5634cbc7
My final commit
2024-03-01 00:20:46 -05:00
XANTRONIX Development
a744fa640c
Implement patty_ax25_next_event() like I'm not a dumbass or some shit
2024-03-01 00:20:46 -05:00
XANTRONIX Development
5fb55973ad
Manage the bits that'll go into select(2) or whatevs
2024-03-01 00:20:46 -05:00
XANTRONIX Development
13cfe03cbe
Walt, we need to talk
2024-03-01 00:20:46 -05:00
XANTRONIX Development
ff76e77336
Stub out patty_ax25_next_event()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
71d43b5f11
Nearing the point of implementing an event loop
2024-03-01 00:20:46 -05:00
XANTRONIX Development
04cd913840
Good stuff
2024-03-01 00:20:46 -05:00
XANTRONIX Development
d7e40110a5
Finally getting around to implementing more of the spec, I tell ya
2024-03-01 00:20:46 -05:00
XANTRONIX Development
6adb4f098b
I think that's much nicer
2024-03-01 00:20:46 -05:00
XANTRONIX Development
fbee61133a
More forward declarations, because I guess why not
2024-03-01 00:20:46 -05:00
XANTRONIX Development
275dec9760
Implement src/address.c
2024-03-01 00:20:46 -05:00
XANTRONIX Development
0f639cc350
Refactor around the simplified concept of patty_ax25_sock
2024-03-01 00:20:46 -05:00
XANTRONIX Development
1abc0b6c98
Implement patty_ax25_listen()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
87ec27dd92
Implement patty_ax25_open()
2024-03-01 00:20:46 -05:00
XANTRONIX Development
0d40883e59
Can you feel heavy metal???
2024-03-01 00:20:46 -05:00
XANTRONIX Development
e85df9e29e
Well, it does compile
2024-03-01 00:20:46 -05:00
XANTRONIX Development
b0c014f6c1
It helps if things compile
2024-03-01 00:20:46 -05:00
XANTRONIX Development
ae47c8b793
This might work
2024-03-01 00:20:46 -05:00
XANTRONIX Development
8bb8026851
That's an interface!
2024-03-01 00:20:46 -05:00
XANTRONIX Development
1ce32f18e3
This may in fact stick
2024-03-01 00:20:46 -05:00
XANTRONIX Development
f7b3d3d35c
Pokery
2024-03-01 00:20:46 -05:00
XANTRONIX Development
b17a1b502d
Forgotten
2024-03-01 00:20:46 -05:00
XANTRONIX Development
64ec8a8e5a
Lists are good
2024-03-01 00:20:46 -05:00
XANTRONIX Development
05c55837fb
meh
2024-03-01 00:20:46 -05:00