From b3c85c891ed353e18c1173853c126023f5a599e2 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 17 Sep 2015 21:52:00 -0500 Subject: [PATCH] Maybe throw in some socket options? I dunno --- include/patty/ax25.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/patty/ax25.h b/include/patty/ax25.h index 684709f..bea2060 100644 --- a/include/patty/ax25.h +++ b/include/patty/ax25.h @@ -38,9 +38,14 @@ enum patty_ax25_sock_mode { PATTY_AX25_SOCK_SABME }; +enum patty_ax25_sock_opts { + PATTY_AX25_SOCK_NONBLOCK = 1 << 0 +}; + typedef struct _patty_ax25_sock { enum patty_ax25_sock_status status; enum patty_ax25_sock_mode mode; + enum patty_ax25_sock_opts opts; time_t timer_ack; time_t timer_response;