vjcdefs.h

来自「用于嵌入式系统的TCP/IP协议栈及若干服务」· C头文件 代码 · 共 47 行

H
47
字号
/**            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  This*  software may only be used in accordance with the corresponding*  license agreement.  Any unauthorized use, duplication, transmission,*  distribution, or disclosure of this software is expressly forbidden.**  This Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $*  $Date: 2001/09/20 10:25:00 $*  $Source: M:/psisrc/ppp/incl/rcs/vjcdefs.h $*  $Revision: 1.3 $**************************************************************************  File Description:  Header file for routines that call VJ compression***************************************************************************/#ifndef _VJCDEFS_H#define _VJCDEFS_H#define MAX_STATES      16      /* must be >2 and <255 */#define MAX_HDR         128     /* max TCP+IP hdr length (by protocol def) *//* packet types */#define TYPE_IP                 0x40#define TYPE_UNCOMPRESSED_TCP   0x70#define TYPE_COMPRESSED_TCP     0x80#define TYPE_ERROR              0x00 /* this is not a type that ever appears                                       * on the wire.  The receive framer uses                                       * it to tell the decompressor there                                       * was a packet transmission error. */#endif  /* _VJCDEFS_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?