• Home
  • Raw
  • Download

Lines Matching refs:gen_mcmp

477 static struct block *gen_mcmp(compiler_state_t *, enum e_offrel, u_int,
953 gen_mcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, in gen_mcmp() function
3117 return gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, 0x40, 0xF0); in gen_linktype()
3121 return gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, 0x60, 0xF0); in gen_linktype()
3418 …return gen_mcmp(cstate, OR_LINKHDR, 0, BPF_W, 0x4d474300, 0xffffff00); /* compare the magic number… in gen_linktype()
3421 return gen_mcmp(cstate, OR_LINKHDR, 0, BPF_W, 0x55FF0000, 0xffff0000); in gen_linktype()
3653 b1 = gen_mcmp(cstate, OR_LLC, 2, BPF_B, LLC_S_FMT, 0x03); in gen_llc_s()
3672 b1 = gen_mcmp(cstate, OR_LLC, 2, BPF_B, LLC_U_FMT, 0x03); in gen_llc_u()
3690 b1 = gen_mcmp(cstate, OR_LLC, 2, BPF_B, subtype, LLC_S_CMD_MASK); in gen_llc_s_subtype()
3708 b1 = gen_mcmp(cstate, OR_LLC, 2, BPF_B, subtype, LLC_U_CMD_MASK); in gen_llc_u_subtype()
3834 b1 = gen_mcmp(cstate, OR_LINKPL, offset, BPF_W, (bpf_int32)addr, mask); in gen_hostop()
3877 b1 = gen_mcmp(cstate, OR_LINKPL, offset + 12, BPF_W, ntohl(a[3]), ntohl(m[3])); in gen_hostop6()
3878 b0 = gen_mcmp(cstate, OR_LINKPL, offset + 8, BPF_W, ntohl(a[2]), ntohl(m[2])); in gen_hostop6()
3880 b0 = gen_mcmp(cstate, OR_LINKPL, offset + 4, BPF_W, ntohl(a[1]), ntohl(m[1])); in gen_hostop6()
3882 b0 = gen_mcmp(cstate, OR_LINKPL, offset + 0, BPF_W, ntohl(a[0]), ntohl(m[0])); in gen_hostop6()
4377 b0 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL, in gen_wlanhostop()
4380 b1 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_CTS, in gen_wlanhostop()
4383 b2 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_ACK, in gen_wlanhostop()
4422 b0 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL, in gen_wlanhostop()
4425 b1 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_CTS, in gen_wlanhostop()
4428 b2 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_SUBTYPE_ACK, in gen_wlanhostop()
4441 b0 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, IEEE80211_FC0_TYPE_CTL, in gen_wlanhostop()
4455 b0 = gen_mcmp(cstate, OR_LINKHDR, 1, BPF_B, in gen_wlanhostop()
4596 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_H, in gen_dnhostop()
4602 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_B, (bpf_int32)0x06, (bpf_int32)0x7); in gen_dnhostop()
4607 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_H, in gen_dnhostop()
4613 tmp = gen_mcmp(cstate, OR_LINKPL, 2, BPF_B, (bpf_int32)0x02, (bpf_int32)0x7); in gen_dnhostop()
4637 b0 = gen_mcmp(cstate, OR_LINKPL, -2, BPF_B, 0x01, 0x01); in gen_mpls_linktype()
4639 b1 = gen_mcmp(cstate, OR_LINKPL, 0, BPF_B, 0x40, 0xf0); in gen_mpls_linktype()
4645 b0 = gen_mcmp(cstate, OR_LINKPL, -2, BPF_B, 0x01, 0x01); in gen_mpls_linktype()
4647 b1 = gen_mcmp(cstate, OR_LINKPL, 0, BPF_B, 0x60, 0xf0); in gen_mpls_linktype()
7325 b1 = gen_mcmp(cstate, OR_LINKPL, 16, BPF_W, (bpf_int32)0, hostmask); in gen_broadcast()
7326 b2 = gen_mcmp(cstate, OR_LINKPL, 16, BPF_W, in gen_broadcast()
7621 b0 = gen_mcmp(cstate, OR_LINKHDR, 3, BPF_B, 0, 0x01); in gen_inbound()
7624 b0 = gen_mcmp(cstate, OR_LINKHDR, 3, BPF_B, 1, 0x01); in gen_inbound()
7835 b0 = gen_mcmp(cstate, OR_LINKHDR, 0, BPF_B, (bpf_int32)type, in gen_p80211_type()
7865 b0 = gen_mcmp(cstate, OR_LINKHDR, 1, BPF_B, (bpf_int32)fcdir, in gen_p80211_fcdir()
7998 b1 = gen_mcmp(cstate, OR_LINKPL, 0, BPF_H, in gen_vlan_no_bpf_extensions()
8113 b0 = gen_mcmp(cstate, OR_PREVMPLSHDR, 2, BPF_B, 0, 0x01); in gen_mpls()
8148 b1 = gen_mcmp(cstate, OR_LINKPL, 0, BPF_W, (bpf_int32)label_num, in gen_mpls()
8196 b1 = gen_mcmp(cstate, OR_LINKPL, 0, BPF_W, in gen_pppoes()
8268 b1 = gen_mcmp(cstate, offrel, 8, BPF_B, (bpf_int32)0, 0xc0); in gen_geneve_check()
8274 b1 = gen_mcmp(cstate, offrel, 12, BPF_W, (bpf_int32)vni, in gen_geneve_check()