net: PPPoPNS and PPPoLAC fixes.
[firefly-linux-kernel-4.4.55.git] / include / linux / if_pppox.h
index 7f7bc0e119739f2e3268cc9847fef23a58553f6e..3e837352b4e1ec7e093210e1a89da3761fcce0b6 100644 (file)
@@ -177,12 +177,15 @@ struct pppolac_opt {
        __u32   remote;
        __u16   sequence;
        __u8    sequencing;
+       int     (*backlog_rcv)(struct sock *sk_udp, struct sk_buff *skb);
 };
 
 struct pppopns_opt {
        __u16   local;
        __u16   remote;
        __u32   sequence;
+       void    (*data_ready)(struct sock *sk_raw, int length);
+       int     (*backlog_rcv)(struct sock *sk_raw, struct sk_buff *skb);
 };
 
 #include <net/sock.h>