英语翻译Checksum is the 16-bit one's complement of the one's com

问题描述:

英语翻译
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位时末尾补零所得双字节数即为校验和。
1个回答 分类:英语 2014-10-10

问题解答:

我来补答
校验和是16位1的补码,它是来自IP头、UDP头和数据信息的伪头的1的补码和,该校验和的末尾填充了8位零(需要的话),以使其成为2个八位字节的整数倍.
 
 
展开全文阅读
剩余:2000