英语翻译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.我自
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/08 04:42:29
英语翻译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.我自
英语翻译
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.我自
校验和是16位1的补码,它是来自IP头、UDP头和数据信息的伪头的1的补码和,该校验和的末尾填充了8位零(需要的话),以使其成为2个八位字节的整数倍.
校验和是16位1与 IP头,UDP头和数据在结尾填补必要多个0生成的多个十六进制数对的伪头部的和的补的补码。
好绕口啊~
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...
全部展开
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 协议报文头和报文内容按照1的补码和计算得到的16位数,有时需要在末尾填充整字节的二进制 0(若有必要)以构成双字节。
现在忙,晚上回去再检查下是否属实!!
收起