diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-08-18 15:02:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-08-18 15:02:37 -0700 |
commit | 832d2c733882358e566df58447c6387945a3d774 (patch) | |
tree | 26017b6545e74266b32f86c41d621285569bc539 /tcp.h | |
parent | c91c13825fc023ccb349105cf9acb5e699c11223 (diff) | |
download | tcpdump-832d2c733882358e566df58447c6387945a3d774.tar.gz |
From Fang Wang:
RFC 5482 specifies a new TCP option -- the TCP User Timeout
Option (UTO) -- that allows one end of a TCP connection to
advertise its current user timeout value. The Kind of UTO
option is 28 and the Length is 4. The tcpdump currently does
not recognize UTO option.
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -83,6 +83,9 @@ struct tcphdr { #define TCPOLEN_SIGNATURE 18 #define TCP_SIGLEN 16 /* length of an option 19 digest */ #define TCPOPT_AUTH 20 /* Enhanced AUTH option */ +#define TCPOPT_UTO 28 /* tcp user timeout (rfc5482) */ +#define TCPOLEN_UTO 4 + #define TCPOPT_TSTAMP_HDR \ (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP) |