Home
last modified time | relevance | path

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

/Linux-v6.1/net/core/
Dbpf_sk_storage.c520 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs) in bpf_sk_storage_diag_alloc() argument
533 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
542 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
621 struct nlattr *nla_stgs; in bpf_sk_storage_diag_put_all() local
633 nla_stgs = nla_nest_start(skb, stg_array_type); in bpf_sk_storage_diag_put_all()
634 if (!nla_stgs) in bpf_sk_storage_diag_put_all()
643 if (nla_stgs && diag_get(SDATA(selem), skb)) in bpf_sk_storage_diag_put_all()
650 if (nla_stgs) { in bpf_sk_storage_diag_put_all()
652 nla_nest_cancel(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
654 nla_nest_end(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
[all …]
/Linux-v6.1/include/net/
Dbpf_sk_storage.h34 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs);