Lines Matching refs:reply
318 ICMP_ECHO_REPLY *reply;
339 reply = (ICMP_ECHO_REPLY *)pong->buf;
341 if (reply->Options.OptionsSize != 0) { /* don't do options */
345 mapped = pxremap_inbound_ip4(&src, (ip_addr_t *)&reply->Address);
350 if (reply->Options.Ttl == 1) {
353 --reply->Options.Ttl;
356 if (reply->Status == IP_SUCCESS) {
357 icmplen = sizeof(struct icmp_echo_hdr) + reply->DataSize;
358 if ((reply->Options.Flags & IP_FLAG_DF) != 0
377 reply->Data, reply->DataSize);
382 switch (reply->Status) {
405 DPRINTF(("pong4: reply status %d, dropped\n", reply->Status));
409 DPRINTF(("pong4: reply status %d -> type %d/code %d\n",
410 reply->Status, type, code));
441 reply->Options.Ttl,
442 reply->Options.Tos,
605 ICMPV6_ECHO_REPLY *reply;
625 reply = (ICMPV6_ECHO_REPLY *)pong->buf;
627 mapped = pxremap_inbound_ip6(&src, (ip6_addr_t *)reply->Address.sin6_addr);
651 pong->buf + sizeof(*reply), pong->reqsize);