Searched refs:vlan (Results 1 – 12 of 12) sorted by relevance
/net/8021q/ |
D | vlan_netlink.c | 106 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_newlink() local 119 vlan->vlan_id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_newlink() 120 vlan->real_dev = real_dev; in vlan_newlink() 121 vlan->flags = VLAN_FLAG_REORDER_HDR; in vlan_newlink() 123 err = vlan_check_real_dev(real_dev, vlan->vlan_id); in vlan_newlink() 150 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_get_size() local 153 vlan_qos_map_size(vlan->nr_ingress_mappings) + in vlan_get_size() 154 vlan_qos_map_size(vlan->nr_egress_mappings); in vlan_get_size() 159 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_fill_info() local 167 if (vlan->flags) { in vlan_fill_info() [all …]
|
D | vlan_dev.c | 362 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_dev_set_ingress_priority() local 364 if (vlan->ingress_priority_map[vlan_prio & 0x7] && !skb_prio) in vlan_dev_set_ingress_priority() 365 vlan->nr_ingress_mappings--; in vlan_dev_set_ingress_priority() 366 else if (!vlan->ingress_priority_map[vlan_prio & 0x7] && skb_prio) in vlan_dev_set_ingress_priority() 367 vlan->nr_ingress_mappings++; in vlan_dev_set_ingress_priority() 369 vlan->ingress_priority_map[vlan_prio & 0x7] = skb_prio; in vlan_dev_set_ingress_priority() 375 struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_dev_set_egress_priority() local 381 mp = vlan->egress_priority_map[skb_prio & 0xF]; in vlan_dev_set_egress_priority() 385 vlan->nr_egress_mappings--; in vlan_dev_set_egress_priority() 387 vlan->nr_egress_mappings++; in vlan_dev_set_egress_priority() [all …]
|
D | vlan_gvrp.c | 32 const struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_gvrp_request_join() local 33 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_join() 35 return garp_request_join(vlan->real_dev, &vlan_gvrp_app, in vlan_gvrp_request_join() 41 const struct vlan_dev_info *vlan = vlan_dev_info(dev); in vlan_gvrp_request_leave() local 42 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_leave() 44 garp_request_leave(vlan->real_dev, &vlan_gvrp_app, in vlan_gvrp_request_leave()
|
D | vlan.c | 145 struct vlan_dev_info *vlan = vlan_dev_info(dev); in unregister_vlan_dev() local 146 struct net_device *real_dev = vlan->real_dev; in unregister_vlan_dev() 149 u16 vlan_id = vlan->vlan_id; in unregister_vlan_dev() 242 struct vlan_dev_info *vlan = vlan_dev_info(dev); in register_vlan_dev() local 243 struct net_device *real_dev = vlan->real_dev; in register_vlan_dev() 245 u16 vlan_id = vlan->vlan_id; in register_vlan_dev() 371 struct vlan_dev_info *vlan = vlan_dev_info(vlandev); in vlan_sync_address() local 374 if (!compare_ether_addr(vlan->real_dev_addr, dev->dev_addr)) in vlan_sync_address() 379 if (compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address() 385 if (!compare_ether_addr(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address() [all …]
|
D | Makefile | 7 8021q-y := vlan.o vlan_dev.o vlan_netlink.o
|
D | Kconfig | 14 <http://www.candelatech.com/~greear/vlan.html>
|
/net/mac80211/ |
D | debugfs_netdev.c | 225 DEBUGFS_ADD(drop_unencrypted, vlan); in add_vlan_files() 226 DEBUGFS_ADD(force_unicast_rateidx, vlan); in add_vlan_files() 227 DEBUGFS_ADD(max_ratectrl_rateidx, vlan); in add_vlan_files() 356 DEBUGFS_DEL(drop_unencrypted, vlan); in del_vlan_files() 357 DEBUGFS_DEL(force_unicast_rateidx, vlan); in del_vlan_files() 358 DEBUGFS_DEL(max_ratectrl_rateidx, vlan); in del_vlan_files()
|
D | iface.c | 126 list_add(&sdata->u.vlan.list, &sdata->bss->vlans); in ieee80211_open() 324 list_del(&sdata->u.vlan.list); in ieee80211_open() 389 struct ieee80211_sub_if_data *vlan, *tmp; in ieee80211_stop() local 398 list_for_each_entry_safe(vlan, tmp, &sdata->u.ap.vlans, in ieee80211_stop() 399 u.vlan.list) in ieee80211_stop() 400 dev_close(vlan->dev); in ieee80211_stop() 408 list_del(&sdata->u.vlan.list); in ieee80211_stop()
|
D | cfg.c | 695 if (params->vlan) { in ieee80211_add_station() 696 sdata = IEEE80211_DEV_TO_SUB_IF(params->vlan); in ieee80211_add_station() 793 if (params->vlan && params->vlan != sta->sdata->dev) { in ieee80211_change_station() 794 vlansdata = IEEE80211_DEV_TO_SUB_IF(params->vlan); in ieee80211_change_station()
|
D | ieee80211_i.h | 425 struct ieee80211_if_vlan vlan; member 473 } vlan; member
|
/net/wireless/ |
D | nl80211.c | 1326 struct net_device **vlan) in get_vlan() argument 1328 *vlan = NULL; in get_vlan() 1331 *vlan = dev_get_by_index(&init_net, nla_get_u32(vlanattr)); in get_vlan() 1332 if (!*vlan) in get_vlan() 1334 if (!(*vlan)->ieee80211_ptr) in get_vlan() 1336 if ((*vlan)->ieee80211_ptr->wiphy != &rdev->wiphy) in get_vlan() 1389 err = get_vlan(info->attrs[NL80211_ATTR_STA_VLAN], drv, ¶ms.vlan); in nl80211_set_station() 1403 if (params.vlan) in nl80211_set_station() 1404 dev_put(params.vlan); in nl80211_set_station() 1452 err = get_vlan(info->attrs[NL80211_ATTR_STA_VLAN], drv, ¶ms.vlan); in nl80211_new_station() [all …]
|
/net/bridge/netfilter/ |
D | Kconfig | 131 This option adds the 802.1Q vlan match, which allows the filtering of 132 802.1Q vlan fields.
|