Lines Matching refs:nla
99 struct nlattr *nla; in tcf_bpf_dump_bpf_info() local
104 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info()
106 if (nla == NULL) in tcf_bpf_dump_bpf_info()
109 memcpy(nla_data(nla), prog->bpf_ops, nla_len(nla)); in tcf_bpf_dump_bpf_info()
117 struct nlattr *nla; in tcf_bpf_dump_ebpf_info() local
126 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); in tcf_bpf_dump_ebpf_info()
127 if (nla == NULL) in tcf_bpf_dump_ebpf_info()
130 memcpy(nla_data(nla), prog->filter->tag, nla_len(nla)); in tcf_bpf_dump_ebpf_info()
276 static int tcf_bpf_init(struct net *net, struct nlattr *nla, in tcf_bpf_init() argument
292 if (!nla) in tcf_bpf_init()
295 ret = nla_parse_nested_deprecated(tb, TCA_ACT_BPF_MAX, nla, in tcf_bpf_init()