Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 1 | #ifndef IP_CHECKSUM_H |
2 | #define IP_CHECKSUM_H | ||||
Aaron Durbin | 30c64be | 2016-12-03 21:05:53 -0600 | [diff] [blame] | 3 | unsigned long compute_ip_checksum(const void *addr, unsigned long length); |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 4 | unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new); |
Eric Biederman | 8ca8d76 | 2003-04-22 19:02:15 +0000 | [diff] [blame] | 5 | #endif /* IP_CHECKSUM_H */ |