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 |
||
---|---|---|
.. | ||
ax25config.txt | ||
ax25dump.c | ||
connect.c | ||
decode.c | ||
listen.c | ||
Makefile | ||
patty.conf | ||
server.c |