Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/netfilter/
Dnf_tables.h272 NFTA_RULE_HANDLE, enumerator
/linux-6.6.21/net/netfilter/
Dnf_tables_api.c3332 [NFTA_RULE_HANDLE] = { .type = NLA_U64 },
3365 if (nla_put_be64(skb, NFTA_RULE_HANDLE, cpu_to_be64(rule->handle), in nf_tables_fill_rule_info()
3655 rule = nft_rule_lookup(chain, nla[NFTA_RULE_HANDLE]); in nf_tables_getrule()
3657 NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_HANDLE]); in nf_tables_getrule()
3873 if (nla[NFTA_RULE_HANDLE]) { in nf_tables_newrule()
3874 handle = be64_to_cpu(nla_get_be64(nla[NFTA_RULE_HANDLE])); in nf_tables_newrule()
3877 NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_HANDLE]); in nf_tables_newrule()
3882 NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_HANDLE]); in nf_tables_newrule()
4113 if (nla[NFTA_RULE_HANDLE]) { in nf_tables_delrule()
4114 rule = nft_rule_lookup(chain, nla[NFTA_RULE_HANDLE]); in nf_tables_delrule()
[all …]