decode packet in dumphip, and check lengths in dumphip/dumpcns