Lines Matching refs:block
140 static struct block *root;
175 static inline struct block *new_block(int);
177 static struct block *gen_retblk(int);
180 static void backpatch(struct block *, struct block *);
181 static void merge(struct block *, struct block *);
182 static struct block *gen_cmp(enum e_offrel, u_int, u_int, bpf_int32);
183 static struct block *gen_cmp_gt(enum e_offrel, u_int, u_int, bpf_int32);
184 static struct block *gen_cmp_ge(enum e_offrel, u_int, u_int, bpf_int32);
185 static struct block *gen_cmp_lt(enum e_offrel, u_int, u_int, bpf_int32);
186 static struct block *gen_cmp_le(enum e_offrel, u_int, u_int, bpf_int32);
187 static struct block *gen_mcmp(enum e_offrel, u_int, u_int, bpf_int32,
189 static struct block *gen_bcmp(enum e_offrel, u_int, u_int, const u_char *);
190 static struct block *gen_ncmp(enum e_offrel, bpf_u_int32, bpf_u_int32,
195 static struct block *gen_uncond(int);
196 static inline struct block *gen_true(void);
197 static inline struct block *gen_false(void);
198 static struct block *gen_ether_linktype(int);
199 static struct block *gen_linux_sll_linktype(int);
200 static void insert_radiotap_load_llprefixlen(struct block *);
201 static void insert_ppi_load_llprefixlen(struct block *);
202 static void insert_load_llprefixlen(struct block *);
204 static struct block *gen_linktype(int);
205 static struct block *gen_snap(bpf_u_int32, bpf_u_int32, u_int);
206 static struct block *gen_llc_linktype(int);
207 static struct block *gen_hostop(bpf_u_int32, bpf_u_int32, int, int, u_int, u_int);
209 static struct block *gen_hostop6(struct in6_addr *, struct in6_addr *, int, int, u_int, u_int);
211 static struct block *gen_ahostop(const u_char *, int);
212 static struct block *gen_ehostop(const u_char *, int);
213 static struct block *gen_fhostop(const u_char *, int);
214 static struct block *gen_thostop(const u_char *, int);
215 static struct block *gen_wlanhostop(const u_char *, int);
216 static struct block *gen_ipfchostop(const u_char *, int);
217 static struct block *gen_dnhostop(bpf_u_int32, int);
218 static struct block *gen_mpls_linktype(int);
219 static struct block *gen_host(bpf_u_int32, bpf_u_int32, int, int, int);
221 static struct block *gen_host6(struct in6_addr *, struct in6_addr *, int, int, int);
224 static struct block *gen_gateway(const u_char *, bpf_u_int32 **, int, int);
226 static struct block *gen_ipfrag(void);
227 static struct block *gen_portatom(int, bpf_int32);
228 static struct block *gen_portrangeatom(int, bpf_int32, bpf_int32);
230 static struct block *gen_portatom6(int, bpf_int32);
231 static struct block *gen_portrangeatom6(int, bpf_int32, bpf_int32);
233 struct block *gen_portop(int, int, int);
234 static struct block *gen_port(int, int, int);
235 struct block *gen_portrangeop(int, int, int, int);
236 static struct block *gen_portrange(int, int, int, int);
238 struct block *gen_portop6(int, int, int);
239 static struct block *gen_port6(int, int, int);
240 struct block *gen_portrangeop6(int, int, int, int);
241 static struct block *gen_portrange6(int, int, int, int);
244 static struct block *gen_protochain(int, int, int);
245 static struct block *gen_proto(int, int, int);
248 static struct block *gen_mac_multicast(int);
249 static struct block *gen_len(int, int);
251 static struct block *gen_ppi_dlt_check(void);
252 static struct block *gen_msg_abbrev(int type);
315 static inline struct block *
319 struct block *p;
321 p = (struct block *)newchunk(sizeof(*p));
340 static struct block *
344 struct block *b = new_block(BPF_RET|BPF_K);
448 * back to another unresolved block (or nil). At least one of the fields
449 * in each block is already resolved.
453 struct block *list, *target;
455 struct block *next;
475 struct block *b0, *b1;
477 register struct block **p = &b0;
490 struct block *p;
492 struct block *ppi_dlt_check;
507 * Insert before the statements of the first (root) block any
527 struct block *b0, *b1;
539 struct block *b0, *b1;
550 struct block *b;
555 static struct block *
564 static struct block *
573 static struct block *
582 static struct block *
591 static struct block *
600 static struct block *
610 static struct block *
616 register struct block *b, *tmp;
655 static struct block *
663 struct block *b;
1482 static struct block *
1486 struct block *b;
1497 static inline struct block *
1503 static inline struct block *
1526 static struct block *
1530 struct block *b0, *b1;
1709 static struct block *
1713 struct block *b0, *b1;
1865 struct block *b;
1870 * Prepend to the statements in this block code to load the
1920 * block to these statements.
1937 struct block *b;
1942 * Prepend to the statements in this block code to load the
1992 * block to these statements.
2000 static struct block *
2004 struct block *b;
2028 struct block *b;
2135 static struct block *
2139 struct block *b0, *b1, *b2;
2622 static struct block *
2653 static struct block *
2733 static struct block *
2740 struct block *b0, *b1;
2776 static struct block *
2783 struct block *b0, *b1;
2829 static struct block *
2834 register struct block *b0, *b1;
2863 static struct block *
2868 struct block *b0, *b1;
2905 static struct block *
2910 register struct block *b0, *b1;
2939 static struct block *
2944 register struct block *b0, *b1, *b2;
3235 static struct block *
3240 register struct block *b0, *b1;
3284 static struct block *
3289 struct block *b0, *b1, *b2, *tmp;
3360 static struct block *
3364 struct block *b0, *b1;
3389 static struct block *
3397 struct block *b0, *b1;
3520 static struct block *
3638 static struct block *
3645 struct block *b0, *b1, *tmp;
3713 struct block *
3717 struct block *b0;
3718 struct block *b1;
3960 static struct block *
3964 struct block *b;
3985 static struct block *
3994 static struct block *
4003 struct block *
4007 struct block *b0, *b1, *tmp;
4044 static struct block *
4050 struct block *b0, *b1, *tmp;
4094 struct block *
4098 struct block *b0, *b1, *tmp;
4133 static struct block *
4139 struct block *b0, *b1, *tmp;
4168 static struct block *
4173 struct block *b1, *b2;
4194 struct block *
4200 struct block *b0, *b1, *tmp;
4237 static struct block *
4243 struct block *b0, *b1, *tmp;
4271 static struct block *
4276 struct block *b1, *b2;
4297 struct block *
4303 struct block *b0, *b1, *tmp;
4338 static struct block *
4344 struct block *b0, *b1, *tmp;
4427 static struct block *
4436 struct block *b0, *b;
4745 static struct block *
4751 struct block *b0, *b1;
4952 struct block *
4971 struct block *b, *tmp;
5262 struct block *
5312 struct block *
5371 struct block *b;
5394 struct block *b;
5423 struct block *
5432 struct block *b;
5482 struct block *
5487 struct block *b, *tmp;
5583 struct block *b;
5808 struct block *
5815 struct block *b, *tmp;
5975 static struct block *
5980 struct block *b;
5990 struct block *
6000 struct block *
6004 struct block *b;
6022 struct block *
6026 struct block *b;
6062 struct block *
6067 struct block *b0, *b1, *b2;
6135 static struct block *
6139 register struct block *b0;
6150 struct block *
6154 register struct block *b0, *b1, *b2;
6347 struct block *
6351 register struct block *b0;
6440 struct block *
6443 struct block *b0;
6463 struct block *
6466 struct block *b0;
6483 struct block *
6486 struct block *b0;
6500 struct block *
6503 struct block *b0;
6516 struct block *
6519 struct block *b0;
6533 struct block *
6536 struct block *b0;
6549 struct block *
6557 struct block *
6565 struct block *
6573 struct block *
6581 struct block *
6589 struct block *
6598 struct block *
6612 static struct block *
6617 register struct block *b0, *b1;
6647 struct block *
6651 struct block *b0, *b1;
6721 struct block *
6725 struct block *b0,*b1;
6790 struct block *
6797 struct block *
6800 struct block *b0;
6859 struct block *
6866 struct block *b0;
6917 struct block *
6921 struct block *b0, *b1;
7024 struct block *
7028 struct block *b0, *b1;
7062 struct block *
7069 struct block *b0;
7143 static struct block *
7147 struct block *b1;
7185 struct block *
7189 struct block *b0, *b1;