/dports/net-mgmt/nitpicker/nitpicker-1.2.1/src/ |
H A D | config.c | 26 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 D | config.h | 33 uint32 bpf_size; member
|
H A D | nitpicker.c | 91 bpf_init( cfg->bpf_size, cfg->bpf_timeout ); in kerl()
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/ |
H A D | filter.h | 403 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 D | filter.h | 403 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 D | filter.h | 403 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 D | act_bpf.c | 191 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 D | cls_bpf.c | 343 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 D | act_bpf.c | 191 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 D | cls_bpf.c | 343 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 D | act_bpf.c | 191 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 D | cls_bpf.c | 343 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 D | bpf.h | 62 size_t bpf_size; member
|
H A D | bpf.c | 223 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 D | if-linux.c | 1727 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 D | bpf_jit_comp.c | 72 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 D | bpf_jit_comp32.c | 1171 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 D | bpf_jit_comp.c | 72 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 D | bpf_jit_comp32.c | 1171 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 D | bpf_jit_comp.c | 72 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 D | bpf_jit_comp32.c | 1171 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 D | dso.c | 765 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 D | dso.c | 765 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 D | dso.c | 765 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 D | packet-rpcap.c | 295 static const value_string bpf_size[] = { variable 1474 VALS(bpf_size), 0x18, NULL, HFILL } }, in proto_register_rpcap()
|