packet.h modified