Deleted Added
full compact
tcp.h (146773) tcp.h (172683)
1/* @(#) $Header: /tcpdump/master/tcpdump/tcp.h,v 1.11 2004/03/23 07:15:37 guy Exp $ (LBL) */
1/* @(#) $Header: /tcpdump/master/tcpdump/tcp.h,v 1.11.2.1 2005/11/29 09:09:26 hannes Exp $ (LBL) */
2/*
3 * Copyright (c) 1982, 1986, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 62 unchanged lines hidden (view full) ---

72#define TCPOPT_TIMESTAMP 8 /* timestamp (rfc1323) */
73#define TCPOLEN_TIMESTAMP 10
74#define TCPOLEN_TSTAMP_APPA (TCPOLEN_TIMESTAMP+2) /* appendix A */
75#define TCPOPT_CC 11 /* T/TCP CC options (rfc1644) */
76#define TCPOPT_CCNEW 12 /* T/TCP CC options (rfc1644) */
77#define TCPOPT_CCECHO 13 /* T/TCP CC options (rfc1644) */
78#define TCPOPT_SIGNATURE 19 /* Keyed MD5 (rfc2385) */
79#define TCPOLEN_SIGNATURE 18
2/*
3 * Copyright (c) 1982, 1986, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 62 unchanged lines hidden (view full) ---

72#define TCPOPT_TIMESTAMP 8 /* timestamp (rfc1323) */
73#define TCPOLEN_TIMESTAMP 10
74#define TCPOLEN_TSTAMP_APPA (TCPOLEN_TIMESTAMP+2) /* appendix A */
75#define TCPOPT_CC 11 /* T/TCP CC options (rfc1644) */
76#define TCPOPT_CCNEW 12 /* T/TCP CC options (rfc1644) */
77#define TCPOPT_CCECHO 13 /* T/TCP CC options (rfc1644) */
78#define TCPOPT_SIGNATURE 19 /* Keyed MD5 (rfc2385) */
79#define TCPOLEN_SIGNATURE 18
80
81#define TCP_SIGLEN 16 /* length of an option 19 digest */
80#define TCP_SIGLEN 16 /* length of an option 19 digest */
81#define TCPOPT_AUTH 20 /* Enhanced AUTH option */
82
83#define TCPOPT_TSTAMP_HDR \
84 (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)
82
83#define TCPOPT_TSTAMP_HDR \
84 (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)