struck on how to handle icmp packets