class for received packet to be forwarded