summary refs log tree commit diff stats
path: root/hw/net/e1000x_common.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-02-23 19:50:49 +0900
committerJason Wang <jasowang@redhat.com>2023-03-10 15:35:38 +0800
commit65f474bbae9a33b08707084efb95701e187f79e3 (patch)
tree2f52c41e376d2c32cfdcb6cccd0618229e3b043d /hw/net/e1000x_common.c
parent5fb7d149953f469381a11e486d66dc56af2c0f21 (diff)
downloadfocaccia-qemu-65f474bbae9a33b08707084efb95701e187f79e3.tar.gz
focaccia-qemu-65f474bbae9a33b08707084efb95701e187f79e3.zip
net/eth: Introduce EthL4HdrProto
igb, a new network device emulation, will need SCTP checksum offloading.
Currently eth_get_protocols() has a bool parameter for each protocol
currently it supports, but there will be a bit too many parameters if
we add yet another protocol.

Introduce an enum type, EthL4HdrProto to represent all L4 protocols
eth_get_protocols() support with one parameter.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000x_common.c')
0 files changed, 0 insertions, 0 deletions