Lines Matching defs:cstate

422 bpf_set_error(compiler_state_t *cstate, const char *fmt, ...)  in bpf_set_error()
452 bpf_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_error()
583 initchunks(compiler_state_t *cstate) in initchunks()
595 newchunk_nolongjmp(compiler_state_t *cstate, size_t n) in newchunk_nolongjmp()
635 newchunk(compiler_state_t *cstate, size_t n) in newchunk()
648 freechunks(compiler_state_t *cstate) in freechunks()
664 sdup(compiler_state_t *cstate, const char *s) in sdup()
676 new_block(compiler_state_t *cstate, int code) in new_block()
688 new_stmt(compiler_state_t *cstate, int code) in new_stmt()
699 gen_retblk(compiler_state_t *cstate, int v) in gen_retblk()
708 syntax(compiler_state_t *cstate) in syntax()
720 compiler_state_t cstate; in pcap_compile() local
944 finish_parse(compiler_state_t *cstate, struct block *p) in finish_parse()
1028 gen_cmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_cmp()
1035 gen_cmp_gt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_cmp_gt()
1042 gen_cmp_ge(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_cmp_ge()
1049 gen_cmp_lt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_cmp_lt()
1056 gen_cmp_le(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_cmp_le()
1063 gen_mcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_mcmp()
1070 gen_bcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_bcmp()
1112 gen_ncmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_ncmp()
1136 init_linktype(compiler_state_t *cstate, pcap_t *p) in init_linktype()
1734 gen_load_absoffsetrel(compiler_state_t *cstate, bpf_abs_offset *abs_offset, in gen_load_absoffsetrel()
1774 gen_load_a(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_load_a()
1865 gen_loadx_iphdrlen(compiler_state_t *cstate) in gen_loadx_iphdrlen()
1920 gen_uncond(compiler_state_t *cstate, int rsense) in gen_uncond()
1934 gen_true(compiler_state_t *cstate) in gen_true()
1940 gen_false(compiler_state_t *cstate) in gen_false()
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()
2347 gen_load_pflog_llprefixlen(compiler_state_t *cstate) in gen_load_pflog_llprefixlen()
2396 gen_load_prism_llprefixlen(compiler_state_t *cstate) in gen_load_prism_llprefixlen()
2506 gen_load_avs_llprefixlen(compiler_state_t *cstate) in gen_load_avs_llprefixlen()
2546 gen_load_radiotap_llprefixlen(compiler_state_t *cstate) in gen_load_radiotap_llprefixlen()
2616 gen_load_ppi_llprefixlen(compiler_state_t *cstate) in gen_load_ppi_llprefixlen()
2682 gen_load_802_11_header_len(compiler_state_t *cstate, struct slist *s, struct slist *snext) in gen_load_802_11_header_len()
2921 insert_compute_vloffsets(compiler_state_t *cstate, struct block *b) in insert_compute_vloffsets()
3023 gen_ppi_dlt_check(compiler_state_t *cstate) in gen_ppi_dlt_check()
3062 gen_abs_offset_varpart(compiler_state_t *cstate, bpf_abs_offset *off) in gen_abs_offset_varpart()
3147 gen_prevlinkhdr_check(compiler_state_t *cstate) in gen_prevlinkhdr_check()
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()
3717 gen_llc_internal(compiler_state_t *cstate) in gen_llc_internal()
3789 gen_llc(compiler_state_t *cstate) in gen_llc()
3802 gen_llc_i(compiler_state_t *cstate) in gen_llc_i()
3833 gen_llc_s(compiler_state_t *cstate) in gen_llc_s()
3859 gen_llc_u(compiler_state_t *cstate) in gen_llc_u()
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()
4021 gen_hostop(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, in gen_hostop()
4086 gen_hostop6(compiler_state_t *cstate, struct in6_addr *addr, in gen_hostop6()
4171 gen_ehostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ehostop()
4227 gen_fhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_fhostop()
4283 gen_thostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_thostop()
4340 gen_wlanhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_wlanhostop()
4764 gen_ipfchostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ipfchostop()
4835 gen_dnhostop(compiler_state_t *cstate, bpf_u_int32 addr, int dir) 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()
5118 gen_host6(compiler_state_t *cstate, struct in6_addr *addr, in gen_host6()
5259 gen_gateway(compiler_state_t *cstate, const u_char *eaddr, in gen_gateway()
5364 gen_proto_abbrev_internal(compiler_state_t *cstate, int proto) in gen_proto_abbrev_internal()
5592 gen_proto_abbrev(compiler_state_t *cstate, int proto) in gen_proto_abbrev()
5605 gen_ipfrag(compiler_state_t *cstate) in gen_ipfrag()
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()
5642 gen_portop(compiler_state_t *cstate, u_int port, u_int proto, int dir) in gen_portop()
5707 gen_port(compiler_state_t *cstate, u_int port, int ip_proto, int dir) in gen_port()
5753 gen_portop6(compiler_state_t *cstate, u_int port, u_int proto, int dir) in gen_portop6()
5792 gen_port6(compiler_state_t *cstate, u_int port, int ip_proto, int dir) in gen_port6()
5823 gen_portrangeatom(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, in gen_portrangeatom()
5848 gen_portrangeop(compiler_state_t *cstate, u_int port1, u_int port2, in gen_portrangeop()
5914 gen_portrange(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, in gen_portrange()
5946 gen_portrangeatom6(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, in gen_portrangeatom6()
5971 gen_portrangeop6(compiler_state_t *cstate, u_int port1, u_int port2, in gen_portrangeop6()
6011 gen_portrange6(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, in gen_portrange6()
6043 lookup_proto(compiler_state_t *cstate, const char *name, int proto) in lookup_proto()
6087 gen_protochain(compiler_state_t *cstate, bpf_u_int32 v, int proto) in gen_protochain()
6386 gen_check_802_11_data_frame(compiler_state_t *cstate) in gen_check_802_11_data_frame()
6421 gen_proto(compiler_state_t *cstate, bpf_u_int32 v, int proto, int dir) in gen_proto()
6675 nametoport(compiler_state_t *cstate, const char *name, int ipproto) in nametoport()
6774 stringtoport(compiler_state_t *cstate, const char *string, size_t string_size, in stringtoport()
6886 stringtoportrange(compiler_state_t *cstate, const char *string, in stringtoportrange()
6943 gen_scode(compiler_state_t *cstate, const char *name, struct qual q) in gen_scode()
7250 gen_mcode(compiler_state_t *cstate, const char *s1, const char *s2, in gen_mcode()
7308 gen_ncode(compiler_state_t *cstate, const char *s, bpf_u_int32 v, struct qual q) in gen_ncode()
7430 gen_mcode6(compiler_state_t *cstate, const char *s, bpf_u_int32 masklen, in gen_mcode6()
7492 gen_ecode(compiler_state_t *cstate, const char *s, struct qual q) in gen_ecode()
7559 xfer_to_x(compiler_state_t *cstate, struct arth *a) in xfer_to_x()
7569 xfer_to_a(compiler_state_t *cstate, struct arth *a) in xfer_to_a()
7586 gen_load_internal(compiler_state_t *cstate, int proto, struct arth *inst, in gen_load_internal()
7858 gen_load(compiler_state_t *cstate, int proto, struct arth *inst, in gen_load()
7872 gen_relation_internal(compiler_state_t *cstate, int code, struct arth *a0, in gen_relation_internal()
7916 gen_relation(compiler_state_t *cstate, int code, struct arth *a0, in gen_relation()
7930 gen_loadlen(compiler_state_t *cstate) in gen_loadlen()
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()
7994 gen_neg(compiler_state_t *cstate, struct arth *a_arg) in gen_neg()
8024 gen_arth(compiler_state_t *cstate, int code, struct arth *a0_arg, in gen_arth()
8077 init_regs(compiler_state_t *cstate) in init_regs()
8087 alloc_reg(compiler_state_t *cstate) in alloc_reg()
8108 free_reg(compiler_state_t *cstate, int n) in free_reg()
8114 gen_len(compiler_state_t *cstate, int jmp, int n) in gen_len()
8128 gen_greater(compiler_state_t *cstate, int n) in gen_greater()
8144 gen_less(compiler_state_t *cstate, int n) in gen_less()
8172 gen_byteop(compiler_state_t *cstate, int op, int idx, bpf_u_int32 val) in gen_byteop()
8218 gen_broadcast(compiler_state_t *cstate, int proto) in gen_broadcast()
8290 gen_mac_multicast(compiler_state_t *cstate, int offset) in gen_mac_multicast()
8304 gen_multicast(compiler_state_t *cstate, int proto) in gen_multicast()
8488 gen_ifindex(compiler_state_t *cstate, int ifindex) in gen_ifindex()
8543 gen_inbound(compiler_state_t *cstate, int dir) in gen_inbound()
8689 gen_pf_ifname(compiler_state_t *cstate, const char *ifname) in gen_pf_ifname()
8719 gen_pf_ruleset(compiler_state_t *cstate, char *ruleset) in gen_pf_ruleset()
8748 gen_pf_rnr(compiler_state_t *cstate, int rnr) in gen_pf_rnr()
8771 gen_pf_srnr(compiler_state_t *cstate, int srnr) in gen_pf_srnr()
8794 gen_pf_reason(compiler_state_t *cstate, int reason) in gen_pf_reason()
8817 gen_pf_action(compiler_state_t *cstate, int 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()
8900 gen_acode(compiler_state_t *cstate, const char *s, struct qual q) in gen_acode()
8935 gen_ahostop(compiler_state_t *cstate, const u_char *eaddr, int dir) in gen_ahostop()
8989 gen_vlan_tpid_test(compiler_state_t *cstate) in gen_vlan_tpid_test()
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()
9041 gen_vlan_vloffset_add(compiler_state_t *cstate, bpf_abs_offset *off, in gen_vlan_vloffset_add()
9067 gen_vlan_patch_tpid_test(compiler_state_t *cstate, struct block *b_tpid) in gen_vlan_patch_tpid_test()
9087 gen_vlan_patch_vid_test(compiler_state_t *cstate, struct block *b_vid) in gen_vlan_patch_vid_test()
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()
9359 gen_pppoed(compiler_state_t *cstate) in gen_pppoed()
9373 gen_pppoes(compiler_state_t *cstate, bpf_u_int32 sess_num, int has_sess_num) in gen_pppoes()
9434 gen_geneve_check(compiler_state_t *cstate, 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()
9538 gen_geneve_offsets(compiler_state_t *cstate) in gen_geneve_offsets()
9673 gen_geneve(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) in gen_geneve()
9710 gen_geneve_ll_check(compiler_state_t *cstate) in gen_geneve_ll_check()
9737 gen_atmfield_code_internal(compiler_state_t *cstate, int atmfield, in gen_atmfield_code_internal()
9792 gen_atmtype_metac(compiler_state_t *cstate) in gen_atmtype_metac()
9803 gen_atmtype_sc(compiler_state_t *cstate) in gen_atmtype_sc()
9814 gen_atmtype_llc(compiler_state_t *cstate) in gen_atmtype_llc()
9824 gen_atmfield_code(compiler_state_t *cstate, int atmfield, in gen_atmfield_code()
9839 gen_atmtype_abbrev(compiler_state_t *cstate, int type) in gen_atmtype_abbrev()
9946 gen_mtp2type_abbrev(compiler_state_t *cstate, int type) in gen_mtp2type_abbrev()
10033 gen_mtp3field_code(compiler_state_t *cstate, int mtp3field, in gen_mtp3field_code()
10143 gen_msg_abbrev(compiler_state_t *cstate, int type) in gen_msg_abbrev()
10184 gen_atmmulti_abbrev(compiler_state_t *cstate, int type) in gen_atmmulti_abbrev()