Home | History | Annotate | Download | only in libpcap

Lines Matching refs:b2

2139 	struct block *b0, *b1, *b2;
2544 b2 = gen_cmp(OR_LINK, 2, BPF_H, (0x03<<8) | ISO10589_ISIS);
2545 gen_or(b1, b2);
2546 gen_or(b0, b2);
2547 return b2;
2944 register struct block *b0, *b1, *b2;
2990 b2 = new_block(JMP(BPF_JSET));
2991 b2->s.k = 0x01; /* To DS */
2992 b2->stmts = s;
2993 gen_not(b2);
2999 gen_and(b2, b1);
3022 b2 = new_block(JMP(BPF_JSET));
3023 b2->s.k = 0x02; /* From DS */
3024 b2->stmts = s;
3025 gen_not(b2);
3031 gen_and(b2, b1);
3060 b2 = new_block(JMP(BPF_JSET));
3061 b2->s.k = 0x08;
3062 b2->stmts = s;
3063 gen_not(b2);
3069 gen_and(b2, b1);
3137 b2 = new_block(JMP(BPF_JSET));
3138 b2->s.k = 0x01; /* To DS */
3139 b2->stmts = s;
3140 gen_not(b2);
3146 gen_and(b2, b1);
3174 b2 = new_block(JMP(BPF_JSET));
3175 b2->s.k = 0x08;
3176 b2->stmts = s;
3177 gen_not(b2);
3183 gen_and(b2, b1);
3289 struct block *b0, *b1, *b2, *tmp;
3335 b2 = gen_cmp(OR_NET, 2 + offset_lh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3336 gen_and(tmp, b2);
3337 gen_or(b2, b1);
3341 b2 = gen_cmp(OR_NET, 2 + 1 + offset_sh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3342 gen_and(tmp, b2);
3343 gen_or(b2, b1);
3346 b2 = gen_cmp(OR_NET, 2 + offset_sh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3347 gen_and(tmp, b2);
3348 gen_or(b2, b1);
4173 struct block *b1, *b2;
4187 b2 = gen_cmp_le(OR_TRAN_IPV4, off, BPF_H, v2);
4189 gen_and(b1, b2);
4191 return b2;
4276 struct block *b1, *b2;
4290 b2 = gen_cmp_le(OR_TRAN_IPV6, off, BPF_H, v2);
4292 gen_and(b1, b2);
4294 return b2;
6067 struct block *b0, *b1, *b2;
6120 b2 = gen_mcmp(OR_NET, 16, BPF_W,
6122 gen_or(b1, b2);
6123 gen_and(b0, b2);
6124 return b2;
6154 register struct block *b0, *b1, *b2;
6222 b2 = new_block(JMP(BPF_JSET));
6223 b2->s.k = 0x01; /* To DS */
6224 b2->stmts = s;
6225 gen_not(b2);
6231 gen_and(b2, b1);
6259 b2 = new_block(JMP(BPF_JSET));
6260 b2->s.k = 0x08;
6261 b2->stmts = s;
6262 gen_not(b2);
6268 gen_and(b2, b1);