diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-25 02:11:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-25 02:11:26 +0000 |
commit | 860a10b12f94d28edf8ffa8a4df515be3e1d5f29 (patch) | |
tree | 955c8e4d02e3ceb1c2b82dcf3c77c981990acab3 /usr.sbin/pppd/ppp.h | |
parent | 74d0d724065cd8f7e32c82f2e1eeb9af8f2abd1d (diff) | |
download | FreeBSD-src-860a10b12f94d28edf8ffa8a4df515be3e1d5f29.zip FreeBSD-src-860a10b12f94d28edf8ffa8a4df515be3e1d5f29.tar.gz |
Initial revision
Diffstat (limited to 'usr.sbin/pppd/ppp.h')
-rw-r--r-- | usr.sbin/pppd/ppp.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/usr.sbin/pppd/ppp.h b/usr.sbin/pppd/ppp.h new file mode 100644 index 0000000..3d8f870 --- /dev/null +++ b/usr.sbin/pppd/ppp.h @@ -0,0 +1,41 @@ +/* + * ppp.h - PPP global declarations. + * + * Copyright (c) 1989 Carnegie Mellon University. + * All rights reserved. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by Carnegie Mellon University. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * + * $Id: ppp.h,v 1.1 1993/11/11 03:54:25 paulus Exp $ + */ + +#ifndef __PPP_H__ +#define __PPP_H__ + +#define NPPP 1 /* One PPP interface supported (per process) */ + +/* + * Data Link Layer header = Address, Control, Protocol. + */ +#define ALLSTATIONS 0xff /* All-Stations Address */ +#define UI 0x03 /* Unnumbered Information */ +#define LCP 0xc021 /* Link Control Protocol */ +#define IPCP 0x8021 /* IP Control Protocol */ +#define UPAP 0xc023 /* User/Password Authentication Protocol */ +#define CHAP 0xc223 /* Crytpographic Handshake Protocol */ +#define LQR 0xc025 /* Link Quality Report protocol */ +#define IP_VJ_COMP 0x002d /* VJ TCP compressed IP packet */ +#define DLLHEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short)) +#define MTU 1500 /* Default MTU */ + +#endif /* __PPP_H__ */ |