Searched refs:real_dev (Results 1 – 9 of 9) sorted by relevance
/net/8021q/ |
D | vlan_dev.c | 134 dev = vlan_dev_priv(dev)->real_dev; in vlan_dev_hard_header() 173 skb->dev = vlan->real_dev; in vlan_dev_hard_start_xmit() 200 if (vlan_dev_priv(dev)->real_dev->mtu < new_mtu) in vlan_dev_change_mtu() 288 strncpy(result, vlan_dev_priv(dev)->real_dev->name, 23); in vlan_dev_get_realdev_name() 294 struct net_device *real_dev = vlan->real_dev; in vlan_dev_open() local 297 if (!(real_dev->flags & IFF_UP) && in vlan_dev_open() 301 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) { in vlan_dev_open() 302 err = dev_uc_add(real_dev, dev->dev_addr); in vlan_dev_open() 308 err = dev_set_allmulti(real_dev, 1); in vlan_dev_open() 313 err = dev_set_promiscuity(real_dev, 1); in vlan_dev_open() [all …]
|
D | vlan.c | 81 struct net_device *real_dev = vlan->real_dev; in unregister_vlan_dev() local 88 vlan_info = rtnl_dereference(real_dev->vlan_info); in unregister_vlan_dev() 107 netdev_upper_dev_unlink(real_dev, dev); in unregister_vlan_dev() 110 vlan_mvrp_uninit_applicant(real_dev); in unregister_vlan_dev() 111 vlan_gvrp_uninit_applicant(real_dev); in unregister_vlan_dev() 119 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 122 dev_put(real_dev); in unregister_vlan_dev() 125 int vlan_check_real_dev(struct net_device *real_dev, in vlan_check_real_dev() argument 128 const char *name = real_dev->name; in vlan_check_real_dev() 130 if (real_dev->features & NETIF_F_VLAN_CHALLENGED) { in vlan_check_real_dev() [all …]
|
D | vlan_netlink.c | 120 struct net_device *real_dev; in vlan_newlink() local 129 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in vlan_newlink() 130 if (!real_dev) in vlan_newlink() 140 vlan->real_dev = real_dev; in vlan_newlink() 143 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id); in vlan_newlink() 148 dev->mtu = real_dev->mtu; in vlan_newlink() 149 else if (dev->mtu > real_dev->mtu) in vlan_newlink()
|
D | vlan.h | 70 struct net_device *real_dev; member 106 struct net_device *real_dev; /* The ethernet(like) device member 159 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() argument 162 struct vlan_info *vlan_info = rcu_dereference_rtnl(real_dev->vlan_info); in vlan_find_dev() 184 int vlan_check_real_dev(struct net_device *real_dev,
|
D | vlan_gvrp.c | 37 return garp_request_join(vlan->real_dev, &vlan_gvrp_app, in vlan_gvrp_request_join() 48 garp_request_leave(vlan->real_dev, &vlan_gvrp_app, in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 43 return mrp_request_join(vlan->real_dev, &vlan_mrp_app, in vlan_mvrp_request_join() 54 mrp_request_leave(vlan->real_dev, &vlan_mrp_app, in vlan_mvrp_request_leave()
|
D | vlan_core.c | 94 return vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev() 186 vlan_info->real_dev = dev; in vlan_info_alloc() 238 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() 299 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del()
|
D | vlanproc.c | 269 vlan->vlan_id, vlan->real_dev->name); in vlan_seq_show() 298 seq_printf(seq, "Device: %s", vlan->real_dev->name); in vlandev_seq_show()
|
/net/ieee802154/ |
D | 6lowpan.c | 105 struct net_device *real_dev; /* real WPAN device ptr */ member 611 return dev_hard_header(skb, lowpan_dev_info(dev)->real_dev, in lowpan_header_create() 624 if (lowpan_dev_info(entry->ldev)->real_dev == skb->dev) { in lowpan_give_skb_to_devices() 1125 skb->dev = lowpan_dev_info(dev)->real_dev; in lowpan_xmit() 1150 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_phy() local 1151 return ieee802154_mlme_ops(real_dev)->get_phy(real_dev); in lowpan_get_phy() 1156 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_pan_id() local 1157 return ieee802154_mlme_ops(real_dev)->get_pan_id(real_dev); in lowpan_get_pan_id() 1162 struct net_device *real_dev = lowpan_dev_info(dev)->real_dev; in lowpan_get_short_addr() local 1163 return ieee802154_mlme_ops(real_dev)->get_short_addr(real_dev); in lowpan_get_short_addr() [all …]
|