]> git.proxmox.com Git - qemu.git/blobdiff - hw/net/e1000.c
bswap.h: Remove be32_to_cpupu()
[qemu.git] / hw / net / e1000.c
index ec8ecd7b94934532c8d77138cfcd41cf825f7618..a5fb8fc73ebfca5d11b585800a8812b82c03faf9 100644 (file)
@@ -603,7 +603,7 @@ xmit_seg(E1000State *s)
         if (tp->tcp) {
             sofar = frames * tp->mss;
             cpu_to_be32wu((uint32_t *)(tp->data+css+4),        // seq
-                be32_to_cpupu((uint32_t *)(tp->data+css+4))+sofar);
+                ldl_be_p(tp->data+css+4)+sofar);
             if (tp->paylen - sofar > tp->mss)
                 tp->data[css + 13] &= ~9;              // PSH, FIN
         } else // UDP