summaryrefslogtreecommitdiff
path: root/lib/socket.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-02-22 20:14:14 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-22 20:14:14 +0100
commit9c89560e6cdf44a21b2eff8765973ed8665fa07f (patch)
treeef22b54c7c05b5c44776bab239d19bf60a1d9265 /lib/socket.h
parent6cf72d7ad7cbe1eb2f5b63660be6967d29b37044 (diff)
Use IP_PORTRANGE_HIGH for BFD where available
Diffstat (limited to 'lib/socket.h')
-rw-r--r--lib/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/socket.h b/lib/socket.h
index a5b85aa2..683cdde3 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -103,6 +103,7 @@ extern int sk_priority_control; /* Suggested priority for control traffic, shou
#define SKF_LADDR_RX 0x04 /* Report local address for RX packets */
#define SKF_TTL_RX 0x08 /* Report TTL / Hop Limit for RX packets */
#define SKF_BIND 0x10 /* Bind datagram socket to given source address */
+#define SKF_HIGH_PORT 0x20 /* Choose port from high range if possible */
#define SKF_THREAD 0x100 /* Socked used in thread, Do not add to main loop */
#define SKF_TRUNCATED 0x200 /* Received packet was truncated, set by IO layer */