diff options
author | Paul Mackerras <paulus@samba.org> | 1994-09-21 01:31:06 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 1994-09-21 01:31:06 +0000 |
commit | 76d1c87fa36ac2d646f33cdb587c5a9eaf6da115 (patch) | |
tree | ea6e4d6f4e9b47cdcc5cdf5f7a5ff862db0364bc /include | |
parent | 9ed05e1618a9087274adb81d04939a0d016300f6 (diff) | |
download | ppp-76d1c87fa36ac2d646f33cdb587c5a9eaf6da115.tar.gz |
protect against multiple inclusion; add more protocols
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ppp_defs.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index 9a0a2a1..7e6c62f 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -1,4 +1,4 @@ -/* $Id: ppp_defs.h,v 1.1 1994/09/19 04:18:43 paulus Exp $ */ +/* $Id: ppp_defs.h,v 1.2 1994/09/21 01:31:06 paulus Exp $ */ /* * ppp_defs.h - PPP definitions. @@ -27,6 +27,9 @@ * OR MODIFICATIONS. */ +#ifndef _PPP_DEFS_H_ +#define _PPP_DEFS_H_ + /* * The basic PPP frame. */ @@ -54,8 +57,12 @@ #define PPP_VJC_COMP 0x2d /* VJ compressed TCP */ #define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */ #define PPP_COMP 0xfd /* compressed packet */ -#define PPP_LCP 0xc021 /* Link Control Protocol */ +#define PPP_IPCP 0x8021 /* IP Control Protocol */ #define PPP_CCP 0x80fd /* Compression Control Protocol */ +#define PPP_LCP 0xc021 /* Link Control Protocol */ +#define PPP_PAP 0xc023 /* Password Authentication Protocol */ +#define PPP_LQR 0xc025 /* Link Quality Report protocol */ +#define PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */ /* * Values for FCS calculations. @@ -137,3 +144,5 @@ struct ppp_stats { #define __P(x) () #endif #endif + +#endif /* _PPP_DEFS_H_ */ |