aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2009-06-12 01:09:30 +0800
committerColin Cross <ccross@android.com>2014-03-19 13:07:26 -0700
commitc80c1b3740f87bfaaf1b7d204539840983dd07dc (patch)
treee972af435895e72d88d3e6fb95bf4b68a64875a8 /include/uapi
parent52c46e9afacbcdec587d44f598ef407ff0fe1169 (diff)
net: add PPP on PPTP Network Server (PPPoPNS) driver.
Signed-off-by: Chia-chi Yeh <chiachi@android.com> ppopns: dont include px_proto define in if_pppopns.h Change-Id: I27e687667db5b45182562f4a517a2e6cec6b1350 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/if_pppox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h
index 8cf7e1c8534..5861d45bc51 100644
--- a/include/uapi/linux/if_pppox.h
+++ b/include/uapi/linux/if_pppox.h
@@ -24,6 +24,7 @@
#include <linux/if_ether.h>
#include <linux/if_pppol2tp.h>
#include <linux/if_pppolac.h>
+#include <linux/if_pppopns.h>
/* For user-space programs to pick up these definitions
* which they wouldn't get otherwise without defining __KERNEL__
@@ -58,7 +59,8 @@ struct pptp_addr {
#define PX_PROTO_OL2TP 1 /* Now L2TP also */
#define PX_PROTO_PPTP 2
#define PX_PROTO_OLAC 3
-#define PX_MAX_PROTO 4
+#define PX_PROTO_OPNS 4
+#define PX_MAX_PROTO 5
struct sockaddr_pppox {
__kernel_sa_family_t sa_family; /* address family, AF_PPPOX */