insertion process of the received packet