Home
last modified time | relevance | path

Searched refs:nla_stgs (Results 1 – 1 of 1) sorted by relevance

/net/core/
Dbpf_sk_storage.c510 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs) in bpf_sk_storage_diag_alloc() argument
523 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
535 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
614 struct nlattr *nla_stgs; in bpf_sk_storage_diag_put_all() local
626 nla_stgs = nla_nest_start(skb, stg_array_type); in bpf_sk_storage_diag_put_all()
627 if (!nla_stgs) in bpf_sk_storage_diag_put_all()
636 if (nla_stgs && diag_get(SDATA(selem), skb)) in bpf_sk_storage_diag_put_all()
643 if (nla_stgs) { in bpf_sk_storage_diag_put_all()
645 nla_nest_cancel(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
647 nla_nest_end(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
[all …]