Home | History | Annotate | Download | only in libpcap

Lines Matching defs:cp

120 	register u_char *bp, *cp, *ep;
168 cp = bp;
171 hdrp = (struct nit_bufhdr *)cp;
172 cp += sizeof(*hdrp);
175 ntp = (struct nit_iftime *)cp;
176 cp += sizeof(*ntp);
178 ndp = (struct nit_ifdrops *)cp;
180 cp += sizeof *ndp;
183 nlp = (struct nit_iflen *)cp;
184 cp += sizeof(*nlp);
193 if (bpf_filter(p->fcode.bf_insns, cp, nlp->nh_pktlen, caplen)) {
198 (*callback)(user, &h, cp);