Home | History | Annotate | Download | only in libpcap

Lines Matching refs:bpf_int32

182 static struct block *gen_cmp(enum e_offrel, u_int, u_int, bpf_int32);
183 static struct block *gen_cmp_gt(enum e_offrel, u_int, u_int, bpf_int32);
184 static struct block *gen_cmp_ge(enum e_offrel, u_int, u_int, bpf_int32);
185 static struct block *gen_cmp_lt(enum e_offrel, u_int, u_int, bpf_int32);
186 static struct block *gen_cmp_le(enum e_offrel, u_int, u_int, bpf_int32);
187 static struct block *gen_mcmp(enum e_offrel, u_int, u_int, bpf_int32,
191 bpf_u_int32, bpf_u_int32, int, bpf_int32);
227 static struct block *gen_portatom(int, bpf_int32);
228 static struct block *gen_portrangeatom(int, bpf_int32, bpf_int32);
230 static struct block *gen_portatom6(int, bpf_int32);
231 static struct block *gen_portrangeatom6(int, bpf_int32, bpf_int32);
559 bpf_int32 v;
568 bpf_int32 v;
577 bpf_int32 v;
586 bpf_int32 v;
595 bpf_int32 v;
604 bpf_int32 v;
621 bpf_int32 w = ((bpf_int32)p[0] << 24) |
622 ((bpf_int32)p[1] << 16) | ((bpf_int32)p[2] << 8) | p[3];
632 bpf_int32 w = ((bpf_int32)p[0] << 8) | p[1];
641 tmp = gen_cmp(offrel, offset, BPF_B, (bpf_int32)v[0]);
658 bpf_int32 v;
1551 b1 = gen_cmp(OR_LINK, off_linktype + 2, BPF_H, (bpf_int32)
1590 (bpf_int32)LLCSAP_IPX);
1592 (bpf_int32)0xFFFF);
1623 (bpf_int32)ETHERTYPE_IPX);
1664 b0 = gen_cmp(OR_LINK, off_linktype, BPF_H, (bpf_int32)proto);
1682 (bpf_int32)proto);
1696 (bpf_int32)proto);
1733 b1 = gen_cmp(OR_LINK, off_linktype + 2, BPF_H, (bpf_int32)
1765 (bpf_int32)LLCSAP_IPX);
1785 (bpf_int32)ETHERTYPE_IPX);
1827 b0 = gen_cmp(OR_LINK, off_linktype, BPF_H, (bpf_int32)proto);
1844 (bpf_int32)proto);
1858 (bpf_int32)proto);
2176 (bpf_int32)proto);
2433 return (gen_cmp(OR_LINK, 0, BPF_W, (bpf_int32)proto));
2443 BPF_B, (bpf_int32)AF_INET));
2447 BPF_B, (bpf_int32)AF_INET6));
2469 (bpf_int32)ARCTYPE_INET6));
2474 (bpf_int32)ARCTYPE_IP);
2476 (bpf_int32)ARCTYPE_IP_OLD);
2482 (bpf_int32)ARCTYPE_ARP);
2484 (bpf_int32)ARCTYPE_ARP_OLD);
2490 (bpf_int32)ARCTYPE_REVARP));
2494 (bpf_int32)ARCTYPE_ATALK));
2612 return gen_cmp(OR_LINK, off_linktype, BPF_H, (bpf_int32)proto);
2680 (bpf_int32)LLCSAP_IPX);
2705 (bpf_int32)proto);
2728 (bpf_int32)proto);
2770 b1 = gen_mcmp(OR_NET, offset, BPF_W, (bpf_int32)addr, mask);
3329 (bpf_int32)ntohs(0x0681), (bpf_int32)ntohs(0x07FF));
3331 BPF_H, (bpf_int32)ntohs((u_short)addr));
3334 tmp = gen_mcmp(OR_NET, 2, BPF_B, (bpf_int32)0x06, (bpf_int32)0x7);
3335 b2 = gen_cmp(OR_NET, 2 + offset_lh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3340 (bpf_int32)ntohs(0x0281), (bpf_int32)ntohs(0x07FF));
3341 b2 = gen_cmp(OR_NET, 2 + 1 + offset_sh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3345 tmp = gen_mcmp(OR_NET, 2, BPF_B, (bpf_int32)0x02, (bpf_int32)0x7);
3346 b2 = gen_cmp(OR_NET, 2 + offset_sh, BPF_H, (bpf_int32)ntohs((u_short)addr));
3988 bpf_int32 v;
3997 bpf_int32 v;
4010 tmp = gen_cmp(OR_NET, 9, BPF_B, (bpf_int32)proto);
4016 b1 = gen_portatom(0, (bpf_int32)port);
4020 b1 = gen_portatom(2, (bpf_int32)port);
4025 tmp = gen_portatom(0, (bpf_int32)port);
4026 b1 = gen_portatom(2, (bpf_int32)port);
4031 tmp = gen_portatom(0, (bpf_int32)port);
4032 b1 = gen_portatom(2, (bpf_int32)port);
4101 b0 = gen_cmp(OR_NET, 6, BPF_B, (bpf_int32)proto);
4105 b1 = gen_portatom6(0, (bpf_int32)port);
4109 b1 = gen_portatom6(2, (bpf_int32)port);
4114 tmp = gen_portatom6(0, (bpf_int32)port);
4115 b1 = gen_portatom6(2, (bpf_int32)port);
4120 tmp = gen_portatom6(0, (bpf_int32)port);
4121 b1 = gen_portatom6(2, (bpf_int32)port);
4171 bpf_int32 v1, v2;
4179 bpf_int32 vtemp;
4203 tmp = gen_cmp(OR_NET, 9, BPF_B, (bpf_int32)proto);
4209 b1 = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
4213 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
4218 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
4219 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
4224 tmp = gen_portrangeatom(0, (bpf_int32)port1, (bpf_int32)port2);
4225 b1 = gen_portrangeatom(2, (bpf_int32)port1, (bpf_int32)port2);
4274 bpf_int32 v1, v2;
4282 bpf_int32 vtemp;
4306 b0 = gen_cmp(OR_NET, 6, BPF_B, (bpf_int32)proto);
4310 b1 = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
4314 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
4319 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
4320 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
4325 tmp = gen_portrangeatom6(0, (bpf_int32)port1, (bpf_int32)port2);
4326 b1 = gen_portrangeatom6(2, (bpf_int32)port1, (bpf_int32)port2);
4784 b1 = gen_cmp(OR_NET, 9, BPF_B, (bpf_int32)v);
4916 b1 = gen_cmp(OR_NET, 6, BPF_B, (bpf_int32)v);
6034 return gen_cmp(OR_LINK, (u_int)idx, BPF_B, (bpf_int32)val);
6037 b = gen_cmp_lt(OR_LINK, (u_int)idx, BPF_B, (bpf_int32)val);
6041 b = gen_cmp_gt(OR_LINK, (u_int)idx, BPF_B, (bpf_int32)val);
6119 b1 = gen_mcmp(OR_NET, 16, BPF_W, (bpf_int32)0, hostmask);
6121 (bpf_int32)(~0 & hostmask), hostmask);
6325 b1 = gen_cmp_ge(OR_NET, 16, BPF_B, (bpf_int32)224);
6332 b1 = gen_cmp(OR_NET, 24, BPF_B, (bpf_int32)255);
6388 (bpf_int32)((dir == 0) ? PF_IN : PF_OUT));
6490 (bpf_int32)rnr);
6511 (bpf_int32)srnr);
6523 (bpf_int32)reason);
6540 (bpf_int32)action);
6705 b0 = gen_cmp(OR_LINK, orig_linktype, BPF_H, (bpf_int32)ETHERTYPE_8021Q);
6709 b1 = gen_mcmp(OR_LINK, orig_nl, BPF_H, (bpf_int32)vlan_num,
6775 b1 = gen_mcmp(OR_LINK, orig_nl, BPF_W, (bpf_int32)label_num,
6794 return gen_linktype((bpf_int32)ETHERTYPE_PPPOED);
6805 b0 = gen_linktype((bpf_int32)ETHERTYPE_PPPOES);
6862 bpf_int32 jvalue;