]> Git Repo - qemu.git/commit - net/hub.c
hw/net: Make NetCanReceive() return a boolean
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 5 Mar 2020 17:56:49 +0000 (18:56 +0100)
committerJason Wang <[email protected]>
Tue, 31 Mar 2020 13:14:35 +0000 (21:14 +0800)
commitb8c4b67e3ec3918a40234e5c56221f780c7856fc
tree1ca475ca3fe280e0f857cfe1160b52753b53bd72
parent3317db743972f665e2753c75703538d51241350a
hw/net: Make NetCanReceive() return a boolean

The NetCanReceive handler return whether the device can or
can not receive new packets. Make it obvious by returning
a boolean type.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: David Gibson <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
20 files changed:
hw/net/allwinner_emac.c
hw/net/cadence_gem.c
hw/net/dp8393x.c
hw/net/e1000.c
hw/net/e1000e.c
hw/net/ftgmac100.c
hw/net/i82596.c
hw/net/i82596.h
hw/net/imx_fec.c
hw/net/opencores_eth.c
hw/net/rtl8139.c
hw/net/smc91c111.c
hw/net/spapr_llan.c
hw/net/sungem.c
hw/net/sunhme.c
hw/net/virtio-net.c
hw/net/xilinx_ethlite.c
include/net/net.h
net/filter-buffer.c
net/hub.c
This page took 0.030854 seconds and 4 git commands to generate.