问题描述:
英语翻译
Checksum is the 16-bit one's complement of the one's complement sum of
a pseudo header of information from the IP header,the UDP header,and
the data,padded with zero octets at the end (if necessary) to
make a multiple of two octets.
我自己的翻译:
对IP报头中的伪首部信息,UDP报头以及数据部分的内容求和后,
做“一的补码运算“(即:正数=原码,负数=反码),运算结果不够
16位时末尾补零所得双字节数即为校验和。
Checksum is the 16-bit one's complement of the one's complement sum of
a pseudo header of information from the IP header,the UDP header,and
the data,padded with zero octets at the end (if necessary) to
make a multiple of two octets.
我自己的翻译:
对IP报头中的伪首部信息,UDP报头以及数据部分的内容求和后,
做“一的补码运算“(即:正数=原码,负数=反码),运算结果不够
16位时末尾补零所得双字节数即为校验和。
问题解答:
我来补答展开全文阅读