mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
include/netinet: Add IP and TCP socket options needed by iperf3.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user