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.h975 * struct nft_rule - nf_tables rule
984 struct nft_rule {
994 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_next()
1004 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_more()
1009 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_userdata()
1015 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule)
1020 void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule); in nft_set_elem_update_expr()
1021 void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule, in nft_set_elem_update_expr()
1023 void nf_tables_rule_destroy(const struct nft_ctx *ctx, struct nft_rule *rule); in nft_set_elem_update_expr()
1622 struct nft_rule *rul
978 struct nft_rule { global() struct
988 datanft_rule nft_expr_first() argument
[all...]
/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()
3362 static struct nft_rule *__nft_rule_lookup(const struct net *net,
3366 struct nft_rule *rule; in __nft_rule_lookup()
3378 static struct nft_rule *nft_rule_looku in __nft_rule_lookup()
[all...]