Lines Matching refs:expr

350  *	@expr: set must support for expressions
364 bool expr;
410 static inline void *nft_expr_priv(const struct nft_expr *expr)
412 return (void *)expr->data;
420 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
422 const struct nft_expr *expr, bool reset);
424 const struct nft_expr *expr);
465 const struct nft_expr *expr,
934 void (*eval)(const struct nft_expr *expr,
942 const struct nft_expr *expr,
945 const struct nft_expr *expr);
947 const struct nft_expr *expr,
950 const struct nft_expr *expr);
952 const struct nft_expr *expr);
954 const struct nft_expr *expr,
957 const struct nft_expr *expr,
960 const struct nft_expr *expr);
962 const struct nft_expr *expr);
965 const struct nft_expr *expr);
966 bool (*offload_action)(const struct nft_expr *expr);
967 void (*offload_stats)(struct nft_expr *expr,
998 static inline struct nft_expr *nft_expr_next(const struct nft_expr *expr)
1000 return ((void *)expr) + expr->ops->size;
1009 const struct nft_expr *expr)
1011 return expr != nft_expr_last(rule) && expr->ops;
1029 struct nft_expr *expr;
1034 nft_setelem_expr_foreach(expr, elem_expr, size) {
1035 expr->ops->eval(expr, regs, pkt);
1047 #define nft_rule_for_each_expr(expr, last, rule) \
1048 for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \
1049 (expr) != (last); \
1050 (expr) = nft_expr_next(expr))
1360 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
1499 MODULE_ALIAS("nft-expr-" __stringify(family) "-" name)
1502 MODULE_ALIAS("nft-expr-" name)
1829 static inline bool nft_reduce_is_readonly(const struct nft_expr *expr)
1831 return expr->ops->reduce == NFT_REDUCE_READONLY;
1835 const struct nft_expr *expr, u8 dreg, u8 len);
1840 const struct nft_expr *expr, u8 dreg)
1843 track->regs[dreg].selector->ops == expr->ops &&