]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of a couple of #defines not used by tcpdump.
authorguy <guy>
Mon, 9 Oct 2000 02:03:44 +0000 (02:03 +0000)
committerguy <guy>
Mon, 9 Oct 2000 02:03:44 +0000 (02:03 +0000)
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.

slcompress.h

index f57167a8b80d189c4e888c1ac3adf27b54abe3d2..d10243a9fd78679523d349e53a00318481361158 100644 (file)
@@ -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