Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/netfilter/
Dnf_tables_offload.h75 struct nft_rule;
76 struct nft_flow_rule *nft_flow_rule_create(struct net *net, const struct nft_rule *rule);
77 int nft_flow_rule_stats(const struct nft_chain *chain, const struct nft_rule *rule);
Dnf_tables.h903 struct nft_rule { struct
913 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
923 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last()
928 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_expr_more()
934 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata()
939 void nf_tables_rule_release(const struct nft_ctx *ctx, struct nft_rule *rule);
984 struct nft_rule *__rcu *rules_gen_0;
985 struct nft_rule *__rcu *rules_gen_1;
1000 struct nft_rule **rules_next;
1318 const struct nft_rule *rule;
[all …]
/Linux-v5.15/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.c88 const struct nft_rule *rule) in nft_flow_rule_create()
221 const struct nft_rule *rule, in nft_flow_cls_offload_setup()
242 const struct nft_rule *rule, in nft_flow_offload_cmd()
262 struct nft_rule *rule, in nft_flow_offload_rule()
272 const struct nft_rule *rule) in nft_flow_rule_stats()
305 struct nft_rule *rule; in nft_flow_offload_unbind()
Dnf_tables_api.c348 struct nft_rule *rule) in nft_rule_expr_activate()
362 struct nft_rule *rule, in nft_rule_expr_deactivate()
377 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
389 struct nft_rule *rule) in nft_trans_rule_add()
407 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
439 struct nft_rule *rule; in nft_delrule_by_chain()
1750 struct nft_rule **g0 = rcu_dereference_raw(chain->rules_gen_0); in nf_tables_chain_free_chain_rules()
1751 struct nft_rule **g1 = rcu_dereference_raw(chain->rules_gen_1); in nf_tables_chain_free_chain_rules()
2005 struct nft_rule **start;
2008 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()