summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/include/libopenbios/ipchecksum.h
blob: 24cc1d7447394e588d3904db52801d71e2fcc70a (plain)
1
2
3
4
5
6
7
#ifndef IPCHECKSUM_H
#define IPCHECKSUM_H

unsigned short ipchksum(const void *data, unsigned long length);
unsigned short add_ipchksums(unsigned long offset, unsigned short sum, unsigned short new);

#endif /* IPCHECKSUM_H */