suricata
|
Go to the source code of this file.
Functions | |
uint16_t | FixChecksum (uint16_t sum, uint16_t old, uint16_t new) |
Fix-up an IP checksum. More... | |
uint16_t FixChecksum | ( | uint16_t | sum, |
uint16_t | old, | ||
uint16_t | new | ||
) |
Fix-up an IP checksum.
sum | The current checksum. |
old | Value of old header parameter. |
new | Value of new header parameter. |
New | checksum. |
Definition at line 51 of file util-fix_checksum.c.