summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/udp.h')
-rw-r--r--sys/netinet/udp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h
index 2dbcaca..c2d638d 100644
--- a/sys/netinet/udp.h
+++ b/sys/netinet/udp.h
@@ -48,8 +48,10 @@ struct udphdr {
/*
* User-settable options (used with setsockopt).
*/
-#define UDP_ENCAP 0x01
+#define UDP_ENCAP 1
+/* Start of reserved space for third-party user-settable options. */
+#define UDP_VENDOR SO_VENDOR
/*
* UDP Encapsulation of IPsec Packets options.
OpenPOWER on IntegriCloud