diff --git a/include/net/dsa.h b/include/net/dsa.h index 65d7804c6f69c6337bbc467457cc3b9dcd113b78..7f46b521313e51fdd032bd957f386d704c30e2c8 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -106,6 +106,8 @@ struct dsa_device_ops { struct sk_buff *(*rcv)(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev); + int (*flow_dissect)(const struct sk_buff *skb, __be16 *proto, + int *offset); }; struct dsa_switch_tree {