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

/linux-master/include/net/tc_act/
H A Dtc_bpf.h17 u16 bpf_num_ops; member in union:tcf_bpf::__anon1493
/linux-master/net/sched/
H A Dact_bpf.c29 u16 bpf_num_ops; member in struct:tcf_bpf_cfg
104 if (nla_put_u16(skb, TCA_ACT_BPF_OPS_LEN, prog->bpf_num_ops))
107 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops *
192 u16 bpf_size, bpf_num_ops; local
195 bpf_num_ops = nla_get_u16(tb[TCA_ACT_BPF_OPS_LEN]);
196 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0)
199 bpf_size = bpf_num_ops * sizeof(*bpf_ops);
207 fprog_tmp.len = bpf_num_ops;
217 cfg->bpf_num_ops
[all...]
H A Dcls_bpf.c47 u16 bpf_num_ops; member in struct:cls_bpf_prog
344 u16 bpf_size, bpf_num_ops; local
347 bpf_num_ops = nla_get_u16(tb[TCA_BPF_OPS_LEN]);
348 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0)
351 bpf_size = bpf_num_ops * sizeof(*bpf_ops);
359 fprog_tmp.len = bpf_num_ops;
369 prog->bpf_num_ops = bpf_num_ops;
543 if (nla_put_u16(skb, TCA_BPF_OPS_LEN, prog->bpf_num_ops))
[all...]

Completed in 111 milliseconds