summaryrefslogtreecommitdiffstats
path: root/src/include/ip_checksum.h
blob: 74a2f48a57efc13ebb811f5954f237f3020ed572 (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef IP_CHECKSUM_H
#define IP_CHECKSUM_H
unsigned long compute_ip_checksum(const void *addr, unsigned long length);
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum,
	unsigned long new);
#endif /* IP_CHECKSUM_H */