MFC r316825:
Use address of specific union member instead of whole union address to fix PVS-Studio warnings.
MFC r316826:
Avoid undefined behavior. The 'pktid' variable is modified while being used twice between sequence points, probably due to htonl() is macro.