Home
last modified time | relevance | path

Searched refs:nft_rule (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/net/netfilter/
Dnf_tables_offload.h69 struct nft_rule;
70 struct nft_flow_rule *nft_flow_rule_create(struct net *net, const struct nft_rule *rule);
Dnf_tables.h869 struct nft_rule { struct
879 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
889 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last()
894 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_expr_more()
900 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata()
905 void nf_tables_rule_release(const struct nft_ctx *ctx, struct nft_rule *rule);
944 struct nft_rule *__rcu *rules_gen_0;
945 struct nft_rule *__rcu *rules_gen_1;
960 struct nft_rule **rules_next;
1272 const struct nft_rule *rule;
[all …]
/Linux-v5.10/net/netfilter/
Dnf_tables_core.c41 const struct nft_rule *rule, in nft_trace_packet()
129 struct nft_rule *const *rules;
162 struct nft_rule *const *rules; in nft_do_chain()
163 const struct nft_rule *rule; in nft_do_chain()
Dnf_tables_offload.c49 const struct nft_rule *rule) in nft_flow_rule_create()
180 const struct nft_rule *rule, in nft_flow_cls_offload_setup()
201 struct nft_rule *rule, in nft_flow_offload_rule()
234 struct nft_rule *rule; in nft_flow_offload_unbind()
Dnf_tables_api.c300 struct nft_rule *rule) in nft_rule_expr_activate()
314 struct nft_rule *rule, in nft_rule_expr_deactivate()
329 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
341 struct nft_rule *rule) in nft_trans_rule_add()
359 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
391 struct nft_rule *rule; in nft_delrule_by_chain()
1663 struct nft_rule **g0 = rcu_dereference_raw(chain->rules_gen_0); in nf_tables_chain_free_chain_rules()
1664 struct nft_rule **g1 = rcu_dereference_raw(chain->rules_gen_1); in nf_tables_chain_free_chain_rules()
1912 struct nft_rule **start;
1915 static struct nft_rule **nf_tables_chain_alloc_rules(const struct nft_chain *chain, in nf_tables_chain_alloc_rules()
[all …]
Dnft_immediate.c106 struct nft_rule *rule, *n; in nft_immediate_destroy()