Home
last modified time | relevance | path

Searched refs:bpf_size (Results 1 – 25 of 31) sorted by relevance

12

/dports/net-mgmt/nitpicker/nitpicker-1.2.1/src/
H A Dconfig.c26 cfg->bpf_size = BPFSIZE; in config_init()
60 cfg->bpf_size = atoi( env ); in config_init()
163 printf("NITPICKER_BPFSIZE=%lu\n", cfg->bpf_size ); in config_dump()
H A Dconfig.h33 uint32 bpf_size; member
H A Dnitpicker.c91 bpf_init( cfg->bpf_size, cfg->bpf_timeout ); in kerl()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dfilter.h403 int bpf_size = -EINVAL; \
406 bpf_size = BPF_B; \
408 bpf_size = BPF_H; \
410 bpf_size = BPF_W; \
412 bpf_size = BPF_DW; \
414 bpf_size; \
417 #define bpf_size_to_bytes(bpf_size) \ argument
421 if (bpf_size == BPF_B) \
423 else if (bpf_size == BPF_H) \
425 else if (bpf_size == BPF_W) \
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dfilter.h403 int bpf_size = -EINVAL; \
406 bpf_size = BPF_B; \
408 bpf_size = BPF_H; \
410 bpf_size = BPF_W; \
412 bpf_size = BPF_DW; \
414 bpf_size; \
417 #define bpf_size_to_bytes(bpf_size) \ argument
421 if (bpf_size == BPF_B) \
423 else if (bpf_size == BPF_H) \
425 else if (bpf_size == BPF_W) \
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dfilter.h403 int bpf_size = -EINVAL; \
406 bpf_size = BPF_B; \
408 bpf_size = BPF_H; \
410 bpf_size = BPF_W; \
412 bpf_size = BPF_DW; \
414 bpf_size; \
417 #define bpf_size_to_bytes(bpf_size) \ argument
421 if (bpf_size == BPF_B) \
423 else if (bpf_size == BPF_H) \
425 else if (bpf_size == BPF_W) \
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/sched/
H A Dact_bpf.c191 u16 bpf_size, bpf_num_ops; in tcf_bpf_init_from_ops() local
198 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()
199 if (bpf_size != nla_len(tb[TCA_ACT_BPF_OPS])) in tcf_bpf_init_from_ops()
202 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL); in tcf_bpf_init_from_ops()
H A Dcls_bpf.c343 u16 bpf_size, bpf_num_ops; in cls_bpf_prog_from_ops() local
350 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()
351 if (bpf_size != nla_len(tb[TCA_BPF_OPS])) in cls_bpf_prog_from_ops()
354 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL); in cls_bpf_prog_from_ops()
/dports/multimedia/libv4l/linux-5.13-rc2/net/sched/
H A Dact_bpf.c191 u16 bpf_size, bpf_num_ops; in tcf_bpf_init_from_ops() local
198 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()
199 if (bpf_size != nla_len(tb[TCA_ACT_BPF_OPS])) in tcf_bpf_init_from_ops()
202 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL); in tcf_bpf_init_from_ops()
H A Dcls_bpf.c343 u16 bpf_size, bpf_num_ops; in cls_bpf_prog_from_ops() local
350 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()
351 if (bpf_size != nla_len(tb[TCA_BPF_OPS])) in cls_bpf_prog_from_ops()
354 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL); in cls_bpf_prog_from_ops()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/sched/
H A Dact_bpf.c191 u16 bpf_size, bpf_num_ops; in tcf_bpf_init_from_ops() local
198 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()
199 if (bpf_size != nla_len(tb[TCA_ACT_BPF_OPS])) in tcf_bpf_init_from_ops()
202 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL); in tcf_bpf_init_from_ops()
H A Dcls_bpf.c343 u16 bpf_size, bpf_num_ops; in cls_bpf_prog_from_ops() local
350 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()
351 if (bpf_size != nla_len(tb[TCA_BPF_OPS])) in cls_bpf_prog_from_ops()
354 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL); in cls_bpf_prog_from_ops()
/dports/net/dhcpcd/dhcpcd-9.4.1/src/
H A Dbpf.h62 size_t bpf_size; member
H A Dbpf.c223 bpf->bpf_size = (size_t)ibuf_len; in bpf_open()
224 bpf->bpf_buffer = malloc(bpf->bpf_size); in bpf_open()
249 bpf->bpf_size); in bpf_read()
H A Dif-linux.c1727 bpf->bpf_size = ETH_DATA_LEN; in bpf_open()
1728 bpf->bpf_buffer = malloc(bpf->bpf_size); in bpf_open()
1781 .iov_len = bpf->bpf_size, in bpf_read()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/x86/net/
H A Dbpf_jit_comp.c72 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
74 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
76 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
78 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
80 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
799 u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) in emit_atomic() argument
806 maybe_emit_mod(&prog, dst_reg, src_reg, bpf_size == BPF_DW); in emit_atomic()
H A Dbpf_jit_comp32.c1171 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
1173 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
1175 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
1177 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
1179 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/x86/net/
H A Dbpf_jit_comp.c72 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
74 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
76 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
78 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
80 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
799 u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) in emit_atomic() argument
806 maybe_emit_mod(&prog, dst_reg, src_reg, bpf_size == BPF_DW); in emit_atomic()
H A Dbpf_jit_comp32.c1171 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
1173 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
1175 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
1177 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
1179 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/x86/net/
H A Dbpf_jit_comp.c72 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
74 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
76 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
78 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
80 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
799 u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) in emit_atomic() argument
806 maybe_emit_mod(&prog, dst_reg, src_reg, bpf_size == BPF_DW); in emit_atomic()
H A Dbpf_jit_comp32.c1171 static int bpf_size_to_x86_bytes(int bpf_size) in bpf_size_to_x86_bytes() argument
1173 if (bpf_size == BPF_W) in bpf_size_to_x86_bytes()
1175 else if (bpf_size == BPF_H) in bpf_size_to_x86_bytes()
1177 else if (bpf_size == BPF_B) in bpf_size_to_x86_bytes()
1179 else if (bpf_size == BPF_DW) in bpf_size_to_x86_bytes()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/perf/util/
H A Ddso.c765 static int bpf_size(struct dso *dso) in bpf_size() function
1036 return bpf_size(dso); in dso__data_file_size()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/perf/util/
H A Ddso.c765 static int bpf_size(struct dso *dso) in bpf_size() function
1036 return bpf_size(dso); in dso__data_file_size()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/perf/util/
H A Ddso.c765 static int bpf_size(struct dso *dso) in bpf_size() function
1036 return bpf_size(dso); in dso__data_file_size()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-rpcap.c295 static const value_string bpf_size[] = { variable
1474 VALS(bpf_size), 0x18, NULL, HFILL } }, in proto_register_rpcap()

12