1/* slcompress.h 8.1 93/06/10 */ 2/* 3 * Definitions for tcp compression routines. 4 * 5 * Copyright (c) 1989, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: 37 * - Initial distribution. |
38 * $Id: slcompress.h,v 1.3 1994/08/21 05:11:47 paul Exp $ |
39 */ 40 |
41#ifndef _NET_SLCOMPRESS_H_ |
42#define _NET_SLCOMPRESS_H_ |
43 44#define MAX_STATES 16 /* must be > 2 and < 256 */ 45#define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */ 46 47/* 48 * Compressed packet format: 49 * 50 * The first octet contains the packet type (top 3 bits), TCP --- 111 unchanged lines hidden --- |