]> git.ozlabs.org Git - ppp.git/blob - pppd/ppp.h
remove LCP-specific codes
[ppp.git] / pppd / ppp.h
1 /*
2  * ppp.h - PPP global declarations.
3  *
4  * Copyright (c) 1989 Carnegie Mellon University.
5  * All rights reserved.
6  *
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.
18  *
19  * $Id: ppp.h,v 1.1 1993/11/11 03:54:25 paulus Exp $
20  */
21
22 #ifndef __PPP_H__
23 #define __PPP_H__
24
25 #define NPPP    1               /* One PPP interface supported (per process) */
26
27 /*
28  * Data Link Layer header = Address, Control, Protocol.
29  */
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 */
40
41 #endif /* __PPP_H__ */