include/netinet: Add missing IP_TTL definition

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ic0c4bcb840952a4ccf7f262306ba0c3d43e01811
This commit is contained in:
Huang Qi
2021-04-13 11:11:22 +08:00
committed by 黄齐
parent d64d558adb
commit 6b60279aaf
+3
View File
@@ -120,6 +120,9 @@
* the incoming packet */
#define IP_TOS (__SO_PROTOCOL + 13) /* Access the Type-Of-Service
* (TOS) field */
#define IP_TTL (__SO_PROTOCOL + 14) /* The IP TTL (time to live)
* of IP packets sent by the
* network stack*/
/* SOL_IPV6 protocol-level socket options. */