diff --git a/include/netinet/in.h b/include/netinet/in.h index 813db3d4469..c031254e19b 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -118,6 +118,8 @@ * to INADDR_ANY */ #define IP_PKTINFO (__SO_PROTOCOL + 12) /* Get some information about * the incoming packet */ +#define IP_TOS (__SO_PROTOCOL + 13) /* Access the Type-Of-Service + * (TOS) field */ /* SOL_IPV6 protocol-level socket options. */ diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 70dee655a4b..c678d61b85f 100644 --- a/include/netinet/tcp.h +++ b/include/netinet/tcp.h @@ -68,5 +68,6 @@ * Argument: struct timeval */ #define TCP_KEEPCNT (__SO_PROTOCOL + 3) /* Number of keepalives before death * Argument: max retry count */ +#define TCP_MAXSEG (__SO_PROTOCOL + 4) /* The maximum segment size */ #endif /* __INCLUDE_NETINET_TCP_H */