Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/core/
H A Dbpf_sk_storage.c435 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs) in bpf_sk_storage_diag_alloc() argument
448 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
458 nla_for_each_nested(nla, nla_stgs, rem) { in bpf_sk_storage_diag_alloc()
537 struct nlattr *nla_stgs; in bpf_sk_storage_diag_put_all() local
549 nla_stgs = nla_nest_start(skb, stg_array_type); in bpf_sk_storage_diag_put_all()
550 if (!nla_stgs) in bpf_sk_storage_diag_put_all()
559 if (nla_stgs && diag_get(SDATA(selem), skb)) in bpf_sk_storage_diag_put_all()
566 if (nla_stgs) { in bpf_sk_storage_diag_put_all()
568 nla_nest_cancel(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
570 nla_nest_end(skb, nla_stgs); in bpf_sk_storage_diag_put_all()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dbpf_sk_storage.h33 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs);