differently he did. (1) don't assume that the timeval in the packet is correctly aligned, (2) don't compare beyond the end of the packet, (3) minor cast for printf happiness.