summaryrefslogtreecommitdiff
path: root/pkg/openbsd/include/netinet/ip.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-07 13:58:29 -0800
committerMichael Forney <mforney@mforney.org>2018-11-07 14:04:38 -0800
commit80770716279ced2795dbdec6b92cc1a06be2ab61 (patch)
treebff34f37cd7bdbc1246d34b22c2dfe94b55d25bd /pkg/openbsd/include/netinet/ip.h
parent5a0f00b6c147fa44a4c2f2598a14154d8a5c155e (diff)
Build nc from libressl
This way we don't have to maintain the nc linux port patch ourselves. It also avoids a circular dependency between the libressl and openbsd packages.
Diffstat (limited to 'pkg/openbsd/include/netinet/ip.h')
-rw-r--r--pkg/openbsd/include/netinet/ip.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/openbsd/include/netinet/ip.h b/pkg/openbsd/include/netinet/ip.h
new file mode 100644
index 00000000..238358c9
--- /dev/null
+++ b/pkg/openbsd/include/netinet/ip.h
@@ -0,0 +1,9 @@
+#include_next <netinet/ip.h>
+#define IPTOS_DSCP_CS0 0x00
+#define IPTOS_DSCP_CS1 0x20
+#define IPTOS_DSCP_CS2 0x40
+#define IPTOS_DSCP_CS3 0x60
+#define IPTOS_DSCP_CS4 0x80
+#define IPTOS_DSCP_CS5 0xa0
+#define IPTOS_DSCP_CS6 0xc0
+#define IPTOS_DSCP_CS7 0xe0