Home
last modified time | relevance | path

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

/openbmc/linux/include/net/netfilter/
H A Dnf_tables_offload.h73 struct nft_rule;
74 struct nft_flow_rule *nft_flow_rule_create(struct net *net, const struct nft_rule *rule);
75 int nft_flow_rule_stats(const struct nft_chain *chain, const struct nft_rule *rule);
H A Dnf_tables.h978 struct nft_rule { struct
988 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
998 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last()
1003 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_expr_more()
1009 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata()
1014 void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule);
1015 void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule,
1017 void nf_tables_rule_destroy(const struct nft_ctx *ctx, struct nft_rule *rule);
1616 struct nft_rule *rule;
/openbmc/linux/net/netfilter/
H A Dnf_tables_offload.c89 const struct nft_rule *rule) in nft_flow_rule_create()
244 const struct nft_rule *rule, in nft_flow_cls_offload_setup()
265 const struct nft_rule *rule, in nft_flow_offload_cmd()
285 struct nft_rule *rule, in nft_flow_offload_rule()
295 const struct nft_rule *rule) in nft_flow_rule_stats()
328 struct nft_rule *rule; in nft_flow_offload_unbind()
H A Dnft_immediate.c102 struct nft_rule *rule; in nft_immediate_activate()
133 struct nft_rule *rule; in nft_immediate_chain_deactivate()
191 struct nft_rule *rule, *n; in nft_immediate_destroy()
H A Dnf_tables_api.c455 void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule) in nft_rule_expr_activate()
468 void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule, in nft_rule_expr_deactivate()
483 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
495 struct nft_rule *rule) in nft_trans_rule_add()
513 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
545 struct nft_rule *rule; in nft_delrule_by_chain()
2942 struct nft_rule *rule; in nf_tables_delchain()
3363 static struct nft_rule *__nft_rule_lookup(const struct net *net, in __nft_rule_lookup()
3367 struct nft_rule *rule; in __nft_rule_lookup()
3379 static struct nft_rule *nft_rule_lookup(const struct net *net, in nft_rule_lookup()
[all …]