Add more ToS bits, currently only used by netcat.

This commit is contained in:
Darren Tucker 2019-09-24 21:17:20 +10:00
parent 5a273a33ca
commit c1e0a32fa8
1 changed files with 9 additions and 0 deletions

View File

@ -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