gen_cmp
static struct block *gen_cmp(u_int, u_int, bpf_int32);
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);
b0 = gen_cmp(offsetof(struct pfloghdr, dir), BPF_B,
b0 = gen_cmp(offsetof(struct pfloghdr, rulenr), BPF_W,
b0 = gen_cmp(offsetof(struct pfloghdr, subrulenr), BPF_W,
b0 = gen_cmp(offsetof(struct pfloghdr, reason), BPF_B,
b0 = gen_cmp(offsetof(struct pfloghdr, action), BPF_B,
b0 = gen_cmp(orig_linktype, BPF_H, (bpf_int32)ETHERTYPE_8021Q);
struct block *b = gen_cmp(offset, size, v);
tmp = gen_cmp(offset + size - 4, BPF_W, w);
tmp = gen_cmp(offset + size - 2, BPF_H, w);
tmp = gen_cmp(offset, BPF_B, (bpf_int32)v[0]);
b1 = gen_cmp(off_linktype + 2, BPF_B, (bpf_int32)proto);
return gen_cmp(off_linktype, BPF_H, (bpf_int32)proto);
b0 = gen_cmp(off_linktype, BPF_H, PPP_IP);
b1 = gen_cmp(off_linktype, BPF_H, PPP_VJC);
b0 = gen_cmp(off_linktype, BPF_H, PPP_VJNC);
return (gen_cmp(0, BPF_W, (bpf_int32)v));
return (gen_cmp(offsetof(struct pfloghdr, af), BPF_B,
return (gen_cmp(offsetof(struct pfloghdr, af), BPF_B,
return gen_cmp(off_linktype, BPF_H, (bpf_int32)proto);