Home | History | Annotate | Download | only in ping6

Lines Matching defs:cc

327 	int cc;
1118 cc = poll(fdmaskp, 1, timeout);
1119 if (cc < 0) {
1125 } else if (cc == 0)
1139 cc = recvmsg(s, &m, 0);
1140 if (cc < 0) {
1146 } else if (cc == 0) {
1165 pr_pack(packet, cc, &m);
1257 int i, cc;
1283 cc = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1296 cc = ICMP6_NIQLEN;
1310 cc = ICMP6_NIQLEN + sizeof(dst.sin6_addr);
1322 cc = ICMP6_NIQLEN;
1337 cc = ICMP6ECHOLEN + datalen;
1341 if (pingerlen() != cc)
1349 iov[0].iov_len = cc;
1355 if (i < 0 || i != cc) {
1359 hostname, cc, i);
1456 pr_pack(u_char *buf, int cc, struct msghdr *mhdr)
1465 u_char *cp = NULL, *dp, *end = buf + cc;
1487 if (cc < (int)sizeof(struct icmp6_hdr)) {
1489 warnx("packet too short (%d bytes) from %s", cc,
1539 (void)printf("%d bytes from %s, icmp_seq=%u", cc,
1585 (void)printf("%d bytes from %s: ", cc, pr_addr(from, fromlen));
1616 cc - off - ICMP6_NIRLEN - 1)
1702 cc - off - ICMP6_NIRLEN - 1 && oldfqdn) {
1707 (u_long)cc - off - ICMP6_NIRLEN - 1);
1720 (void)printf("%d bytes from %s: ", cc, pr_addr(from, fromlen));