vlandev 289 net/8021q/vlan.c struct net_device *vlandev) vlandev 291 net/8021q/vlan.c struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); vlandev 298 net/8021q/vlan.c if (vlan_dev_inherit_address(vlandev, dev)) vlandev 303 net/8021q/vlan.c if (!ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && vlandev 304 net/8021q/vlan.c ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) vlandev 305 net/8021q/vlan.c dev_uc_del(dev, vlandev->dev_addr); vlandev 309 net/8021q/vlan.c if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && vlandev 310 net/8021q/vlan.c !ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) vlandev 311 net/8021q/vlan.c dev_uc_add(dev, vlandev->dev_addr); vlandev 318 net/8021q/vlan.c struct net_device *vlandev) vlandev 320 net/8021q/vlan.c struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); vlandev 322 net/8021q/vlan.c vlandev->gso_max_size = dev->gso_max_size; vlandev 323 net/8021q/vlan.c vlandev->gso_max_segs = dev->gso_max_segs; vlandev 326 net/8021q/vlan.c vlandev->hard_header_len = dev->hard_header_len; vlandev 328 net/8021q/vlan.c vlandev->hard_header_len = dev->hard_header_len + VLAN_HLEN; vlandev 331 net/8021q/vlan.c vlandev->fcoe_ddp_xid = dev->fcoe_ddp_xid; vlandev 334 net/8021q/vlan.c vlandev->priv_flags &= ~IFF_XMIT_DST_RELEASE; vlandev 335 net/8021q/vlan.c vlandev->priv_flags |= (vlan->real_dev->priv_flags & IFF_XMIT_DST_RELEASE); vlandev 336 net/8021q/vlan.c vlandev->hw_enc_features = vlan_tnl_features(vlan->real_dev); vlandev 338 net/8021q/vlan.c netdev_update_features(vlandev); vlandev 369 net/8021q/vlan.c struct net_device *vlandev; vlandev 404 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) vlandev 405 net/8021q/vlan.c vlan_stacked_transfer_operstate(dev, vlandev, vlandev 406 net/8021q/vlan.c vlan_dev_priv(vlandev)); vlandev 411 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) { vlandev 412 net/8021q/vlan.c flgs = vlandev->flags; vlandev 416 net/8021q/vlan.c vlan_sync_address(dev, vlandev); vlandev 421 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) { vlandev 422 net/8021q/vlan.c if (vlandev->mtu <= dev->mtu) vlandev 425 net/8021q/vlan.c dev_set_mtu(vlandev, dev->mtu); vlandev 431 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) vlandev 432 net/8021q/vlan.c vlan_transfer_features(dev, vlandev); vlandev 440 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) { vlandev 441 net/8021q/vlan.c flgs = vlandev->flags; vlandev 445 net/8021q/vlan.c vlan = vlan_dev_priv(vlandev); vlandev 447 net/8021q/vlan.c list_add(&vlandev->close_list, &close_list); vlandev 452 net/8021q/vlan.c list_for_each_entry_safe(vlandev, tmp, &close_list, close_list) { vlandev 453 net/8021q/vlan.c vlan_stacked_transfer_operstate(dev, vlandev, vlandev 454 net/8021q/vlan.c vlan_dev_priv(vlandev)); vlandev 455 net/8021q/vlan.c list_del_init(&vlandev->close_list); vlandev 462 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) { vlandev 463 net/8021q/vlan.c flgs = dev_get_flags(vlandev); vlandev 467 net/8021q/vlan.c vlan = vlan_dev_priv(vlandev); vlandev 469 net/8021q/vlan.c dev_change_flags(vlandev, flgs | IFF_UP, vlandev 471 net/8021q/vlan.c vlan_stacked_transfer_operstate(dev, vlandev, vlan); vlandev 480 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) { vlandev 486 net/8021q/vlan.c unregister_vlan_dev(vlandev, &list); vlandev 503 net/8021q/vlan.c vlan_group_for_each_dev(grp, i, vlandev) vlandev 504 net/8021q/vlan.c call_netdevice_notifiers(event, vlandev); vlandev 136 net/8021q/vlanproc.c int vlan_proc_add_dev(struct net_device *vlandev) vlandev 138 net/8021q/vlanproc.c struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); vlandev 139 net/8021q/vlanproc.c struct vlan_net *vn = net_generic(dev_net(vlandev), vlan_net_id); vlandev 141 net/8021q/vlanproc.c if (!strcmp(vlandev->name, name_conf)) vlandev 143 net/8021q/vlanproc.c vlan->dent = proc_create_single_data(vlandev->name, S_IFREG | 0600, vlandev 144 net/8021q/vlanproc.c vn->proc_vlan_dir, vlandev_seq_show, vlandev); vlandev 153 net/8021q/vlanproc.c void vlan_proc_rem_dev(struct net_device *vlandev) vlandev 156 net/8021q/vlanproc.c proc_remove(vlan_dev_priv(vlandev)->dent); vlandev 157 net/8021q/vlanproc.c vlan_dev_priv(vlandev)->dent = NULL; vlandev 232 net/8021q/vlanproc.c const struct net_device *vlandev = v; vlandev 233 net/8021q/vlanproc.c const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); vlandev 235 net/8021q/vlanproc.c seq_printf(seq, "%-15s| %d | %s\n", vlandev->name, vlandev 243 net/8021q/vlanproc.c struct net_device *vlandev = (struct net_device *) seq->private; vlandev 244 net/8021q/vlanproc.c const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); vlandev 250 net/8021q/vlanproc.c if (!is_vlan_dev(vlandev)) vlandev 253 net/8021q/vlanproc.c stats = dev_get_stats(vlandev, &temp); vlandev 256 net/8021q/vlanproc.c vlandev->name, vlan->vlan_id, vlandev 257 net/8021q/vlanproc.c (int)(vlan->flags & 1), vlandev->priv_flags); vlandev 9 net/8021q/vlanproc.h void vlan_proc_rem_dev(struct net_device *vlandev); vlandev 10 net/8021q/vlanproc.h int vlan_proc_add_dev(struct net_device *vlandev); vlandev 124 net/bridge/br_arp_nd_proxy.c struct net_device *vlandev = dev; vlandev 169 net/bridge/br_arp_nd_proxy.c vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, vlandev 171 net/bridge/br_arp_nd_proxy.c if (!vlandev) vlandev 176 net/bridge/br_arp_nd_proxy.c br_is_local_ip(vlandev, tip)) { vlandev 184 net/bridge/br_arp_nd_proxy.c n = neigh_lookup(&arp_tbl, &tip, vlandev); vlandev 391 net/bridge/br_arp_nd_proxy.c struct net_device *vlandev = NULL; vlandev 423 net/bridge/br_arp_nd_proxy.c vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, vlandev 425 net/bridge/br_arp_nd_proxy.c if (!vlandev) vlandev 428 net/bridge/br_arp_nd_proxy.c vlandev = dev; vlandev 431 net/bridge/br_arp_nd_proxy.c if (br_is_local_ip6(vlandev, &msg->target)) { vlandev 439 net/bridge/br_arp_nd_proxy.c n = neigh_lookup(ipv6_stub->nd_tbl, &msg->target, vlandev);