Lines Matching refs:bpf_num_ops
46 u16 bpf_num_ops;
343 u16 bpf_size, bpf_num_ops;
346 bpf_num_ops = nla_get_u16(tb[TCA_BPF_OPS_LEN]);
347 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0)
350 bpf_size = bpf_num_ops * sizeof(*bpf_ops);
358 fprog_tmp.len = bpf_num_ops;
368 prog->bpf_num_ops = bpf_num_ops;
547 if (nla_put_u16(skb, TCA_BPF_OPS_LEN, prog->bpf_num_ops))
550 nla = nla_reserve(skb, TCA_BPF_OPS, prog->bpf_num_ops *