Skip to content
Snippets Groups Projects
Commit 65f474bb authored by Akihiko Odaki's avatar Akihiko Odaki Committed by Jason Wang
Browse files

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: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 5fb7d149
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment