Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/netfilter/
Dnf_tables.h259 NFTA_RULE_ID, enumerator
/linux-6.1.9/net/netfilter/
Dnf_tables_api.c412 if (msg_type == NFT_MSG_NEWRULE && ctx->nla[NFTA_RULE_ID] != NULL) { in nft_trans_rule_add()
414 ntohl(nla_get_be32(ctx->nla[NFTA_RULE_ID])); in nft_trans_rule_add()
3002 [NFTA_RULE_ID] = { .type = NLA_U32 },
3689 } else if (nla[NFTA_RULE_ID]) { in nf_tables_delrule()
3690 rule = nft_rule_lookup_byid(net, chain, nla[NFTA_RULE_ID]); in nf_tables_delrule()
3692 NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_ID]); in nf_tables_delrule()