diff options
author | cmetz <cmetz@cvs.openbsd.org> | 1999-07-06 20:17:54 +0000 |
---|---|---|
committer | cmetz <cmetz@cvs.openbsd.org> | 1999-07-06 20:17:54 +0000 |
commit | b572bd87e759146844b72e7a327306a471ae69c7 (patch) | |
tree | 3e21a6f1fca265ba2767f46b76bfd8d2182243b9 /sys/netinet/tcp.h | |
parent | 1b325370253fe0a5d55ea7f66f9477a75800daaf (diff) |
Added support for TCP MD5 option (RFC 2385).
Diffstat (limited to 'sys/netinet/tcp.h')
-rw-r--r-- | sys/netinet/tcp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index b32970f4f4a..0bd98882b2b 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp.h,v 1.7 1999/07/02 21:22:13 cmetz Exp $ */ +/* $OpenBSD: tcp.h,v 1.8 1999/07/06 20:17:52 cmetz Exp $ */ /* $NetBSD: tcp.h,v 1.8 1995/04/17 05:32:58 cgd Exp $ */ /* @@ -85,6 +85,8 @@ struct tcphdr { #define TCPOPT_TIMESTAMP 8 #define TCPOLEN_TIMESTAMP 10 #define TCPOLEN_TSTAMP_APPA (TCPOLEN_TIMESTAMP+2) /* appendix A */ +#define TCPOPT_SIGNATURE 19 +#define TCPOLEN_SIGNATURE 18 #define MAX_TCPOPTLEN 40 /* Absolute maximum TCP options len */ @@ -118,6 +120,7 @@ struct tcphdr { */ #define TCP_NODELAY 0x01 /* don't delay send to coalesce pkts */ #define TCP_MAXSEG 0x02 /* set maximum segment size */ +#define TCP_SIGNATURE_ENABLE 0x04 /* enable TCP MD5 signature option */ #define TCP_SACK_DISABLE 0x300 /* disable SACKs (if enabled by def.) */ #endif /* !_NETINET_TCP_H_ */ |