aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-11-25 10:44:11 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-11-25 10:44:11 +0000
commit791e3837c1105aec4e328674aad32e34056957e2 (patch)
treeef7edce0f61253a3962194b35c312eb516c10c1b /include
parent6b99bb046dd36a6dd5525b8f88c2dcddae49222a (diff)
parent7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce (diff)
downloadqemu-791e3837c1105aec4e328674aad32e34056957e2.zip
qemu-791e3837c1105aec4e328674aad32e34056957e2.tar.gz
qemu-791e3837c1105aec4e328674aad32e34056957e2.tar.bz2
Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging
# -----BEGIN PGP SIGNATURE----- # # iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmdEEtgACgkQ7wSWWzmN # YhH5qAgAlKdcx/gFt4EBXtjVq/qbPluEGOQxvcRYLlN90rPLHPgCjAoT5ly3fIv1 # 4kCgcVZyG8SdGu1n0TzTTS9kg5tL7weQ9xEWwF0oyyuZABgAB7w/wpC8MHSkJFOn # 2Tv+2Iab0dJ+e1pw71OMpE/YR5X2xq5vopsSHRtnyGWfRPGswJFwka+f8FS5DSiq # 2CeNxADgTkPxJgDmOrNSsAPz8Rns77FAZdvDMqFjx1Lrqm8kPv9jzwOMO+a/2LpC # t6OkpFzGjiiskPjSnSn/tzo4TfWYoABjJaI7b3vEqmNEJSTAaxltZNtSXZucctEt # 1ihnFdjr/wPwGK/5Wu+qGnfDbFNxBw== # =W4y1 # -----END PGP SIGNATURE----- # gpg: Signature made Mon 25 Nov 2024 06:02:00 GMT # gpg: using RSA key 215D46F48246689EC77F3562EF04965B398D6211 # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>" [marginal] # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: 215D 46F4 8246 689E C77F 3562 EF04 965B 398D 6211 * tag 'net-pull-request' of https://github.com/jasowang/qemu: virtio-net: Copy received header to buffer virtio-net: Initialize hash reporting values virtio-net: Fix hash reporting when the queue changes virtio-net: Do not check for the queue before RSS virtio-net: Fix size check in dhclient workaround net: checksum: Convert data to void * Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/checksum.h b/include/net/checksum.h
index 7dec37e..188e4cc 100644
--- a/include/net/checksum.h
+++ b/include/net/checksum.h
@@ -30,7 +30,7 @@ uint32_t net_checksum_add_cont(int len, uint8_t *buf, int seq);
uint16_t net_checksum_finish(uint32_t sum);
uint16_t net_checksum_tcpudp(uint16_t length, uint16_t proto,
uint8_t *addrs, uint8_t *buf);
-void net_checksum_calculate(uint8_t *data, int length, int csum_flag);
+void net_checksum_calculate(void *data, int length, int csum_flag);
static inline uint32_t
net_checksum_add(int len, uint8_t *buf)