Home | History | Annotate | Download | only in ping

Lines Matching defs:cc

657 	int cc;
682 cc = datalen + 8; /* skips ICMP portion */
685 icp->checksum = in_cksum((u_short *)icp, cc, 0);
702 iov.iov_len = cc;
708 return (cc == i ? 0 : i);
719 parse_reply(struct msghdr *msg, int cc, void *addr, struct timeval *tv)
736 if (cc < hlen + 8 || ip->ihl < 5) {
738 fprintf(stderr, "ping: packet too short (%d bytes) from %s\n", cc,
765 cc -= hlen;
767 csfailed = in_cksum((u_short *)icp, cc, 0);
772 if (gather_statistics((__u8*)(icp+1), cc,
794 if (cc < 8+sizeof(struct iphdr)+8 ||
795 cc < 8+iph->ihl*4+8)