2 * ppp.h - PPP global declarations.
4 * Copyright (c) 1989 Carnegie Mellon University.
7 * Redistribution and use in source and binary forms are permitted
8 * provided that the above copyright notice and this paragraph are
9 * duplicated in all such forms and that any documentation,
10 * advertising materials, and other materials related to such
11 * distribution and use acknowledge that the software was developed
12 * by Carnegie Mellon University. The name of the
13 * University may not be used to endorse or promote products derived
14 * from this software without specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 * $Id: ppp.h,v 1.1 1993/11/11 03:54:25 paulus Exp $
25 #define NPPP 1 /* One PPP interface supported (per process) */
28 * Data Link Layer header = Address, Control, Protocol.
30 #define ALLSTATIONS 0xff /* All-Stations Address */
31 #define UI 0x03 /* Unnumbered Information */
32 #define LCP 0xc021 /* Link Control Protocol */
33 #define IPCP 0x8021 /* IP Control Protocol */
34 #define UPAP 0xc023 /* User/Password Authentication Protocol */
35 #define CHAP 0xc223 /* Crytpographic Handshake Protocol */
36 #define LQR 0xc025 /* Link Quality Report protocol */
37 #define IP_VJ_COMP 0x002d /* VJ TCP compressed IP packet */
38 #define DLLHEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
39 #define MTU 1500 /* Default MTU */
41 #endif /* __PPP_H__ */