The hip_checksum_packet() should be rewritten to use integers with clear sizes (uint16_t etc) and the pseudoheader variables should be replaced with a union. Maybe we can get rid of the static variable this way, but this remains untested.
See also:
http://www.freelists.org/post/hipl-dev/Branch-hiplcorehipltrunk-Rev-6412-Fixed-a-checksumming-issue,3
The hip_checksum_ packet( ) should be rewritten to use integers with clear sizes (uint16_t etc) and the pseudoheader variables should be replaced with a union. Maybe we can get rid of the static variable this way, but this remains untested.
See also:
http:// www.freelists. org/post/ hipl-dev/ Branch- hiplcorehipltru nk-Rev- 6412-Fixed- a-checksumming- issue,3