Lines Matching refs:gen_mcmp
187 static struct block *gen_mcmp(enum e_offrel, u_int, u_int, bpf_int32,
601 gen_mcmp(offrel, offset, size, v, mask) in gen_mcmp() function
2252 return gen_mcmp(OR_LINK, 0, BPF_B, 0x40, 0xF0);
2256 return gen_mcmp(OR_LINK, 0, BPF_B, 0x60, 0xF0);
2578 return gen_mcmp(OR_LINK, 0, BPF_W, 0x4d474300, 0xffffff00); /* compare the magic number */
2770 b1 = gen_mcmp(OR_NET, offset, BPF_W, (bpf_int32)addr, mask);
2816 b1 = gen_mcmp(OR_NET, offset + 12, BPF_W, ntohl(a[3]), ntohl(m[3]));
2817 b0 = gen_mcmp(OR_NET, offset + 8, BPF_W, ntohl(a[2]), ntohl(m[2]));
2819 b0 = gen_mcmp(OR_NET, offset + 4, BPF_W, ntohl(a[1]), ntohl(m[1]));
2821 b0 = gen_mcmp(OR_NET, offset + 0, BPF_W, ntohl(a[0]), ntohl(m[0]));
3328 tmp = gen_mcmp(OR_NET, 2, BPF_H,
3334 tmp = gen_mcmp(OR_NET, 2, BPF_B, (bpf_int32)0x06, (bpf_int32)0x7);
3339 tmp = gen_mcmp(OR_NET, 2, BPF_H,
3345 tmp = gen_mcmp(OR_NET, 2, BPF_B, (bpf_int32)0x02, (bpf_int32)0x7);
3370 b0 = gen_mcmp(OR_NET, -2, BPF_B, 0x01, 0x01);
3372 b1 = gen_mcmp(OR_NET, 0, BPF_B, 0x40, 0xf0);
3378 b0 = gen_mcmp(OR_NET, -2, BPF_B, 0x01, 0x01);
3380 b1 = gen_mcmp(OR_NET, 0, BPF_B, 0x60, 0xf0);
6119 b1 = gen_mcmp(OR_NET, 16, BPF_W, (bpf_int32)0, hostmask);
6120 b2 = gen_mcmp(OR_NET, 16, BPF_W,
6422 b0 = gen_mcmp(OR_LINK, 3, BPF_B, 0, 0x01);
6425 b0 = gen_mcmp(OR_LINK, 3, BPF_B, 1, 0x01);
6709 b1 = gen_mcmp(OR_LINK, orig_nl, BPF_H, (bpf_int32)vlan_num,
6740 b0 = gen_mcmp(OR_LINK, orig_nl-2, BPF_B, 0, 0x01);
6775 b1 = gen_mcmp(OR_LINK, orig_nl, BPF_W, (bpf_int32)label_num,