extern USHORT ip_checksum(USHORT* buffer, int size);