Searched refs:bpf_num_ops (Results 1 – 3 of 3) sorted by relevance
29 u16 bpf_num_ops; member 102 if (nla_put_u16(skb, TCA_ACT_BPF_OPS_LEN, prog->bpf_num_ops)) in tcf_bpf_dump_bpf_info() 105 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info() 190 u16 bpf_size, bpf_num_ops; in tcf_bpf_init_from_ops() local 193 bpf_num_ops = nla_get_u16(tb[TCA_ACT_BPF_OPS_LEN]); in tcf_bpf_init_from_ops() 194 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in tcf_bpf_init_from_ops() 197 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops() 205 fprog_tmp.len = bpf_num_ops; in tcf_bpf_init_from_ops() 215 cfg->bpf_num_ops in tcf_bpf_init_from_ops() [all...]
47 u16 bpf_num_ops; member 344 u16 bpf_size, bpf_num_ops; in cls_bpf_prog_from_ops() local 347 bpf_num_ops = nla_get_u16(tb[TCA_BPF_OPS_LEN]); in cls_bpf_prog_from_ops() 348 if (bpf_num_ops > BPF_MAXINSNS || bpf_num_ops == 0) in cls_bpf_prog_from_ops() 351 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops() 359 fprog_tmp.len = bpf_num_ops; in cls_bpf_prog_from_ops() 369 prog->bpf_num_ops = bpf_num_ops; in cls_bpf_prog_from_ops() 559 if (nla_put_u16(skb, TCA_BPF_OPS_LEN, prog->bpf_num_ops)) in cls_bpf_dump_bpf_info() [all...]
17 u16 bpf_num_ops; member