summaryrefslogtreecommitdiff
path: root/slcompress.h
diff options
context:
space:
mode:
authorguy <guy>2000-10-09 02:03:44 +0000
committerguy <guy>2000-10-09 02:03:44 +0000
commit89cf9ca18a08c6281bf383f9f2bde7174488f8ab (patch)
tree17787da5a7d49eb186ffcdd48c410eeed2819dc5 /slcompress.h
parentb72953a314d22467a5861ddcb74dfad4bb0c311a (diff)
downloadtcpdump-89cf9ca18a08c6281bf383f9f2bde7174488f8ab.tar.gz
Get rid of a couple of #defines not used by tcpdump.
Add TCP_PUSH_BIT back; it's not used by tcpdump, but it *is* a bit in the compressed packet header, and thus part of the protocol.
Diffstat (limited to 'slcompress.h')
-rw-r--r--slcompress.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/slcompress.h b/slcompress.h
index f57167a8..d10243a9 100644
--- a/slcompress.h
+++ b/slcompress.h
@@ -1,7 +1,7 @@
/*
* Definitions for tcp compression routines.
*
- * @(#) $Header: /tcpdump/master/tcpdump/slcompress.h,v 1.1 2000-10-09 01:53:21 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/slcompress.h,v 1.2 2000-10-09 02:03:44 guy Exp $ (LBL)
*
* Copyright (c) 1989, 1990, 1992, 1993 Regents of the University of
* California. All rights reserved.
@@ -22,9 +22,6 @@
* - Initial distribution.
*/
-#define MAX_STATES 16 /* must be > 2 and < 256 */
-#define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */
-
/*
* Compressed packet format:
*
@@ -86,3 +83,5 @@
#define SPECIAL_I (NEW_S|NEW_W|NEW_U) /* echoed interactive traffic */
#define SPECIAL_D (NEW_S|NEW_A|NEW_W|NEW_U) /* unidirectional data */
#define SPECIALS_MASK (NEW_S|NEW_A|NEW_W|NEW_U)
+
+#define TCP_PUSH_BIT 0x10