- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
sppp.h
资源名称:export.zip [点击查看]
上传用户:hepax88
上传日期:2007-01-03
资源大小:1101k
文件大小:1k
源码类别:
TCP/IP协议栈
开发平台:
Visual C++
- /* HDLC envelope constants */
- #define HDLC_ENVLEN 8 /* Max bytes for HDLC envelope (outgoing) */
- #define HDLC_FLAG 0x7e /* HDLC async start/stop flag */
- #define HDLC_ESC_ASYNC 0x7d /* HDLC transparency escape flag for async */
- #define HDLC_ESC_COMPL 0x20 /* HDLC transparency bit complement mask */
- #define HDLC_FCS_START 0xffff /* Starting bit string for FCS calculation */
- #define HDLC_FCS_FINAL 0xf0b8 /* FCS when summed over frame and sender FCS */
- #define PPP_IP_PROTOCOL 0x0021 /* Internet Protocol */
- #define PPP_COMPR_PROTOCOL 0x002d /* Van Jacobson Compressed TCP/IP */
- #define PPP_UNCOMP_PROTOCOL 0x002f /* Van Jacobson Uncompressed TCP/IP */
- void sppp_rx(int dev,void *p1,void *p2);
- int sppp_send(struct mbuf **bpp,struct iface *ifp,int32 gateway,uint8 tos);
- int sppp_output(struct iface *iface,int protocol,struct mbuf **bpp);
- int sppp_init(struct iface *ifp);
- int sppp_free(struct iface *ifp);