mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
Refer to the correct include file for the IPTOS_XXX constants.
This commit is contained in:
parent
7cbbc9fc2b
commit
a7c8373196
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58467
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user