diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2013-09-10 12:09:36 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2013-09-10 12:09:36 +0200 |
commit | bf139664aa2ae9956b520ba4813bb6e03bf1a3e8 (patch) | |
tree | 33381e1e2214b32fcb169def039a891b0db58509 /lib/socket.h | |
parent | bff9ce5130d16af2fd802d42bdb2bff00980c9ae (diff) |
Initial BFD commit, work in progress.
Diffstat (limited to 'lib/socket.h')
-rw-r--r-- | lib/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/socket.h b/lib/socket.h index 6e0a769b..780d596b 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -44,6 +44,7 @@ typedef struct birdsock { /* laddr and lifindex are valid only if SKF_LADDR_RX flag is set to request it */ int fd; /* System-dependent data */ + int index; /* Index in poll buffer */ node n; void *rbuf_alloc, *tbuf_alloc; char *password; /* Password for MD5 authentication */ @@ -91,6 +92,7 @@ extern int sk_priority_control; /* Suggested priority for control traffic, shoul #define SKF_LADDR_TX 4 /* Allow to specify local address for TX packets */ #define SKF_TTL_RX 8 /* Report TTL / Hop Limit for RX packets */ +#define SKF_THREAD 0x100 /* Socked used in thread, Do not add to main loop */ /* * Socket types SA SP DA DP IF TTL SendTo (?=may, -=must not, *=must) |