net: PPPoPNS and PPPoLAC fixes.
[firefly-linux-kernel-4.4.55.git] / include / linux / if_pppox.h
index c5539f620be710d81c3bfb5167da17025226eb57..9f581dab63b24fcedacc5031b9a78941db67f74d 100644 (file)
@@ -150,12 +150,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>