summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-12 14:39:47 +0000
committerjkh <jkh@FreeBSD.org>1996-12-12 14:39:47 +0000
commite9d9f1a03faaebd237b178bafd1984ebdb7f10ce (patch)
tree34061737a5a78521d3b8272572be78e37e2e5ee3 /usr.sbin/ppp/defs.h
parentea690c232d51299477c23bce3db9b26729d4878e (diff)
downloadFreeBSD-src-e9d9f1a03faaebd237b178bafd1984ebdb7f10ce.zip
FreeBSD-src-e9d9f1a03faaebd237b178bafd1984ebdb7f10ce.tar.gz
The infamous IP aliasing code for ppp, modified to work as a runtime option
(otherwise ppp's behavior remains unchanged) and documented by myself, Steve Sims, Nate Williams, Martin Renters and god-only-knows who else. :-) Submitted by: nate Obtained from: Charles Mott <cmott@srv.net>
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index 84989f5..898ec19 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: defs.h,v 1.4 1995/10/08 14:57:28 amurai Exp $
+ * $Id: defs.h,v 1.5 1996/12/03 21:38:42 nate Exp $
*
* TODO:
*/
@@ -60,6 +60,7 @@
#define MODE_DIRECT 4 /* Direct connection mode */
#define MODE_DEDICATED 8 /* Dedicated line mode */
#define MODE_DDIAL 16 /* Dedicated dialing line mode */
+#define MODE_ALIAS 32 /* Packet aliasing (masquerading) */
#define EX_NORMAL 0
#define EX_START 1
OpenPOWER on IntegriCloud