X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Fipv4.h;h=2c3e1cae865cd3f479d7949c0e3d55883b6607e5;hb=58c7107eb0a5ae254c135f2eaa6263751f1ebe67;hp=563965c935a5ea7417d64d519b9f67ecf286dff4;hpb=9e4f0db5f7ccc535cb72d6ab2f96e201b050ef20;p=tpg%2Facess2.git diff --git a/Modules/IPStack/ipv4.h b/Modules/IPStack/ipv4.h index 563965c9..2c3e1cae 100644 --- a/Modules/IPStack/ipv4.h +++ b/Modules/IPStack/ipv4.h @@ -46,7 +46,7 @@ struct sIPv4Header // === FUNCTIONS === extern int IPv4_RegisterCallback(int ID, tIPCallback Callback); -extern Uint16 IPv4_Checksum(const Uint16 *Buf, int WordCount); +extern Uint16 IPv4_Checksum(const void *Buf, size_t Length); extern int IPv4_SendPacket(tInterface *Iface, tIPv4 Address, int Protocol, int ID, int Length, const void *Data); #endif