frame.h
来自「wince下的源代码集合打包」· C头文件 代码 · 共 42 行
H
42 行
/****************************************************************************** * Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved.** @doc* @module frame.h | AsyncMac Framing constants** @comm*/// PPP Constants#define PPP_FLAG_BYTE 0x7e#define PPP_ESC_BYTE 0x7d// SLIP special character codes#define SLIP_END 0xC0 /* indicates end of packet */#define SLIP_ESC 0xDB /* indicates byte stuffing */#define SLIP_ESC_END 0xDC /* ESC ESC_END means END data byte */#define SLIP_ESC_ESC 0xDD /* ESC ESC_ESC means ESC data byte */// ----------------------------------------------------------------//// Extern declarations//// ----------------------------------------------------------------// pppframe.cVOID AssemblePPPFrame(PASYNCMAC_OPEN_LINE pOpenLine, PNDIS_WAN_PACKET WanPacket);// slipframe.cVOID AssembleSLIPFrame(PASYNCMAC_OPEN_LINE pOpenLine, PNDIS_WAN_PACKET WanPacket);// crcppp.cUSHORT CalcCRCPPP(PUCHAR cp, UINT len);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?