Lines Matching defs:cc
718 int cc;
740 cc = datalen + 8; /* skips ICMP portion */
743 icp->checksum = in_cksum((u_short *)icp, cc, 0);
757 iov.iov_len = cc;
763 return (cc == i ? 0 : i);
780 parse_reply(struct msghdr *msg, int cc, void *addr, struct timeval *tv)
797 if (cc < hlen + 8 || ip->ihl < 5) {
799 fprintf(stderr, "ping: packet too short (%d bytes) from %s\n", cc,
826 cc -= hlen;
828 csfailed = in_cksum((u_short *)icp, cc, 0);
833 if (gather_statistics((__u8*)icp, sizeof(*icp), cc,
856 if (cc < 8+sizeof(struct iphdr)+8 ||
857 cc < 8+iph->ihl*4+8)