Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

How to disable IP header and UDP checksum

I am implementing my own UDP stack by manually filling the entire ethernet frame, byte by byte. I ignored the checksum fields in the frame by leaving them as zero. However, the receiving end is discarding these packets when they arrive just because of the bad chucksum values.

Is there any way to tell the receiving end TCP/IP stack to ignore the checksum fields, both the UDP and IP?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by heavenscape@Sep 15 2006, 08:28 AM

    i am implementing my own udp stack by manually filling the entire ethernet frame, byte by byte. i ignored the checksum fields in the frame by leaving them as zero. however, the receiving end is discarding these packets when they arrive just because of the bad chucksum values.

    is there any way to tell the receiving end tcp/ip stack to ignore the checksum fields, both the udp and ip?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18285)

    --- quote end ---

    --- Quote End ---

    You can ignore UDP, by setting the cheskum to zero, however I think the IP header is mandatory