]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - include/linux/netdevice.h
af_packet: don't emit packet on orig fanout group
[can-eth-gw-linux.git] / include / linux / netdevice.h
index 3560d688161ebf31ba84130f7aa8decf5fb672f4..59dc05f382475d67d5d4326c852f3b7d49332e3b 100644 (file)
@@ -1522,6 +1522,8 @@ struct packet_type {
        struct sk_buff          **(*gro_receive)(struct sk_buff **head,
                                               struct sk_buff *skb);
        int                     (*gro_complete)(struct sk_buff *skb);
+       bool                    (*id_match)(struct packet_type *ptype,
+                                           struct sock *sk);
        void                    *af_packet_priv;
        struct list_head        list;
 };