Add a function named packet_new_nocopy for COLO.