Refer to the correct include file for the IPTOS_XXX constants.

This commit is contained in:
Ruslan Ermilov 2000-03-22 16:02:49 +00:00
parent 7cbbc9fc2b
commit a7c8373196
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58467

View File

@ -106,7 +106,7 @@ and
sockets.
For example,
.Bd -literal
int tos = IPTOS_LOWDELAY; /* see <netinet/in.h> */
int tos = IPTOS_LOWDELAY; /* see <netinet/ip.h> */
setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
int ttl = 60; /* max = 255 */