Home
last modified time | relevance | path

Searched refs:mac_addr (Results 1 – 15 of 15) sorted by relevance

/qemu/net/
H A Dannounce.c99 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 Dvhost-user.c142 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 De1000x_common.c170 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 Dmsf2-emac.c389 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 Dvhost_net-stub.c94 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done() argument
H A De1000x_common.h121 uint8_t *mac_addr);
H A Dvhost_net.c472 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 Dvirtio-net.c47 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 Dvirtio.h280 int virtio_net_init(void *mac_addr);
/qemu/include/hw/net/
H A Dmsf2-emac.h48 uint8_t mac_addr[ETH_ALEN]; member
/qemu/include/net/
H A Dvhost_net.h41 int vhost_net_notify_migration_done(VHostNetState *net, char* mac_addr);
/qemu/qga/
H A Dcommands-win32.c1637 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 Dcommands-posix.c2913 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 Dvhost-backend.h110 char *mac_addr);
/qemu/hw/virtio/
H A Dvhost-user.c2331 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()