bpf_int32
(bpf_int32)ntohs(0x0681), (bpf_int32)ntohs(0x07FF));
BPF_H, (bpf_int32)ntohs(addr));
tmp = gen_mcmp_nl(base_off + 2, BPF_B, (bpf_int32)0x06, (bpf_int32)0x7);
b2 = gen_cmp_nl(base_off + 2 + offset_lh, BPF_H, (bpf_int32)ntohs(addr));
(bpf_int32)ntohs(0x0281), (bpf_int32)ntohs(0x07FF));
BPF_H, (bpf_int32)ntohs(addr));
tmp = gen_mcmp_nl(base_off + 2, BPF_B, (bpf_int32)0x02, (bpf_int32)0x7);
b2 = gen_cmp_nl(base_off + 2 + offset_sh, BPF_H, (bpf_int32)ntohs(addr));
static struct block *gen_cmp(u_int, u_int, bpf_int32);
static struct block *gen_cmp_gt(u_int, u_int, bpf_int32);
static struct block *gen_cmp_nl(u_int, u_int, bpf_int32);
static struct block *gen_mcmp(u_int, u_int, bpf_int32, bpf_u_int32);
static struct block *gen_mcmp_nl(u_int, u_int, bpf_int32, bpf_u_int32);
static struct block *gen_portatom(int, bpf_int32);
static struct block *gen_portatom6(int, bpf_int32);
gen_portatom(int off, bpf_int32 v)
gen_portatom6(int off, bpf_int32 v)
tmp = gen_cmp_nl(9, BPF_B, (bpf_int32)proto);
b1 = gen_portatom(0, (bpf_int32)port);
b1 = gen_portatom(2, (bpf_int32)port);
tmp = gen_portatom(0, (bpf_int32)port);
b1 = gen_portatom(2, (bpf_int32)port);
tmp = gen_portatom(0, (bpf_int32)port);
b1 = gen_portatom(2, (bpf_int32)port);
b0 = gen_cmp_nl(6, BPF_B, (bpf_int32)proto);
b1 = gen_portatom6(0, (bpf_int32)port);
b1 = gen_portatom6(2, (bpf_int32)port);
tmp = gen_portatom6(0, (bpf_int32)port);
b1 = gen_portatom6(2, (bpf_int32)port);
tmp = gen_portatom6(0, (bpf_int32)port);
b1 = gen_portatom6(2, (bpf_int32)port);
b1 = gen_cmp_nl(9, BPF_B, (bpf_int32)v);
b1 = gen_cmp_nl(6, BPF_B, (bpf_int32)v);
return gen_cmp((u_int)idx, BPF_B, (bpf_int32)val);
b = gen_cmp((u_int)idx, BPF_B, (bpf_int32)val);
b = gen_cmp((u_int)idx, BPF_B, (bpf_int32)val);
b1 = gen_mcmp_nl(16, BPF_W, (bpf_int32)0, hostmask);
(bpf_int32)(~0 & hostmask), hostmask);
b1 = gen_cmp_nl(16, BPF_B, (bpf_int32)224);
b1 = gen_cmp_nl(24, BPF_B, (bpf_int32)255);
(bpf_int32)((dir == 0) ? PF_IN : PF_OUT));
(bpf_int32)rnr);
(bpf_int32)srnr);
(bpf_int32)reason);
(bpf_int32)action);
b0 = gen_mcmp(offset, BPF_B, (bpf_int32)type, (bpf_u_int32)mask);
b0 = gen_mcmp(off_nl-2, BPF_B, (bpf_int32)0, 0x1);
b1 = gen_mcmp(off_nl, BPF_W, (bpf_int32)(label << 12),
b0 = gen_cmp(orig_linktype, BPF_H, (bpf_int32)ETHERTYPE_8021Q);
b1 = gen_mcmp(orig_nl, BPF_H, (bpf_int32)vlan_num, 0x0FFF);
b0 = gen_mcmp(offset, BPF_B, (bpf_int32)fcdir,
b0 = gen_mcmp(offset, BPF_B, (bpf_int32)fcdir, IEEE80211_FC1_DIR_MASK);
gen_cmp(u_int offset, u_int size, bpf_int32 v)
gen_cmp_gt(u_int offset, u_int size, bpf_int32 v)
gen_mcmp(u_int offset, u_int size, bpf_int32 v, bpf_u_int32 mask)
gen_mcmp_nl(u_int offset, u_int size, bpf_int32 v, bpf_u_int32 mask)
bpf_int32 w = ((bpf_int32)p[0] << 24) |
((bpf_int32)p[1] << 16) | ((bpf_int32)p[2] << 8) | p[3];
bpf_int32 w = ((bpf_int32)p[0] << 8) | p[1];
tmp = gen_cmp(offset, BPF_B, (bpf_int32)v[0]);
gen_cmp_nl(u_int offset, u_int size, bpf_int32 v)
b1 = gen_cmp(off_linktype + 2, BPF_B, (bpf_int32)proto);
return gen_cmp(off_linktype, BPF_H, (bpf_int32)proto);
return (gen_cmp(0, BPF_W, (bpf_int32)v));
(bpf_int32)AF_INET));
(bpf_int32)AF_INET6));
return gen_cmp(off_linktype, BPF_H, (bpf_int32)proto);
b1 = gen_mcmp_nl(offset, BPF_W, (bpf_int32)addr, mask);
bpf_int32 k;
bpf_int32 aval;
bpf_int32 const_val;
bpf_int32 a, b;
bpf_int32 v = vmap[val].const_val;
bpf_int32 thiszone; /* gmt to local correction */