Searched refs:icmph (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/usr.sbin/ppp/
H A Dip.c570 const struct icmp *icmph; local
625 len = datalen - sizeof *icmph;
626 icmph = (const struct icmp *)payload;
628 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmph->icmp_type);
/freebsd-13-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2191 struct icmp *icmph; local
2204 icmph = (struct icmp*)(iph + 1);
2205 icmph->icmp_type = ICMP_ECHO;
2206 icmph->icmp_code = 0;
2207 icmph->icmp_cksum = htons(ICMP_CSUM);
2208 icmph->icmp_id = htons(31492);
2209 icmph->icmp_seq = htons(0);
2214 tv_field = (uint32_t*)(&(icmph->icmp_hun));
2240 XNB_ASSERT(bcmp(icmph, pkt_orig, icmp_len));

Completed in 92 milliseconds