summaryrefslogtreecommitdiff
path: root/net/dsa/switch.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/switch.h')
-rw-r--r--net/dsa/switch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dsa/switch.h b/net/dsa/switch.h
index 15e67b95eb6e..ea034677da15 100644
--- a/net/dsa/switch.h
+++ b/net/dsa/switch.h
@@ -111,6 +111,9 @@ struct dsa_notifier_master_state_info {
bool operational;
};
+struct dsa_vlan *dsa_vlan_find(struct list_head *vlan_list,
+ const struct switchdev_obj_port_vlan *vlan);
+
int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v);
int dsa_broadcast(unsigned long e, void *v);