readd packet constants, now done properly