historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/openbios/include/libopenbios/ipchecksum.h

8 lines
227 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
#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 */