Lines Matching defs:cc
272 * and set up p->buffer and cc to reflect one if available. Notice that if
277 pcap_next_zbuf_shm(pcap_t *p, int *cc)
289 *cc = bzh->bzh_kernel_len;
299 *cc = bzh->bzh_kernel_len;
303 *cc = 0;
315 pcap_next_zbuf(pcap_t *p, int *cc)
330 data = pcap_next_zbuf_shm(p, cc);
350 data = pcap_next_zbuf_shm(p, cc);
358 return (pcap_next_zbuf_shm(p, cc));
393 data = pcap_next_zbuf_shm(p, cc);
405 return (pcap_next_zbuf_shm(p, cc));
827 int cc;
851 cc = p->cc;
852 if (p->cc == 0) {
858 * data and update cc to reflect the data found in the
865 i = pcap_next_zbuf(p, &cc);
873 cc = read(p->fd, (char *)p->buffer, p->bufsize);
875 if (cc < 0) {
952 ep = bp + cc;
971 p->cc = ep - bp;
983 * happened, and just set p->cc to 0.
985 if (p->cc < 0)
986 p->cc = 0;
1042 p->cc = ep - bp;
1044 * See comment above about p->cc < 0.
1046 if (p->cc < 0)
1047 p->cc = 0;
1058 p->cc = 0;
2632 p->cc = 0;