Searched refs:icmp_cksum (Results 1 – 4 of 4) sorted by relevance
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()
53 uint16_t icmp_cksum; /* ones complement cksum of struct */ member567 icmp_sum = EXTRACT_16BITS(&dp->icmp_cksum); in icmp_print()
123 u_short icmp_cksum; /* ones complement cksum of struct */ member599 rap->icmp_cksum = 0; in advertise()617 rap->icmp_cksum = in_cksum( (u_short *)rap, packetlen ); in advertise()
1049 packet.icmp.icmp_cksum = (j == 0xffff) ? j : ~j; in icmp_ping()