Searched refs:bpf_ops (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/net/tc_act/
H A Dtc_bpf.h19 struct sock_filter *bpf_ops; member in struct:tcf_bpf
/linux-master/net/sched/
H A Dact_bpf.c27 struct sock_filter *bpf_ops; member in struct:tcf_bpf_cfg
96 return !prog->bpf_ops;
112 memcpy(nla_data(nla), prog->bpf_ops, nla_len(nla));
189 struct sock_filter *bpf_ops; local
199 bpf_size = bpf_num_ops * sizeof(*bpf_ops);
203 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL);
204 if (bpf_ops == NULL)
208 fprog_tmp.filter = bpf_ops;
212 kfree(bpf_ops);
216 cfg->bpf_ops
[all...]
H A Dcls_bpf.c48 struct sock_filter *bpf_ops; member in struct:cls_bpf_prog
142 return !prog->bpf_ops;
266 kfree(prog->bpf_ops);
341 struct sock_filter *bpf_ops; local
351 bpf_size = bpf_num_ops * sizeof(*bpf_ops);
355 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL);
356 if (bpf_ops == NULL)
360 fprog_tmp.filter = bpf_ops;
364 kfree(bpf_ops);
368 prog->bpf_ops
[all...]

Completed in 109 milliseconds