Searched refs:gen_mcmp (Results 1 – 1 of 1) sorted by relevance
/external/libpcap/ |
D | gencode.c | 226 static struct block *gen_mcmp(enum e_offrel, u_int, u_int, bpf_int32, 686 gen_mcmp(offrel, offset, size, v, mask) in gen_mcmp() function 3065 return gen_mcmp(OR_LINK, 0, BPF_B, 0x40, 0xF0); 3069 return gen_mcmp(OR_LINK, 0, BPF_B, 0x60, 0xF0); 3353 return gen_mcmp(OR_LINK, 0, BPF_W, 0x4d474300, 0xffffff00); /* compare the magic number */ 3356 return gen_mcmp(OR_LINK, 0, BPF_W, 0x55FF0000, 0xffff0000); 3586 b1 = gen_mcmp(OR_NET, offset, BPF_W, (bpf_int32)addr, mask); 3632 b1 = gen_mcmp(OR_NET, offset + 12, BPF_W, ntohl(a[3]), ntohl(m[3])); 3633 b0 = gen_mcmp(OR_NET, offset + 8, BPF_W, ntohl(a[2]), ntohl(m[2])); 3635 b0 = gen_mcmp(OR_NET, offset + 4, BPF_W, ntohl(a[1]), ntohl(m[1])); [all …]
|