/qemu/net/ |
H A D | announce.c | 99 uint8_t *mac_addr) in announce_self_create() argument 103 memcpy(buf + 6, mac_addr, 6); /* source MAC addr */ in announce_self_create() 112 memcpy(buf + 22, mac_addr, 6); /* source hw addr */ in announce_self_create() 114 memcpy(buf + 32, mac_addr, 6); /* target hw addr */ in announce_self_create()
|
H A D | vhost-user.c | 142 char mac_addr[6]; in vhost_user_receive() local 145 memcpy(mac_addr, &buf[6], 6); in vhost_user_receive() 147 r = vhost_net_notify_migration_done(s->vhost_net, mac_addr); in vhost_user_receive()
|
/qemu/hw/net/ |
H A D | e1000x_common.c | 170 uint8_t *mac_addr) in e1000x_reset_mac_addr() argument 177 mac_regs[RA] |= mac_addr[i] << (8 * i); in e1000x_reset_mac_addr() 179 (i < 2) ? mac_addr[i + 4] << (8 * i) : 0; in e1000x_reset_mac_addr() 182 qemu_format_nic_info_str(qemu_get_queue(nic), mac_addr); in e1000x_reset_mac_addr() 183 trace_e1000x_mac_indicate(MAC_ARG(mac_addr)); in e1000x_reset_mac_addr()
|
H A D | msf2-emac.c | 389 stl_be_p(s->mac_addr, value); in emac_write() 397 stw_be_p(s->mac_addr + 4, value >> 16); in emac_write() 458 return !memcmp(buf, s->mac_addr, sizeof(s->mac_addr)); in addr_filter_ok() 561 VMSTATE_UINT8_ARRAY(mac_addr, MSF2EmacState, ETH_ALEN),
|
H A D | vhost_net-stub.c | 94 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done() argument
|
H A D | e1000x_common.h | 121 uint8_t *mac_addr);
|
H A D | vhost_net.c | 472 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done() argument 479 return vhost_ops->vhost_migration_done(&net->dev, mac_addr); in vhost_net_notify_migration_done()
|
/qemu/pc-bios/s390-ccw/ |
H A D | virtio-net.c | 47 int virtio_net_init(void *mac_addr) in virtio_net_init() argument 59 memcpy(mac_addr, vdev->config.net.mac, ETH_ALEN); in virtio_net_init()
|
H A D | virtio.h | 280 int virtio_net_init(void *mac_addr);
|
/qemu/include/hw/net/ |
H A D | msf2-emac.h | 48 uint8_t mac_addr[ETH_ALEN]; member
|
/qemu/include/net/ |
H A D | vhost_net.h | 41 int vhost_net_notify_migration_done(VHostNetState *net, char* mac_addr);
|
/qemu/qga/ |
H A D | commands-win32.c | 1637 unsigned char *mac_addr; in qmp_guest_network_get_interfaces() local 1664 mac_addr = addr->PhysicalAddress; in qmp_guest_network_get_interfaces() 1668 (int) mac_addr[0], (int) mac_addr[1], in qmp_guest_network_get_interfaces() 1669 (int) mac_addr[2], (int) mac_addr[3], in qmp_guest_network_get_interfaces() 1670 (int) mac_addr[4], (int) mac_addr[5]); in qmp_guest_network_get_interfaces()
|
H A D | commands-posix.c | 2913 unsigned char mac_addr[ETHER_ADDR_LEN]; in qmp_guest_network_get_interfaces() local 2929 if (!guest_get_hw_addr(ifa, mac_addr, &obtained, errp)) { in qmp_guest_network_get_interfaces() 2935 (int) mac_addr[0], (int) mac_addr[1], in qmp_guest_network_get_interfaces() 2936 (int) mac_addr[2], (int) mac_addr[3], in qmp_guest_network_get_interfaces() 2937 (int) mac_addr[4], (int) mac_addr[5]); in qmp_guest_network_get_interfaces()
|
/qemu/include/hw/virtio/ |
H A D | vhost-backend.h | 110 char *mac_addr);
|
/qemu/hw/virtio/ |
H A D | vhost-user.c | 2331 static int vhost_user_migration_done(struct vhost_dev *dev, char* mac_addr) in vhost_user_migration_done() argument 2347 memcpy((char *)&msg.payload.u64, mac_addr, 6); in vhost_user_migration_done()
|