Commit graph

9 commits

Author SHA1 Message Date
ebbfb50b1c Use KISS framing for raw sockets
Use KISS framing for raw sockets to avoid multiple write() calls from
being buffered, which caused read() on the other end of a file
descriptor to read more than frame at once
2024-03-01 00:20:46 -05:00
9f13c67518 Provide shorter names for programs in examples/ 2024-03-01 00:20:46 -05:00
ab2c283542 Refactor socket(), openif() as setsockopt()
Other changes:

    * Fix blocking on disconnects when a raw socket is bound to an
      interface
2024-03-01 00:20:46 -05:00
1abf0890d9 Show function errors in testclient-promisc.c 2024-03-01 00:20:46 -05:00
08389b8781 Show function names in errors in examples/decode.c 2024-03-01 00:20:46 -05:00
b9a6ef9ff3 Move test files to examples/; build libpatty 2024-03-01 00:20:46 -05:00
0f37a37775 Better prototypes; better config 2024-03-01 00:20:46 -05:00
7eb8babd21 Initial commit of examples/patty.conf 2024-03-01 00:20:46 -05:00
bbf3db7466 Add examples/ax25config.txt 2024-03-01 00:20:45 -05:00