/qemu/hw/net/ |
H A D | etraxfs_eth.c | 359 phy = eth->mdio_bus.devs[eth->phyaddr]; in eth_validate_duplex() 412 eth->macaddr[ma][i++] = eth->regs[reg]; in eth_update_ma() 413 eth->macaddr[ma][i++] = eth->regs[reg] >> 8; in eth_update_ma() 414 eth->macaddr[ma][i++] = eth->regs[reg] >> 16; in eth_update_ma() 415 eth->macaddr[ma][i++] = eth->regs[reg] >> 24; in eth_update_ma() 416 eth->macaddr[ma][i++] = eth->regs[reg + 1]; in eth_update_ma() 417 eth->macaddr[ma][i] = eth->regs[reg + 1] >> 8; in eth_update_ma() 420 eth->macaddr[ma][0], eth->macaddr[ma][1], in eth_update_ma() 421 eth->macaddr[ma][2], eth->macaddr[ma][3], in eth_update_ma() 422 eth->macaddr[ma][4], eth->macaddr[ma][5])); in eth_update_ma() [all …]
|
H A D | net_rx_pkt.c | 28 struct eth_header eth; member
|
H A D | net_tx_pkt.c | 45 struct eth_header eth; member
|
H A D | virtio-net.c | 2611 struct eth_header *eth; in virtio_net_rsc_receive() local 2619 eth = (struct eth_header *)(buf + n->guest_hdr_len); in virtio_net_rsc_receive() 2620 proto = htons(eth->h_proto); in virtio_net_rsc_receive()
|
H A D | igb_core.c | 71 struct eth_header eth; member 1025 const struct eth_header *ehdr = &l2_header->eth; in igb_receive_assign() 2044 get_eth_packet_type(&buf.l2_header.eth)); in igb_receive_internal()
|
/qemu/hw/net/rocker/ |
H A D | rocker_of_dpa.c | 59 } eth; member 234 if (key->eth.vlan_id || (mask && mask->eth.vlan_id)) { in of_dpa_flow_key_dump() 265 if (key->eth.type || (mask && mask->eth.type)) { in of_dpa_flow_key_dump() 609 memcpy(match.value.eth.dst.a, addr, sizeof(match.value.eth.dst.a)); in of_dpa_bridging_learn() 1197 if (key->eth.type != htons(0x0800) && key->eth.type != htons(0x86dd)) { in of_dpa_cmd_add_term_mac() 1214 if (memcmp(key->eth.dst.a, ipv4_mcast.a, sizeof(key->eth.dst.a)) == 0 && in of_dpa_cmd_add_term_mac() 1215 memcmp(mask->eth.dst.a, ipv4_mask.a, sizeof(mask->eth.dst.a)) == 0) { in of_dpa_cmd_add_term_mac() 1218 if (memcmp(key->eth.dst.a, ipv6_mcast.a, sizeof(key->eth.dst.a)) == 0 && in of_dpa_cmd_add_term_mac() 1228 mask->eth.vlan_id = in of_dpa_cmd_add_term_mac() 1315 memcpy(mask->eth.dst.a, ff_mac.a, sizeof(mask->eth.dst.a)); in of_dpa_cmd_add_bridging() [all …]
|
/qemu/qapi/ |
H A D | rocker.json | 129 # @eth-type: Ethernet header type 131 # @eth-src: Ethernet header source MAC address 133 # @eth-dst: Ethernet header destination MAC address 149 '*eth-type': 'uint16', '*eth-src': 'str', '*eth-dst': 'str', 163 # @eth-src: Ethernet header source MAC address 165 # @eth-dst: Ethernet header destination MAC address 178 '*vlan-id': 'uint16', '*eth-src': 'str', '*eth-dst': 'str', 285 # @set-eth-src: set source MAC address in Ethernet header 287 # @set-eth-dst: set destination MAC address in Ethernet header 301 '*set-eth-src': 'str', '*set-eth-dst': 'str',
|
/qemu/hw/arm/ |
H A D | fsl-imx7.c | 120 object_initialize_child(obj, name, &s->eth[i], TYPE_IMX_ENET); in fsl_imx7_init() 428 object_property_set_bool(OBJECT(&s->eth[i]), "phy-connected", in fsl_imx7_realize() 435 object_property_set_link(OBJECT(&s->eth[1 - i]), "phy-consumer", in fsl_imx7_realize() 436 OBJECT(&s->eth[i]), &error_abort); in fsl_imx7_realize() 446 object_property_set_uint(OBJECT(&s->eth[i]), "phy-num", in fsl_imx7_realize() 448 object_property_set_uint(OBJECT(&s->eth[i]), "tx-ring-num", in fsl_imx7_realize() 450 qemu_configure_nic_device(DEVICE(&s->eth[i]), true, NULL); in fsl_imx7_realize() 451 sysbus_realize(SYS_BUS_DEVICE(&s->eth[i]), &error_abort); in fsl_imx7_realize() 453 sysbus_mmio_map(SYS_BUS_DEVICE(&s->eth[i]), 0, FSL_IMX7_ENETn_ADDR[i]); in fsl_imx7_realize() 456 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth[i]), 0, irq); in fsl_imx7_realize() [all …]
|
H A D | fsl-imx6ul.c | 120 object_initialize_child(obj, name, &s->eth[i], TYPE_IMX_ENET); in fsl_imx6ul_init() 444 object_property_set_bool(OBJECT(&s->eth[i]), "phy-connected", in fsl_imx6ul_realize() 451 object_property_set_link(OBJECT(&s->eth[1 - i]), "phy-consumer", in fsl_imx6ul_realize() 452 OBJECT(&s->eth[i]), &error_abort); in fsl_imx6ul_realize() 472 object_property_set_uint(OBJECT(&s->eth[i]), "phy-num", in fsl_imx6ul_realize() 474 object_property_set_uint(OBJECT(&s->eth[i]), "tx-ring-num", in fsl_imx6ul_realize() 476 qemu_configure_nic_device(DEVICE(&s->eth[i]), true, NULL); in fsl_imx6ul_realize() 477 sysbus_realize(SYS_BUS_DEVICE(&s->eth[i]), &error_abort); in fsl_imx6ul_realize() 479 sysbus_mmio_map(SYS_BUS_DEVICE(&s->eth[i]), 0, in fsl_imx6ul_realize() 482 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth[i]), 0, in fsl_imx6ul_realize() [all …]
|
H A D | fsl-imx6.c | 106 object_initialize_child(obj, "eth", &s->eth, TYPE_IMX_ENET); in fsl_imx6_init() 389 object_property_set_uint(OBJECT(&s->eth), "phy-num", s->phy_num, in fsl_imx6_realize() 391 qemu_configure_nic_device(DEVICE(&s->eth), true, NULL); in fsl_imx6_realize() 392 if (!sysbus_realize(SYS_BUS_DEVICE(&s->eth), errp)) { in fsl_imx6_realize() 395 sysbus_mmio_map(SYS_BUS_DEVICE(&s->eth), 0, FSL_IMX6_ENET_ADDR); in fsl_imx6_realize() 396 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth), 0, in fsl_imx6_realize() 399 sysbus_connect_irq(SYS_BUS_DEVICE(&s->eth), 1, in fsl_imx6_realize()
|
/qemu/net/ |
H A D | meson.build | 5 'eth.c',
|
/qemu/include/hw/arm/ |
H A D | fsl-imx7.h | 82 IMXFECState eth[FSL_IMX7_NUM_ETHS]; member
|
H A D | fsl-imx6ul.h | 82 IMXFECState eth[FSL_IMX6UL_NUM_ETHS]; member
|
H A D | fsl-imx6.h | 74 IMXFECState eth; member
|
/qemu/pc-bios/keymaps/ |
H A D | sl | 247 eth 0x20 altgr
|
H A D | fo | 181 eth 0x1b 207 eth 0x20 altgr
|
H A D | fr-ch | 207 eth 0x20 altgr
|
H A D | is | 176 eth 0x1a
|
H A D | it | 208 eth 0x20 altgr
|
H A D | da | 207 eth 0x20 altgr
|
H A D | es | 207 eth 0x20 altgr
|
H A D | fi | 194 eth 0x20 altgr
|
H A D | fr | 208 eth 0x20 altgr
|
H A D | fr-be | 208 eth 0x20 altgr
|
H A D | nl | 207 eth 0x20 altgr
|