updated packets.h, no longer depends on user defined int types.