Lines Matching refs:oicmph
1342 struct icmp_echo_hdr *icmph, *oicmph;
1397 oicmph = (struct icmp_echo_hdr *)(pollmgr_udpbuf + oipoff + oiphlen);
1398 if (ICMPH_TYPE(oicmph) != ICMP_ECHO) {
1400 __func__, ICMPH_TYPE(oicmph)));
1404 id = oicmph->id;
1405 seq = oicmph->seqno;
1461 sum = (u16_t)~oicmph->chksum;
1462 sum += chksum_update_16(&oicmph->id, guest_id);
1464 oicmph->chksum = ~sum;
1726 struct icmp6_echo_hdr *oicmph;
1740 oicmph = NULL;
1766 oicmph = (struct icmp6_echo_hdr *)bufptr;
1782 if (oiph == NULL || oicmph == NULL) {
1786 if (buflen < sizeof(*oicmph)) {
1791 if (oicmph->type != ICMP6_TYPE_EREQ) {
1792 DPRINTF2(("%s: ignoring original ICMPv6 type %d\n", __func__, oicmph->type));
1803 pcb = pxping_pcb_for_reply(pxping, 1, ip6_2_ipX(&target_ip), oicmph->id);
1837 sum = (u16_t)~oicmph->chksum;
1838 sum += chksum_update_16(&oicmph->id, guest_id);
1844 oicmph->chksum = ~sum;