mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
include/netinet: Add IP and TCP socket options needed by iperf3.
This commit is contained in:
parent
a629dd5306
commit
ac9a69384d
2 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,8 @@
|
|||
* to INADDR_ANY */
|
||||
#define IP_PKTINFO (__SO_PROTOCOL + 12) /* Get some information about
|
||||
* the incoming packet */
|
||||
#define IP_TOS (__SO_PROTOCOL + 13) /* Access the Type-Of-Service
|
||||
* (TOS) field */
|
||||
|
||||
/* SOL_IPV6 protocol-level socket options. */
|
||||
|
||||
|
|
|
@ -68,5 +68,6 @@
|
|||
* Argument: struct timeval */
|
||||
#define TCP_KEEPCNT (__SO_PROTOCOL + 3) /* Number of keepalives before death
|
||||
* Argument: max retry count */
|
||||
#define TCP_MAXSEG (__SO_PROTOCOL + 4) /* The maximum segment size */
|
||||
|
||||
#endif /* __INCLUDE_NETINET_TCP_H */
|
||||
|
|
Loading…
Reference in a new issue