Lines Matching defs:rcvd
430 check_icmp_v4(char *buf, ssize_t rcvd, probe_param_t *param)
454 if (rcvd < 2 * sizeof (struct ip) + ICMP_MINLEN +
460 if (rcvd < sizeof (struct ip) + ICMP_MINLEN)
528 check_icmp_v6(char *buf, ssize_t rcvd, probe_param_t *param)
543 if (rcvd < sizeof (ip6_t) + ICMP6_MINLEN +
549 if (rcvd < ICMP6_MINLEN)
565 ssize_t rcvd;
573 if ((rcvd = recvfrom(recv_sd, buf, RECV_PKT_SZ, 0,
584 if (check_icmp_v4(buf, rcvd, param) == 0) {
592 if ((rcvd = recvfrom(recv_sd, buf, RECV_PKT_SZ, 0,
602 if (check_icmp_v6(buf, rcvd, param) == 0) {