Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/netfilter/
Dnf_tables.h233 NFTA_RULE_ID, enumerator
/Linux-v4.19/net/netfilter/
Dnf_tables_api.c259 if (msg_type == NFT_MSG_NEWRULE && ctx->nla[NFTA_RULE_ID] != NULL) { in nft_trans_rule_add()
261 ntohl(nla_get_be32(ctx->nla[NFTA_RULE_ID])); in nft_trans_rule_add()
2169 [NFTA_RULE_ID] = { .type = NLA_U32 },
2758 } else if (nla[NFTA_RULE_ID]) { in nf_tables_delrule()
2759 rule = nft_rule_lookup_byid(net, nla[NFTA_RULE_ID]); in nf_tables_delrule()
2761 NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_ID]); in nf_tables_delrule()