Lines Matching refs:local_mac
284 static struct vnet *vnet_new(const u64 *local_mac, in vnet_new() argument
299 addr[i] = (*local_mac >> (5 - i) * 8) & 0xff; in vnet_new()
311 vp->local_mac = *local_mac; in vnet_new()
345 static struct vnet *vnet_find_or_create(const u64 *local_mac, in vnet_find_or_create() argument
353 if (iter->local_mac == *local_mac) { in vnet_find_or_create()
359 vp = vnet_new(local_mac, vdev); in vnet_find_or_create()
389 const u64 *local_mac = NULL; in vnet_find_parent() local
400 local_mac = mdesc_get_property(hp, target, in vnet_find_parent()
402 if (local_mac) in vnet_find_parent()
405 if (!local_mac) in vnet_find_parent()
408 return vnet_find_or_create(local_mac, vdev); in vnet_find_parent()