net: add PPP on L2TP Access Concentrator (PPPoLAC) driver.
[firefly-linux-kernel-4.4.55.git] / include / linux / if_pppox.h
index b49cf923becc2405b3d99ef6f88e5a524423e7a3..18205d2d8d44698bea18c4dda1ab788c34780954 100644 (file)
@@ -43,6 +43,14 @@ struct pptp_opt {
        u32 seq_sent, seq_recv;
        int ppp_flags;
 };
+
+struct pppolac_opt {
+       __u32   local;
+       __u32   remote;
+       __u16   sequence;
+       __u8    sequencing;
+};
+
 #include <net/sock.h>
 
 struct pppox_sock {
@@ -53,6 +61,7 @@ struct pppox_sock {
        union {
                struct pppoe_opt pppoe;
                struct pptp_opt  pptp;
+               struct pppolac_opt lac;
        } proto;
        __be16                  num;
 };