Deleted Added
full compact
hdlc.h (31343) hdlc.h (31514)
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: hdlc.h,v 1.11 1997/10/26 01:02:45 brian Exp $
18 * $Id: hdlc.h,v 1.12 1997/11/22 03:37:33 brian Exp $
19 *
20 * TODO:
21 */
22
23/*
24 * Definition for Async HDLC
25 */
26#define HDLC_SYN 0x7e /* SYNC character */

--- 30 unchanged lines hidden (view full) ---

57
58extern u_char EscMap[33];
59
60extern void HdlcInit(void);
61extern void HdlcErrorCheck(void);
62extern void HdlcInput(struct mbuf *);
63extern void HdlcOutput(int, u_short, struct mbuf *bp);
64extern u_short HdlcFcs(u_short, u_char *, int);
19 *
20 * TODO:
21 */
22
23/*
24 * Definition for Async HDLC
25 */
26#define HDLC_SYN 0x7e /* SYNC character */

--- 30 unchanged lines hidden (view full) ---

57
58extern u_char EscMap[33];
59
60extern void HdlcInit(void);
61extern void HdlcErrorCheck(void);
62extern void HdlcInput(struct mbuf *);
63extern void HdlcOutput(int, u_short, struct mbuf *bp);
64extern u_short HdlcFcs(u_short, u_char *, int);
65extern u_short HdlcFcsBuf(u_short, struct mbuf *);
65extern void DecodePacket(u_short, struct mbuf *);
66extern int ReportHdlcStatus(struct cmdargs const *);
67extern int ReportProtStatus(struct cmdargs const *);
66extern void DecodePacket(u_short, struct mbuf *);
67extern int ReportHdlcStatus(struct cmdargs const *);
68extern int ReportProtStatus(struct cmdargs const *);