2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
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.
18 * $Id: lcpproto.h,v 1.11 1998/05/21 21:46:05 brian Exp $
24 * Definition of protocol numbers
26 #define PROTO_IP 0x0021 /* IP */
27 #define PROTO_VJUNCOMP 0x002f /* VJ Uncompressed */
28 #define PROTO_VJCOMP 0x002d /* VJ Compressed */
29 #define PROTO_MP 0x003d /* Multilink fragment */
30 #define PROTO_ICOMPD 0x00fb /* Individual link compressed */
31 #define PROTO_COMPD 0x00fd /* Compressed datagram */
33 #define PROTO_COMPRESSIBLE(p) (((p) & 0xffe1) == 0x21)
35 #define PROTO_IPCP 0x8021
36 #define PROTO_ICCP 0x80fb
37 #define PROTO_CCP 0x80fd
39 #define PROTO_LCP 0xc021
40 #define PROTO_PAP 0xc023
41 #define PROTO_CBCP 0xc029
42 #define PROTO_LQR 0xc025
43 #define PROTO_CHAP 0xc223