Lines Matching refs:bpf_u_int32

248 	bpf_u_int32 netmask;
485 u_int, bpf_u_int32);
487 u_int, bpf_u_int32);
489 u_int, bpf_u_int32);
491 u_int, bpf_u_int32);
493 u_int, bpf_u_int32);
495 u_int, bpf_u_int32, bpf_u_int32);
499 u_int, bpf_u_int32, int, int, bpf_u_int32);
508 static struct block *gen_ether_linktype(compiler_state_t *, bpf_u_int32);
509 static struct block *gen_ipnet_linktype(compiler_state_t *, bpf_u_int32);
510 static struct block *gen_linux_sll_linktype(compiler_state_t *, bpf_u_int32);
519 static bpf_u_int32 ethertype_to_ppptype(bpf_u_int32);
520 static struct block *gen_linktype(compiler_state_t *, bpf_u_int32);
521 static struct block *gen_snap(compiler_state_t *, bpf_u_int32, bpf_u_int32);
522 static struct block *gen_llc_linktype(compiler_state_t *, bpf_u_int32);
523 static struct block *gen_hostop(compiler_state_t *, bpf_u_int32, bpf_u_int32,
524 int, bpf_u_int32, u_int, u_int);
527 struct in6_addr *, int, bpf_u_int32, u_int, u_int);
535 static struct block *gen_dnhostop(compiler_state_t *, bpf_u_int32, int);
536 static struct block *gen_mpls_linktype(compiler_state_t *, bpf_u_int32);
537 static struct block *gen_host(compiler_state_t *, bpf_u_int32, bpf_u_int32,
548 static struct block *gen_portatom(compiler_state_t *, int, bpf_u_int32);
549 static struct block *gen_portrangeatom(compiler_state_t *, u_int, bpf_u_int32,
550 bpf_u_int32);
551 static struct block *gen_portatom6(compiler_state_t *, int, bpf_u_int32);
552 static struct block *gen_portrangeatom6(compiler_state_t *, u_int, bpf_u_int32,
553 bpf_u_int32);
557 bpf_u_int32, int);
562 bpf_u_int32, int);
566 static struct block *gen_protochain(compiler_state_t *, bpf_u_int32, int);
568 static struct block *gen_proto(compiler_state_t *, bpf_u_int32, int, int);
578 bpf_u_int32, int, int);
715 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile()
876 const char *buf, int optimize, bpf_u_int32 mask) in pcap_compile_nopcap()
1029 u_int size, bpf_u_int32 v) in gen_cmp()
1036 u_int size, bpf_u_int32 v) in gen_cmp_gt()
1043 u_int size, bpf_u_int32 v) in gen_cmp_ge()
1050 u_int size, bpf_u_int32 v) in gen_cmp_lt()
1057 u_int size, bpf_u_int32 v) in gen_cmp_le()
1064 u_int size, bpf_u_int32 v, bpf_u_int32 mask) in gen_mcmp()
1113 u_int size, bpf_u_int32 mask, int jtype, int reverse, in gen_ncmp()
1114 bpf_u_int32 v) in gen_ncmp()
1963 gen_ether_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_ether_linktype()
2131 gen_loopback_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_loopback_linktype()
2170 gen_ipnet_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_ipnet_linktype()
2198 gen_linux_sll_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_linux_sll_linktype()
2904 s2->s.k = (bpf_u_int32)~3; in gen_load_802_11_header_len()
3095 static bpf_u_int32
3096 ethertype_to_ppptype(bpf_u_int32 ll_proto) in ethertype_to_ppptype()
3193 gen_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_linktype()
3698 gen_snap(compiler_state_t *cstate, bpf_u_int32 orgcode, bpf_u_int32 ptype) in gen_snap()
3885 gen_llc_s_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) in gen_llc_s_subtype()
3910 gen_llc_u_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) in gen_llc_u_subtype()
3947 gen_llc_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_llc_linktype()
3962 return gen_cmp(cstate, OR_LLC, 0, BPF_H, (bpf_u_int32) in gen_llc_linktype()
4021 gen_hostop(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, in gen_hostop()
4022 int dir, bpf_u_int32 ll_proto, u_int src_off, u_int dst_off) in gen_hostop()
4087 struct in6_addr *mask, int dir, bpf_u_int32 ll_proto, u_int src_off, in gen_hostop6()
4101 bpf_u_int32 a[4], m[4]; in gen_hostop6()
4835 gen_dnhostop(compiler_state_t *cstate, bpf_u_int32 addr, int dir) in gen_dnhostop()
4899 (bpf_u_int32)ntohs(0x0681), (bpf_u_int32)ntohs(0x07FF)); in gen_dnhostop()
4901 BPF_H, (bpf_u_int32)ntohs((u_short)addr)); in gen_dnhostop()
4904 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_B, (bpf_u_int32)0x06, in gen_dnhostop()
4905 (bpf_u_int32)0x7); in gen_dnhostop()
4907 (bpf_u_int32)ntohs((u_short)addr)); in gen_dnhostop()
4912 (bpf_u_int32)ntohs(0x0281), (bpf_u_int32)ntohs(0x07FF)); in gen_dnhostop()
4914 (bpf_u_int32)ntohs((u_short)addr)); in gen_dnhostop()
4918 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_B, (bpf_u_int32)0x02, in gen_dnhostop()
4919 (bpf_u_int32)0x7); in gen_dnhostop()
4921 (bpf_u_int32)ntohs((u_short)addr)); in gen_dnhostop()
4936 gen_mpls_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) in gen_mpls_linktype()
4966 gen_host(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, in gen_host()
5630 gen_portatom(compiler_state_t *cstate, int off, bpf_u_int32 v) in gen_portatom()
5636 gen_portatom6(compiler_state_t *cstate, int off, bpf_u_int32 v) in gen_portatom6()
5823 gen_portrangeatom(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, in gen_portrangeatom()
5824 bpf_u_int32 v2) in gen_portrangeatom()
5832 bpf_u_int32 vtemp; in gen_portrangeatom()
5849 bpf_u_int32 proto, int dir) in gen_portrangeop()
5926 b1 = gen_portrangeop(cstate, port1, port2, (bpf_u_int32)ip_proto, in gen_portrange()
5946 gen_portrangeatom6(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, in gen_portrangeatom6()
5947 bpf_u_int32 v2) in gen_portrangeatom6()
5955 bpf_u_int32 vtemp; in gen_portrangeatom6()
5972 bpf_u_int32 proto, int dir) in gen_portrangeop6()
6023 b1 = gen_portrangeop6(cstate, port1, port2, (bpf_u_int32)ip_proto, in gen_portrange6()
6087 gen_protochain(compiler_state_t *cstate, bpf_u_int32 v, int proto) in gen_protochain()
6421 gen_proto(compiler_state_t *cstate, bpf_u_int32 v, int proto, int dir) in gen_proto()
6773 static bpf_u_int32
6779 bpf_u_int32 val; in stringtoport()
6831 val = (bpf_u_int32)tcp_port; in stringtoport()
6848 val = (bpf_u_int32)udp_port; in stringtoport()
6887 bpf_u_int32 *port1, bpf_u_int32 *port2, int *proto) in stringtoportrange()
6949 bpf_u_int32 mask, addr; in gen_scode()
6959 bpf_u_int32 port1, port2; in gen_scode()
7251 bpf_u_int32 masklen, struct qual q) in gen_mcode()
7254 bpf_u_int32 n, m; in gen_mcode()
7308 gen_ncode(compiler_state_t *cstate, const char *s, bpf_u_int32 v, struct qual q) in gen_ncode()
7310 bpf_u_int32 mask; in gen_ncode()
7430 gen_mcode6(compiler_state_t *cstate, const char *s, bpf_u_int32 masklen, in gen_mcode6()
7437 bpf_u_int32 a[4], m[4]; /* Same as in gen_hostop6(). */ in gen_mcode6()
7587 bpf_u_int32 size) in gen_load_internal()
7859 bpf_u_int32 size) in gen_load()
7955 gen_loadi_internal(compiler_state_t *cstate, bpf_u_int32 val) in gen_loadi_internal()
7976 gen_loadi(compiler_state_t *cstate, bpf_u_int32 val) in gen_loadi()
8172 gen_byteop(compiler_state_t *cstate, int op, int idx, bpf_u_int32 val) in gen_byteop()
8220 bpf_u_int32 hostmask; in gen_broadcast()
8765 (bpf_u_int32)rnr); in gen_pf_rnr()
8788 (bpf_u_int32)srnr); in gen_pf_srnr()
8811 (bpf_u_int32)reason); in gen_pf_reason()
8834 (bpf_u_int32)action); in gen_pf_action()
8840 gen_p80211_type(compiler_state_t *cstate, bpf_u_int32 type, bpf_u_int32 mask) in gen_p80211_type()
8869 gen_p80211_fcdir(compiler_state_t *cstate, bpf_u_int32 fcdir) in gen_p80211_fcdir()
9005 gen_vlan_vid_test(compiler_state_t *cstate, bpf_u_int32 vlan_num) in gen_vlan_vid_test()
9015 gen_vlan_no_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, in gen_vlan_no_bpf_extensions()
9042 bpf_u_int32 v, struct slist *s) in gen_vlan_vloffset_add()
9131 gen_vlan_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, in gen_vlan_bpf_extensions()
9178 gen_vlan(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) in gen_vlan()
9276 gen_mpls(compiler_state_t *cstate, bpf_u_int32 label_num_arg, in gen_mpls()
9279 volatile bpf_u_int32 label_num = label_num_arg; in gen_mpls()
9373 gen_pppoes(compiler_state_t *cstate, bpf_u_int32 sess_num, int has_sess_num) in gen_pppoes()
9436 enum e_offrel offrel, bpf_u_int32 vni, int has_vni) in gen_geneve_check()
9469 gen_geneve4(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) in gen_geneve4()
9495 gen_geneve6(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) in gen_geneve6()
9673 gen_geneve(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) in gen_geneve()
9738 bpf_u_int32 jvalue, int jtype, int reverse) in gen_atmfield_code_internal()
9825 bpf_u_int32 jvalue, int jtype, int reverse) in gen_atmfield_code()
10034 bpf_u_int32 jvalue_arg, int jtype, int reverse) in gen_mtp3field_code()
10036 volatile bpf_u_int32 jvalue = jvalue_arg; in gen_mtp3field_code()
10038 bpf_u_int32 val1 , val2 , val3; in gen_mtp3field_code()