forwarding when receiving packets