patty/examples
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
..
ax25config.txt Add examples/ax25config.txt 2024-03-01 00:20:45 -05:00
ax25dump.c Implement support for sending frames with SOCK_RAW 2024-03-01 00:20:47 -05:00
connect.c Implement new patty client code 2024-03-01 00:20:46 -05:00
decode.c Don't exit when unable to decode specific frames 2024-03-01 00:20:46 -05:00
listen.c Implement new patty client code 2024-03-01 00:20:46 -05:00
Makefile Provide shorter names for programs in examples/ 2024-03-01 00:20:46 -05:00
patty.conf Better prototypes; better config 2024-03-01 00:20:46 -05:00
server.c Use ptsname(), not ptsname_r(), for portability 2024-03-01 00:20:46 -05:00