lcp.c (36285) | lcp.c (36466) |
---|---|
1/* 2 * PPP Link Control Protocol (LCP) Module 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, 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 Link Control Protocol (LCP) Module 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, 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: lcp.c,v 1.55.2.54 1998/05/15 23:58:24 brian Exp $ | 20 * $Id: lcp.c,v 1.57 1998/05/21 21:46:00 brian Exp $ |
21 * 22 * TODO: 23 * o Limit data field length by MRU 24 */ 25 26#include <sys/types.h> 27#include <netinet/in.h> 28#include <netinet/in_systm.h> --- 86 unchanged lines hidden (view full) --- 115 "NUMMODE", /* 11: Numbered-Mode */ 116 "MULTIPROC", /* 12: Multi-Link-Procedure */ 117 "CALLBACK", /* 13: Callback */ 118 "CONTIME", /* 14: Connect-Time */ 119 "COMPFRAME", /* 15: Compound-Frames */ 120 "NDE", /* 16: Nominal-Data-Encapsulation */ 121 "MRRU", /* 17: Multilink-MRRU */ 122 "SHORTSEQ", /* 18: Multilink-Short-Sequence-Number-Header */ | 21 * 22 * TODO: 23 * o Limit data field length by MRU 24 */ 25 26#include <sys/types.h> 27#include <netinet/in.h> 28#include <netinet/in_systm.h> --- 86 unchanged lines hidden (view full) --- 115 "NUMMODE", /* 11: Numbered-Mode */ 116 "MULTIPROC", /* 12: Multi-Link-Procedure */ 117 "CALLBACK", /* 13: Callback */ 118 "CONTIME", /* 14: Connect-Time */ 119 "COMPFRAME", /* 15: Compound-Frames */ 120 "NDE", /* 16: Nominal-Data-Encapsulation */ 121 "MRRU", /* 17: Multilink-MRRU */ 122 "SHORTSEQ", /* 18: Multilink-Short-Sequence-Number-Header */ |
123 "ENDDISC", /* 19: Multilink-Endpoint-Descriminator */ | 123 "ENDDISC", /* 19: Multilink-Endpoint-Discriminator */ |
124 "PROPRIETRY", /* 20: Proprietary */ 125 "DCEID", /* 21: DCE-Identifier */ 126 "MULTIPP", /* 22: Multi-Link-Plus-Procedure */ 127 "LDBACP", /* 23: Link Discriminator for BACP */ 128}; 129 130#define NCFTYPES (sizeof cftypes/sizeof cftypes[0]) 131 --- 759 unchanged lines hidden --- | 124 "PROPRIETRY", /* 20: Proprietary */ 125 "DCEID", /* 21: DCE-Identifier */ 126 "MULTIPP", /* 22: Multi-Link-Plus-Procedure */ 127 "LDBACP", /* 23: Link Discriminator for BACP */ 128}; 129 130#define NCFTYPES (sizeof cftypes/sizeof cftypes[0]) 131 --- 759 unchanged lines hidden --- |