net: add PPP on L2TP Access Concentrator (PPPoLAC) driver.
[firefly-linux-kernel-4.4.55.git] / include / uapi / linux / if_pppox.h
index e128769331b5a7c6be4a10cf44c262be68a65772..8cf7e1c85345f759ce09211a6253819f69619cd8 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/socket.h>
 #include <linux/if_ether.h>
 #include <linux/if_pppol2tp.h>
+#include <linux/if_pppolac.h>
 
 /* For user-space programs to pick up these definitions
  * which they wouldn't get otherwise without defining __KERNEL__
@@ -56,7 +57,8 @@ struct pptp_addr {
 #define PX_PROTO_OE    0 /* Currently just PPPoE */
 #define PX_PROTO_OL2TP 1 /* Now L2TP also */
 #define PX_PROTO_PPTP  2
-#define PX_MAX_PROTO   3
+#define PX_PROTO_OLAC  3
+#define PX_MAX_PROTO   4
 
 struct sockaddr_pppox {
        __kernel_sa_family_t sa_family;       /* address family, AF_PPPOX */