X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Modules%2FIPStack%2Fipv4.h;h=2c3e1cae865cd3f479d7949c0e3d55883b6607e5;hb=e0b1d212845567bacd875ec4d0c23bb819fa045f;hp=563965c935a5ea7417d64d519b9f67ecf286dff4;hpb=f36dc289101a45c839595bb88cf1bf942f2cf12b;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