Add TCP_INFO state enum values.
Bug: https://code.google.com/p/android/issues/detail?id=38881 Change-Id: Ie22816c666474e6441e0ec3afd2a6eb04d64a673
This commit is contained in:
parent
d30877ae28
commit
0dff43cab4
1 changed files with 18 additions and 0 deletions
|
@ -31,4 +31,22 @@
|
|||
#include <endian.h> /* Include *before* linux/tcp.h */
|
||||
#include <linux/tcp.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
enum {
|
||||
TCP_ESTABLISHED = 1,
|
||||
TCP_SYN_SENT,
|
||||
TCP_SYN_RECV,
|
||||
TCP_FIN_WAIT1,
|
||||
TCP_FIN_WAIT2,
|
||||
TCP_TIME_WAIT,
|
||||
TCP_CLOSE,
|
||||
TCP_CLOSE_WAIT,
|
||||
TCP_LAST_ACK,
|
||||
TCP_LISTEN,
|
||||
TCP_CLOSING
|
||||
};
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _NETINET_TCP_H */
|
||||
|
|
Loading…
Reference in a new issue