lucima’s space

one’s complement in UDP

  1. Construct the UDP header and UDP Pseudo header, as illustrated below, where Checksum is set zero at first.
  2. Check the length of data, if it is an odd length of bytes, supplement a byte of zero (0x00) at the end of the data when counting …

read more