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

/freebsd-11-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-11-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2194 struct icmp *icmph; local
2207 icmph = (struct icmp*)(iph + 1);
2208 icmph->icmp_type = ICMP_ECHO;
2209 icmph->icmp_code = 0;
2210 icmph->icmp_cksum = htons(ICMP_CSUM);
2211 icmph->icmp_id = htons(31492);
2212 icmph->icmp_seq = htons(0);
2217 tv_field = (uint32_t*)(&(icmph->icmp_hun));
2243 XNB_ASSERT(bcmp(icmph, pkt_orig, icmp_len));

Completed in 407 milliseconds