From 89cf9ca18a08c6281bf383f9f2bde7174488f8ab Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 9 Oct 2000 02:03:44 +0000 Subject: 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. --- slcompress.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'slcompress.h') 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 -- cgit v1.2.1