Home
last modified time | relevance | path

Searched refs:BPF_B (Results 1 – 25 of 62) sorted by relevance

123

/external/strace/xlat/
Dbpf_size.h20 #if defined(BPF_B) || (defined(HAVE_DECL_BPF_B) && HAVE_DECL_BPF_B)
22 static_assert((BPF_B) == (0x10), "BPF_B != 0x10");
25 # define BPF_B 0x10
47 XLAT(BPF_B),
Dbpf_size.in3 BPF_B 0x10
/external/strace/tests-m32/
Dsock_filter-v.c65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4),
66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8),
67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
Dnlattr_packet_diag_msg.c83 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PKTTYPE),
/external/strace/tests-mx32/
Dsock_filter-v.c65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4),
66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8),
67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
Dnlattr_packet_diag_msg.c83 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PKTTYPE),
/external/strace/tests/
Dsock_filter-v.c65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4),
66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8),
67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
Dnlattr_packet_diag_msg.c83 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PKTTYPE),
/external/libpcap/
Dgencode.c1001 tmp = gen_cmp(cstate, offrel, offset, BPF_B, (bpf_int32)v[0]); in gen_bcmp()
1765 s2 = new_stmt(cstate, BPF_LD|BPF_IND|BPF_B); in gen_loadx_iphdrlen()
1796 s = new_stmt(cstate, BPF_LDX|BPF_MSH|BPF_B); in gen_loadx_iphdrlen()
1908 b0 = gen_cmp(cstate, OR_LLC, 0, BPF_B, (bpf_int32)LLCSAP_IPX); in gen_ether_linktype()
1997 b1 = gen_cmp(cstate, OR_LINKTYPE, 2, BPF_B, (bpf_int32)proto); in gen_ether_linktype()
2061 return gen_cmp(cstate, OR_LINKTYPE, 0, BPF_B, (bpf_int32)IPH_AF_INET); in gen_ipnet_linktype()
2065 return gen_cmp(cstate, OR_LINKTYPE, 0, BPF_B, in gen_ipnet_linktype()
2138 b0 = gen_cmp(cstate, OR_LLC, 0, BPF_B, (bpf_int32)LLCSAP_IPX); in gen_linux_sll_linktype()
2211 b1 = gen_cmp(cstate, OR_LINKHDR, cstate->off_linkpl.constant_part, BPF_B, in gen_linux_sll_linktype()
2404 s1 = new_stmt(cstate, BPF_LD|BPF_B|BPF_ABS); in gen_load_radiotap_llprefixlen()
[all …]
Dbpf_image.c76 case BPF_LD|BPF_B|BPF_ABS: in bpf_image()
99 case BPF_LD|BPF_B|BPF_IND: in bpf_image()
117 case BPF_LDX|BPF_MSH|BPF_B: in bpf_image()
Dbpf_filter.c162 case BPF_LD|BPF_B|BPF_ABS: in bpf_filter_with_aux_data()
214 case BPF_LD|BPF_B|BPF_IND: in bpf_filter_with_aux_data()
222 case BPF_LDX|BPF_MSH|BPF_B: in bpf_filter_with_aux_data()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c117 insn[i++] = BPF_LD_ABS(BPF_B, 0); in bpf_fill_ld_abs_vlan_push_pop()
130 insn[i++] = BPF_LD_ABS(BPF_B, 0); in bpf_fill_ld_abs_vlan_push_pop()
154 insn[i++] = BPF_LD_ABS(BPF_B, 0); in bpf_fill_jump_around_ld_abs()
158 insn[i++] = BPF_LD_ABS(BPF_B, 1); in bpf_fill_jump_around_ld_abs()
982 BPF_ST_MEM(BPF_B, BPF_REG_10, -7, 0x23),
994 BPF_STX_MEM(BPF_B, BPF_REG_10, -1, -1),
1003 BPF_STX_MEM(BPF_B, 14, BPF_REG_10, -1),
1012 BPF_ST_MEM(BPF_B, 14, -1, -1),
1021 BPF_LDX_MEM(BPF_B, BPF_REG_0, 12, 0),
1030 BPF_LDX_MEM(BPF_B, 11, BPF_REG_1, 0),
[all …]
Dtest_align.c162 BPF_LDX_MEM(BPF_B, DST_REG, BPF_REG_2, 0)
243 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 0),
244 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 1),
245 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 2),
246 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 3),
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c180 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2),
184 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3),
197 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0),
224 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0),
231 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 1),
241 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0),
/external/libnetfilter_conntrack/src/conntrack/
Dbsf.c37 case BPF_LD|BPF_B|BPF_ABS:
61 case BPF_LD|BPF_B|BPF_IND:
129 .code = BPF_LD|BPF_B|BPF_ABS, in nfct_bsf_find_attr()
149 .code = BPF_LD|BPF_B|BPF_ABS, in nfct_bsf_find_attr_nest()
303 .code = BPF_LD|BPF_B|BPF_IND, in bsf_cmp_subsys()
354 j += nfct_bsf_load_attr(this, BPF_B, j); in add_state_filter_cta()
466 j += nfct_bsf_load_attr(this, BPF_B, j); in bsf_add_proto_filter()
/external/elfutils/libcpu/
Dbpf_disasm.c396 case BPF_LDX | BPF_MEM | BPF_B: in bpf_disasm()
409 case BPF_STX | BPF_MEM | BPF_B: in bpf_disasm()
429 case BPF_ST | BPF_MEM | BPF_B: in bpf_disasm()
442 case BPF_LD | BPF_ABS | BPF_B: in bpf_disasm()
452 case BPF_LD | BPF_IND | BPF_B: in bpf_disasm()
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h20 #define BPF_B 0x10 /* 8-bit */ macro
/external/bcc/src/cc/compat/linux/
Dbpf_common.h19 #define BPF_B 0x10 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h20 #define BPF_B 0x10 macro
/external/elfutils/lib/
Dbpf.h33 #define BPF_B 0x10 macro
/external/iptables/include/linux/
Dfilter.h53 #define BPF_B 0x10 macro
/external/libpcap/pcap/
Dbpf.h139 #define BPF_B 0x10 macro
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c115 BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf()
154 { BPF_LD | BPF_B | BPF_ABS, 0, 0, 0, 0x50 }, in sock_fanout_set_ebpf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFInstrInfo.td364 def STB : STOREi64<BPF_B, "u8", truncstorei8>;
391 def LDB : LOADi64<BPF_B, "u8", zextloadi8>;
626 def LD_ABS_B : LOAD_ABS<BPF_B, "u8", int_bpf_load_byte>;
630 def LD_IND_B : LOAD_IND<BPF_B, "u8", int_bpf_load_byte>;
675 def STB32 : STOREi32<BPF_B, "u8", truncstorei8>;
699 def LDB32 : LOADi32<BPF_B, "u8", zextloadi8>;
DBPFInstrFormats.td78 def BPF_B : BPFWidthModifer<0x2>;

123