summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-09-24 21:17:20 +1000
committerDarren Tucker <dtucker@dtucker.net>2019-09-24 21:17:20 +1000
commitc1e0a32fa852de6d1c82ece4f76add0ab0ca0eae (patch)
treee51c5f57fbc65605343be5e21b892857aa6f34eb /defines.h
parent5a273a33ca1410351cb484af7db7c13e8b4e8e4e (diff)
Add more ToS bits, currently only used by netcat.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 46f88a43..e37e1647 100644
--- a/defines.h
+++ b/defines.h
@@ -96,6 +96,15 @@ enum
#ifndef IPTOS_DSCP_EF
# define IPTOS_DSCP_EF 0xb8
#endif /* IPTOS_DSCP_EF */
+#ifndef IPTOS_PREC_CRITIC_ECP
+# define IPTOS_PREC_CRITIC_ECP 0xa0
+#endif
+#ifndef IPTOS_PREC_INTERNETCONTROL
+# define IPTOS_PREC_INTERNETCONTROL 0xc0
+#endif
+#ifndef IPTOS_PREC_NETCONTROL
+# define IPTOS_PREC_NETCONTROL 0xe0
+#endif
#ifndef PATH_MAX
# ifdef _POSIX_PATH_MAX