mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +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.
|
sockets.
|
||||||
For example,
|
For example,
|
||||||
.Bd -literal
|
.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));
|
setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
|
||||||
|
|
||||||
int ttl = 60; /* max = 255 */
|
int ttl = 60; /* max = 255 */
|
||||||
|
Loading…
Reference in New Issue
Block a user