Jonathan Dumaresq wrote:
Hi all,
I would like to know why we have some declaration of function in the uip.h and 
uip-arch.h ?

like :

u16_t uip_udpchksum(void);

u16_t uip_tcpchksum(void);

u16_t uip_ipchksum(void);

There are leftovers from the previous version of uIP (which didn't have the checksum functions uip.[ch] but in uip_arch.[ch]). I should have removed them from uip_arch.h, but I missed it. Thanks for finding!

Why some buffer are char * and some u8_t * ? is it possible to have only u8_t * ? .. i have like 20 warning juste for this with gcc. I have to cast everything.

They should all be u8_t *. Which buffers are char *?

Thanks,

/adam

regards

Jonathan


--
Adam Dunkels, Swedish Institute of Computer Science
http://www.sics.se/~adam/

Reply via email to