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

#ifndef __ROMCC__
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
#endif /* IP_CHECKSUM_H */