Home | History | Annotate | Download | only in libpcap

Lines Matching refs:off

273 	/* Root starts off empty. */
2069 u_int off;
2097 for (off = 0; off < slen && src; off++) {
2099 printf("off=%d src=%x\n", off, src);
2101 offset[off] = src;
2105 off = 0;
2122 if (off == slen - 2) /*???*/
2128 const char *ljerr = "%s for block-local relative jump: off=%d";
2131 printf("code=%x off=%d %x %x\n", src->s.code,
2132 off, src->s.jt, src->s.jf);
2136 bpf_error(ljerr, "no jmp destination", off);
2144 bpf_error(ljerr, "multiple matches", off);
2148 dst->jt = i - off - 1;
2153 bpf_error(ljerr, "multiple matches", off);
2156 dst->jf = i - off - 1;
2161 bpf_error(ljerr, "no destination found", off);
2167 ++off;
2179 off = JT(p)->offset - (p->offset + slen) - 1;
2180 if (off >= 256) {
2191 dst[extrajmps].k = off - extrajmps;
2194 dst->jt = off;
2195 off = JF(p)->offset - (p->offset + slen) - 1;
2196 if (off >= 256) {
2208 dst[extrajmps].k = off - extrajmps;
2211 dst->jf = off;