Cleaned up send_ip_packet