Searched refs:send_icmp4 (Results 1 – 1 of 1) sorted by relevance
115 struct icmp *send_icmp4 = (struct icmp *)(TT.packet); in send_probe4() local123 send_icmp4->icmp_type = ICMP_ECHO; in send_probe4()124 send_icmp4->icmp_id = htons(TT.ident); in send_probe4()125 send_icmp4->icmp_seq = htons(seq); in send_probe4()126 send_icmp4->icmp_cksum = 0; in send_probe4()127 send_icmp4->icmp_cksum = in_cksum((uint16_t *) send_icmp4, TT.msg_len); in send_probe4()128 if (send_icmp4->icmp_cksum == 0) send_icmp4->icmp_cksum = 0xffff; in send_probe4()129 out = send_icmp4; in send_probe4()