• Home
  • Raw
  • Download

Lines Matching refs:BPF_B

758 		tmp = gen_cmp(offrel, offset, BPF_B, (bpf_int32)v[0]);
1661 s2 = new_stmt(BPF_LD|BPF_IND|BPF_B); in gen_loadx_iphdrlen()
1692 s = new_stmt(BPF_LDX|BPF_MSH|BPF_B); in gen_loadx_iphdrlen()
1805 b0 = gen_cmp(OR_LLC, 0, BPF_B, (bpf_int32)LLCSAP_IPX);
1894 b1 = gen_cmp(OR_LINKTYPE, 2, BPF_B, (bpf_int32)proto);
1924 return gen_cmp(OR_LINKTYPE, 0, BPF_B, (bpf_int32)IPH_AF_INET);
1928 return gen_cmp(OR_LINKTYPE, 0, BPF_B,
2002 b0 = gen_cmp(OR_LLC, 0, BPF_B, (bpf_int32)LLCSAP_IPX);
2075 b1 = gen_cmp(OR_LINKHDR, off_linkpl.constant_part, BPF_B,
2268 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_load_radiotap_llprefixlen()
2280 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_load_radiotap_llprefixlen()
2336 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_load_ppi_llprefixlen()
2348 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_load_ppi_llprefixlen()
2447 s2 = new_stmt(BPF_LD|BPF_IND|BPF_B); in gen_load_802_11_header_len()
2540 sjset_radiotap_tsft->s.jt = s2 = new_stmt(BPF_LD|BPF_ABS|BPF_B); in gen_load_802_11_header_len()
2556 sjset_radiotap_tsft->s.jf = s2 = new_stmt(BPF_LD|BPF_ABS|BPF_B); in gen_load_802_11_header_len()
2969 return gen_mcmp(OR_LINKHDR, 0, BPF_B, 0x40, 0xF0);
2973 return gen_mcmp(OR_LINKHDR, 0, BPF_B, 0x60, 0xF0);
3118 BPF_B, (bpf_int32)AF_INET));
3121 BPF_B, (bpf_int32)AF_INET6));
3140 return (gen_cmp(OR_LINKTYPE, 0, BPF_B,
3144 b0 = gen_cmp(OR_LINKTYPE, 0, BPF_B,
3146 b1 = gen_cmp(OR_LINKTYPE, 0, BPF_B,
3152 b0 = gen_cmp(OR_LINKTYPE, 0, BPF_B,
3154 b1 = gen_cmp(OR_LINKTYPE, 0, BPF_B,
3160 return (gen_cmp(OR_LINKTYPE, 0, BPF_B,
3164 return (gen_cmp(OR_LINKTYPE, 0, BPF_B,
3470 s = gen_load_a(OR_LLC, 2, BPF_B); in gen_llc_i()
3493 b1 = gen_mcmp(OR_LLC, 2, BPF_B, LLC_S_FMT, 0x03); in gen_llc_s()
3512 b1 = gen_mcmp(OR_LLC, 2, BPF_B, LLC_U_FMT, 0x03); in gen_llc_u()
3530 b1 = gen_mcmp(OR_LLC, 2, BPF_B, subtype, LLC_S_CMD_MASK); in gen_llc_s_subtype()
3548 b1 = gen_mcmp(OR_LLC, 2, BPF_B, subtype, LLC_U_CMD_MASK); in gen_llc_u_subtype()
3590 return gen_cmp(OR_LLC, 0, BPF_B,
3615 return gen_cmp(OR_LLC, 0, BPF_B, (bpf_int32)proto);
3957 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
3972 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
3995 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
4004 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
4027 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4042 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4069 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4104 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
4119 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
4141 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4156 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4183 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4207 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4232 b0 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL,
4235 b1 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_CTS,
4238 b2 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_ACK,
4249 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
4277 b0 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL,
4280 b1 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_CTS,
4283 b2 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_ACK,
4296 b0 = gen_mcmp(OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL,
4310 b0 = gen_mcmp(OR_LINKHDR, 1, BPF_B,
4461 tmp = gen_mcmp(OR_LINKPL, 2, BPF_B, (bpf_int32)0x06, (bpf_int32)0x7);
4472 tmp = gen_mcmp(OR_LINKPL, 2, BPF_B, (bpf_int32)0x02, (bpf_int32)0x7);
4497 b0 = gen_mcmp(OR_LINKPL, -2, BPF_B, 0x01, 0x01);
4499 b1 = gen_mcmp(OR_LINKPL, 0, BPF_B, 0x40, 0xf0);
4505 b0 = gen_mcmp(OR_LINKPL, -2, BPF_B, 0x01, 0x01);
4507 b1 = gen_mcmp(OR_LINKPL, 0, BPF_B, 0x60, 0xf0);
5132 tmp = gen_cmp(OR_LINKPL, 9, BPF_B, (bpf_int32)proto);
5223 b0 = gen_cmp(OR_LINKPL, 6, BPF_B, (bpf_int32)proto);
5324 tmp = gen_cmp(OR_LINKPL, 9, BPF_B, (bpf_int32)proto);
5427 b0 = gen_cmp(OR_LINKPL, 6, BPF_B, (bpf_int32)proto);
5610 s[i] = new_stmt(BPF_LD|BPF_ABS|BPF_B);
5614 s[i] = new_stmt(BPF_LDX|BPF_MSH|BPF_B);
5623 s[i] = new_stmt(BPF_LD|BPF_ABS|BPF_B);
5699 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
5707 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
5768 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
5786 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
5851 s = gen_load_a(OR_LINKHDR, 0, BPF_B); in gen_check_802_11_data_frame()
5856 s = gen_load_a(OR_LINKHDR, 0, BPF_B); in gen_check_802_11_data_frame()
5915 b1 = gen_cmp(OR_LINKPL, 9, BPF_B, (bpf_int32)v);
5955 b1 = gen_cmp(OR_LINKPL_NOSNAP, 1, BPF_B, (long)v);
5961 b1 = gen_cmp(OR_LINKPL_NOSNAP, 0, BPF_B, (long)v);
5972 b1 = gen_cmp(OR_LINKPL_NOSNAP, 4, BPF_B, (long)v);
6054 b2 = gen_cmp(OR_LINKPL, 6, BPF_B, IPPROTO_FRAGMENT);
6055 b1 = gen_cmp(OR_LINKPL, 40, BPF_B, (bpf_int32)v);
6057 b2 = gen_cmp(OR_LINKPL, 6, BPF_B, (bpf_int32)v);
6712 size = BPF_B;
7157 return gen_cmp(OR_LINKHDR, (u_int)idx, BPF_B, (bpf_int32)val);
7160 b = gen_cmp_lt(OR_LINKHDR, (u_int)idx, BPF_B, (bpf_int32)val);
7164 b = gen_cmp_gt(OR_LINKHDR, (u_int)idx, BPF_B, (bpf_int32)val);
7260 s = gen_load_a(OR_LINKHDR, offset, BPF_B);
7329 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
7344 s = gen_load_a(OR_LINKHDR, 1, BPF_B);
7366 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
7381 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
7408 s = gen_load_a(OR_LINKHDR, 0, BPF_B);
7431 b1 = gen_cmp_ge(OR_LINKPL, 16, BPF_B, (bpf_int32)224);
7437 b1 = gen_cmp(OR_LINKPL, 24, BPF_B, (bpf_int32)255);
7493 b0 = gen_cmp(OR_LINKHDR, offsetof(struct pfloghdr, dir), BPF_B,
7501 b0 = gen_cmp(OR_LINKHDR, 0, BPF_B, PPP_PPPD_OUT);
7504 b0 = gen_cmp(OR_LINKHDR, 0, BPF_B, PPP_PPPD_IN);
7535 b0 = gen_mcmp(OR_LINKHDR, 3, BPF_B, 0, 0x01);
7538 b0 = gen_mcmp(OR_LINKHDR, 3, BPF_B, 1, 0x01);
7667 b0 = gen_cmp(OR_LINKHDR, offsetof(struct pfloghdr, reason), BPF_B, in gen_pf_reason()
7683 b0 = gen_cmp(OR_LINKHDR, offsetof(struct pfloghdr, action), BPF_B, in gen_pf_action()
7749 b0 = gen_mcmp(OR_LINKHDR, 0, BPF_B, (bpf_int32)type, in gen_p80211_type()
7779 b0 = gen_mcmp(OR_LINKHDR, 1, BPF_B, (bpf_int32)fcdir, in gen_p80211_fcdir()
7877 s = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_vlan_bpf_extensions()
7885 s = new_stmt(BPF_LD|BPF_B|BPF_ABS); in gen_vlan_bpf_extensions()
8030 b0 = gen_mcmp(OR_PREVMPLSHDR, 2, BPF_B, 0, 0x01);
8185 b1 = gen_mcmp(offrel, 8, BPF_B, (bpf_int32)0, 0xc0); in gen_geneve_check()
8308 s1 = new_stmt(BPF_LD|BPF_IND|BPF_B); in gen_geneve_offsets()
8482 b0 = gen_ncmp(OR_LINKHDR, off_vpi, BPF_B, 0xffffffff, jtype,
8498 b0 = gen_ncmp(OR_LINKHDR, off_proto, BPF_B, 0x0f, jtype,
8505 b0 = gen_ncmp(OR_LINKHDR, off_payload + MSG_TYPE_POS, BPF_B,
8514 b0 = gen_ncmp(OR_LINKHDR, off_proto, BPF_B, 0xffffffff,
8644 b0 = gen_ncmp(OR_PACKET, off_li, BPF_B, 0x3f, BPF_JEQ, 0, 0);
8652 b0 = gen_ncmp(OR_PACKET, off_li, BPF_B, 0x3f, BPF_JGT, 1, 2);
8653 b1 = gen_ncmp(OR_PACKET, off_li, BPF_B, 0x3f, BPF_JGT, 0, 0);
8662 b0 = gen_ncmp(OR_PACKET, off_li, BPF_B, 0x3f, BPF_JGT, 0, 2);
8725 b0 = gen_ncmp(OR_PACKET, newoff_sio, BPF_B, 0xffffffff,
8785 b0 = gen_ncmp(OR_PACKET, newoff_sls, BPF_B, 0xf0,