Searched refs:gen_mcmp (Results 1 – 1 of 1) sorted by relevance
/external/libpcap/ |
D | gencode.c | 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])); [all …]
|