mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-20 04:21:14 +09:00
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>
This commit is contained in:
committed by
Arve Hjønnevåg
parent
8aff4bb91a
commit
9343a72db3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user