ccp.c (32658) | ccp.c (32663) |
---|---|
1/* 2 * PPP Compression Control Protocol (CCP) Module 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1994, Internet Initiative Japan, Inc. All rights reserverd. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by the Internet Initiative Japan, Inc. The name of the 14 * IIJ may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * | 1/* 2 * PPP Compression Control Protocol (CCP) Module 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1994, Internet Initiative Japan, Inc. All rights reserverd. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by the Internet Initiative Japan, Inc. The name of the 14 * IIJ may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * |
20 * $Id: ccp.c,v 1.28 1998/01/10 01:55:08 brian Exp $ | 20 * $Id: ccp.c,v 1.29 1998/01/20 22:47:34 brian Exp $ |
21 * 22 * TODO: 23 * o Support other compression protocols 24 */ 25#include <sys/param.h> 26#include <netinet/in.h> 27 28#include <stdio.h> --- 28 unchanged lines hidden (view full) --- 57 58struct fsm CcpFsm = { 59 "CCP", 60 PROTO_CCP, 61 CCP_MAXCODE, 62 0, 63 ST_INITIAL, 64 0, 0, 0, | 21 * 22 * TODO: 23 * o Support other compression protocols 24 */ 25#include <sys/param.h> 26#include <netinet/in.h> 27 28#include <stdio.h> --- 28 unchanged lines hidden (view full) --- 57 58struct fsm CcpFsm = { 59 "CCP", 60 PROTO_CCP, 61 CCP_MAXCODE, 62 0, 63 ST_INITIAL, 64 0, 0, 0, |
65 0, | |
66 {0, 0, 0, NULL, NULL, NULL}, /* FSM timer */ 67 {0, 0, 0, NULL, NULL, NULL}, /* Open timer */ 68 {0, 0, 0, NULL, NULL, NULL}, /* Stopped timer */ 69 LogCCP, 70 71 CcpLayerUp, 72 CcpLayerDown, 73 CcpLayerStart, --- 360 unchanged lines hidden --- | 65 {0, 0, 0, NULL, NULL, NULL}, /* FSM timer */ 66 {0, 0, 0, NULL, NULL, NULL}, /* Open timer */ 67 {0, 0, 0, NULL, NULL, NULL}, /* Stopped timer */ 68 LogCCP, 69 70 CcpLayerUp, 71 CcpLayerDown, 72 CcpLayerStart, --- 360 unchanged lines hidden --- |