TCP Checksum calculation doesn't match with the the wireshark calculation
问题 I am experiencing a problem where the tcp checksum generated by the sample program (copied below) doesn't match with the checksum calculated by wireshark. Can some one please point me where i am going wrong. Here i tried two ways tcp_checksum get_ipv6_udptcp_checksum. with both these, getting two different values and both are not matching with the wireshark value. I am copying here the IP and TCP Header details. IP Header: 0000 60 00 00 00 00 2a 06 80 10 80 a2 b1 00 00 00 00 0010 00 00 00 00