lcp.h (6060) | lcp.h (6735) |
---|---|
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, --- 8 unchanged lines hidden (view full) --- 17 * 18 * $Id:$ 19 * 20 * TODO: 21 */ 22 23#ifndef _LCP_H_ 24#define _LPC_H_ | 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, --- 8 unchanged lines hidden (view full) --- 17 * 18 * $Id:$ 19 * 20 * TODO: 21 */ 22 23#ifndef _LCP_H_ 24#define _LPC_H_ |
25#include "cdefs.h" |
|
25 26struct lcpstate { 27 u_long his_mru; 28 u_long his_accmap; 29 u_long his_magic; 30 u_long his_lqrperiod; 31 u_char his_protocomp; 32 u_char his_acfcomp; --- 36 unchanged lines hidden (view full) --- 69 u_char type; 70 u_char length; 71 u_short proto; /* Quality protocol */ 72 u_long period; /* Reporting interval */ 73}; 74 75extern struct lcpstate LcpInfo; 76 | 26 27struct lcpstate { 28 u_long his_mru; 29 u_long his_accmap; 30 u_long his_magic; 31 u_long his_lqrperiod; 32 u_char his_protocomp; 33 u_char his_acfcomp; --- 36 unchanged lines hidden (view full) --- 70 u_char type; 71 u_char length; 72 u_short proto; /* Quality protocol */ 73 u_long period; /* Reporting interval */ 74}; 75 76extern struct lcpstate LcpInfo; 77 |
77extern void LcpInit(void); 78extern void LcpUp(void); 79extern void LcpSendProtoRej(u_char *, int); 80extern void LcpOpen(int mode); 81extern void LcpClose(void); 82extern void LcpDown(void); | 78extern void LcpInit __P((void)); 79extern void LcpUp __P((void)); 80extern void LcpSendProtoRej __P((u_char *, int)); 81extern void LcpOpen __P((int mode)); 82extern void LcpClose __P((void)); 83extern void LcpDown __P((void)); |
83#endif | 84#endif |