1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef __DSA_TAG_8021Q_H
4 #define __DSA_TAG_8021Q_H
13 struct sk_buff
*dsa_8021q_xmit(struct sk_buff
*skb
, struct net_device
*netdev
,
16 void dsa_8021q_rcv(struct sk_buff
*skb
, int *source_port
, int *switch_id
,
19 struct net_device
*dsa_tag_8021q_find_user(struct net_device
*conduit
,
20 int source_port
, int switch_id
,
23 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch
*ds
,
24 struct dsa_notifier_tag_8021q_vlan_info
*info
);
25 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch
*ds
,
26 struct dsa_notifier_tag_8021q_vlan_info
*info
);