Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wrong ip checksum on outgoing udp packets

9 views
Skip to first unread message

vxworks

unread,
Nov 25, 2009, 5:17:14 AM11/25/09
to
Hello, i use vxWorks 6.4 built for mpc8321
I am trying to send udp packet through sendto() function
the api is:
int sendto(socketdescr, buffer, buf_len, flags, destination_addr);
if i use buf_len that is less than 100 and bigger than 85 then the
resulting ip packet has wrong checksum (equals zero)
if the buf_len is not in this rangr then everything is fine.
do you have any ideas ?
thanks
0 new messages