vlan.h (10a558374f3751cf4eb55143008975641dfc2cf4) | vlan.h (9daae9bd47cff82a2a06aca23c458d6c79d09d52) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __BEN_VLAN_802_1Q_INC__ 3#define __BEN_VLAN_802_1Q_INC__ 4 5#include <linux/if_vlan.h> 6#include <linux/u64_stats_sync.h> 7#include <linux/list.h> 8 --- 83 unchanged lines hidden (view full) --- 92 return NULL; 93} 94 95#define vlan_group_for_each_dev(grp, i, dev) \ 96 for ((i) = 0; i < VLAN_PROTO_NUM * VLAN_N_VID; i++) \ 97 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \ 98 (i) % VLAN_N_VID))) 99 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __BEN_VLAN_802_1Q_INC__ 3#define __BEN_VLAN_802_1Q_INC__ 4 5#include <linux/if_vlan.h> 6#include <linux/u64_stats_sync.h> 7#include <linux/list.h> 8 --- 83 unchanged lines hidden (view full) --- 92 return NULL; 93} 94 95#define vlan_group_for_each_dev(grp, i, dev) \ 96 for ((i) = 0; i < VLAN_PROTO_NUM * VLAN_N_VID; i++) \ 97 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \ 98 (i) % VLAN_N_VID))) 99 |
100int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto); 101void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto); 102 |
|
100/* found in vlan_dev.c */ 101void vlan_dev_set_ingress_priority(const struct net_device *dev, 102 u32 skb_prio, u16 vlan_prio); 103int vlan_dev_set_egress_priority(const struct net_device *dev, 104 u32 skb_prio, u16 vlan_prio); 105int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask); 106void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 107 --- 69 unchanged lines hidden --- | 103/* found in vlan_dev.c */ 104void vlan_dev_set_ingress_priority(const struct net_device *dev, 105 u32 skb_prio, u16 vlan_prio); 106int vlan_dev_set_egress_priority(const struct net_device *dev, 107 u32 skb_prio, u16 vlan_prio); 108int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask); 109void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 110 --- 69 unchanged lines hidden --- |