Move packet type constants into constants.h