hdlc.h (6735) | hdlc.h (13389) |
---|---|
1/* 2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 3 * 4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 5 * 6 * Redistribution and use in source and binary forms are permitted 7 * provided that the above copyright notice and this paragraph are 8 * duplicated in all such forms and that any documentation, 9 * advertising materials, and other materials related to such 10 * distribution and use acknowledge that the software was developed 11 * by the Internet Initiative Japan. The name of the 12 * IIJ may not be used to endorse or promote products derived 13 * from this software without specific prior written permission. 14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 * | 1/* 2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 3 * 4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 5 * 6 * Redistribution and use in source and binary forms are permitted 7 * provided that the above copyright notice and this paragraph are 8 * duplicated in all such forms and that any documentation, 9 * advertising materials, and other materials related to such 10 * distribution and use acknowledge that the software was developed 11 * by the Internet Initiative Japan. The name of the 12 * IIJ may not be used to endorse or promote products derived 13 * from this software without specific prior written permission. 14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 * |
18 * $Id:$ | 18 * $Id: hdlc.h,v 1.2 1995/02/26 12:17:31 amurai Exp $ |
19 * 20 * TODO: 21 */ 22 23#ifndef _HDLC_H_ 24#define _HDLC_H_ 25 26/* --- 20 unchanged lines hidden (view full) --- 47 */ 48#define PRI_NORMAL 0 /* Normal priority */ 49#define PRI_FAST 1 /* Fast (interructive) */ 50#define PRI_URGENT 2 /* Urgent (LQR packets) */ 51 52unsigned char EscMap[33]; 53 54void HdlcInit __P((void)); | 19 * 20 * TODO: 21 */ 22 23#ifndef _HDLC_H_ 24#define _HDLC_H_ 25 26/* --- 20 unchanged lines hidden (view full) --- 47 */ 48#define PRI_NORMAL 0 /* Normal priority */ 49#define PRI_FAST 1 /* Fast (interructive) */ 50#define PRI_URGENT 2 /* Urgent (LQR packets) */ 51 52unsigned char EscMap[33]; 53 54void HdlcInit __P((void)); |
55void HdlcErrorCheck __P((void)); |
|
55void HdlcInput __P((struct mbuf *bp)); 56void HdlcOutput __P((int pri, u_short proto, struct mbuf *bp)); 57void AsyncOutput __P((int pri, struct mbuf *bp, int proto)); | 56void HdlcInput __P((struct mbuf *bp)); 57void HdlcOutput __P((int pri, u_short proto, struct mbuf *bp)); 58void AsyncOutput __P((int pri, struct mbuf *bp, int proto)); |
58 | 59u_short HdlcFcs __P((u_short, u_char *, int)); 60void DecodePacket __P((u_short, struct mbuf *)); |
59#endif | 61#endif |