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 Gustavo Henrique Nihei
parent 80b7394a95
commit c303a12f26
+3
View File
@@ -107,6 +107,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. */