Userland AX.25 stack
Find a file
XANTRONIX Development d0d17b58fb Implement support for sending frames with SOCK_RAW
Changes:

    * When associating a promiscuous socket with an interface, rather
      than creating a patty_kiss_tnc object, simply store the socket
      file descriptor and use patty_kiss_frame_send() to send incoming
      or outgoing frames for that interface to the promiscuous socket

    * Add special initialization code in src/sock.c for SOCK_RAW; don't
      allocate any buffers, but instead set a few flags and otherwise
      use 0-initialized defaults

    * Implement handle_sock_raw() in src/server.c to check to see if any
      raw frames are pending, and if so, send them to the associated
      interface if provided by setsockopt()

    * Make patty_ax25_sock_bind_if() only call the function
      patty_ax25_if_add_promisc() only if the socket status is PROMISC;
      this allows support for non-promiscuous sockets used for outbound
      purposes
2024-03-01 00:20:47 -05:00
doc Elaborate upon some finer points 2024-03-01 00:20:46 -05:00
examples Implement support for sending frames with SOCK_RAW 2024-03-01 00:20:47 -05:00
include/patty Implement support for sending frames with SOCK_RAW 2024-03-01 00:20:47 -05:00
src Implement support for sending frames with SOCK_RAW 2024-03-01 00:20:47 -05:00
configure Add byte order swapping macros to configure 2024-03-01 00:20:46 -05:00
Makefile Move test files to examples/; build libpatty 2024-03-01 00:20:46 -05:00