之前讨论的时候觉得,数据包的校验和可以为0x0000, 但是不会为0xFFFF.
If the computation results in the checksum zero, the all-1-bit value is transmitted instead, which is equivalent in ones-complement arithmetic. A zero in the checksum field means that the sender has not computed a checksum.
这个意思应该是就算你计算出实际的校验和为0x0000,但数据包中校验和域应该填写的是0xFFFF. 有点糊涂了?