summaryrefslogtreecommitdiff
path: root/src/include/ip_checksum.h
blob: c2cb938294a76aa40ea46231563a0b72c839d969 (plain)
1
2
3
4
5
6
7
#ifndef IP_CHECKSUM_H
#define IP_CHECKSUM_H

unsigned long compute_ip_checksum(void *addr, unsigned long length);
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new);

#endif /* IP_CHECKSUM_H */