qemu-e2k/include
Mark Cave-Ayland eaba8f34f0 net: move CRC32 calculation from compute_mcast_idx() into its own net_crc32() function
Separate out the standard ethernet CRC32 calculation into a new net_crc32()
function, renaming the constant POLYNOMIAL to POLYNOMIAL_BE to make it clear
that this is a big-endian CRC32 calculation.

As part of the constant rename, remove the duplicate definition of POLYNOMIAL
from eepro100.c and use the new POLYNOMIAL_BE constant instead.

Once this is complete remove the existing CRC32 implementation from
compute_mcast_idx() and call the new net_crc32() function in its place.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2017-12-22 09:55:03 +08:00
..
block hbitmap: add next_zero function 2017-12-18 10:54:13 -05:00
chardev chardev: fix backend events regression with mux chardev 2017-12-21 09:30:32 +01:00
crypto block: convert qcrypto_block_encrypt|decrypt to take bytes offset 2017-10-06 16:30:47 +02:00
disas disas: Dump insn bytes along with capstone disassembly 2017-11-09 08:46:38 +01:00
exec cpu: refactor cpu_address_space_init() 2017-12-21 09:30:31 +01:00
fpu
hw i8259: generalize statistics into common code 2017-12-21 09:30:32 +01:00
io io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
libdecnumber
migration migration: check pre_save return in vmstate_save_state 2017-09-27 11:36:31 +01:00
monitor
net net: move CRC32 calculation from compute_mcast_idx() into its own net_crc32() function 2017-12-22 09:55:03 +08:00
qapi qapi: Add qobject_is_equal() 2017-11-17 18:21:30 +01:00
qemu * NBD and chardev conversion to QIONetListener (Daniel) 2017-12-21 16:34:23 +00:00
qom qom: move CPUClass.tcg_initialize to a global 2017-11-13 13:55:25 +00:00
scsi scsi: provide general-purpose functions to manage sense data 2017-12-21 09:30:32 +01:00
standard-headers linux-headers: update to 4.15-rc1 2017-12-13 17:59:23 +00:00
sysemu iothread: fix iothread_stop() race condition 2017-12-19 10:25:09 +00:00
ui ui: generate qcode to linux mappings 2017-12-14 15:24:30 -08:00
elf.h
glib-compat.h glib-compat: move G_SOURCE_CONTINUE/REMOVE there 2017-10-10 16:33:55 +02:00
qemu-common.h Use HTTPS for qemu.org and other domains 2017-11-21 13:34:13 +00:00
qemu-io.h
trace-tcg.h