Home
last modified time | relevance | path

Searched refs:icmp_cksum (Results 1 – 4 of 4) sorted by relevance

/external/toybox/toys/pending/
Dtraceroute.c126 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()
/external/tcpdump/
Dprint-icmp.c53 uint16_t icmp_cksum; /* ones complement cksum of struct */ member
567 icmp_sum = EXTRACT_16BITS(&dp->icmp_cksum); in icmp_print()
/external/iputils/
Drdisc.c123 u_short icmp_cksum; /* ones complement cksum of struct */ member
599 rap->icmp_cksum = 0; in advertise()
617 rap->icmp_cksum = in_cksum( (u_short *)rap, packetlen ); in advertise()
/external/dnsmasq/src/
Ddnsmasq.c1049 packet.icmp.icmp_cksum = (j == 0xffff) ? j : ~j; in icmp_ping()