Home
last modified time | relevance | path

Searched refs:nft_expr (Results 1 – 23 of 23) sorted by relevance

/linux/include/net/netfilter/
H A Dnft_meta.h19 const struct nft_expr *expr,
23 const struct nft_expr *expr,
27 const struct nft_expr *expr, bool reset);
30 const struct nft_expr *expr, bool reset);
32 void nft_meta_get_eval(const struct nft_expr *expr,
36 void nft_meta_set_eval(const struct nft_expr *expr,
41 const struct nft_expr *expr);
44 const struct nft_expr *expr);
46 const struct nft_expr *expr);
49 void nft_meta_inner_eval(const struct nft_expr *expr,
H A Dnf_tables_core.h129 struct nft_expr;
132 void nft_meta_get_eval(const struct nft_expr *expr,
134 void nft_cmp_eval(const struct nft_expr *expr,
136 void nft_lookup_eval(const struct nft_expr *expr,
138 void nft_payload_eval(const struct nft_expr *expr,
140 void nft_immediate_eval(const struct nft_expr *expr,
142 void nft_bitwise_eval(const struct nft_expr *expr,
144 void nft_range_eval(const struct nft_expr *expr,
146 void nft_byteorder_eval(const struct nft_expr *expr,
148 void nft_dynset_eval(const struct nft_expr *expr,
[all …]
H A Dnf_tables.h400 #define NFT_EXPR_SIZE(size) (sizeof(struct nft_expr) + \
401 ALIGN(size, __alignof__(struct nft_expr)))
409 struct nft_expr { struct
415 static inline void *nft_expr_priv(const struct nft_expr *expr) in nft_expr_priv() argument
424 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src, gfp_t gfp);
425 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
427 const struct nft_expr *expr, bool reset);
467 const struct nft_expr *expr,
531 __attribute__((aligned(__alignof__(struct nft_expr))));
535 ((struct nft_expr *)&__elem_expr->data[__offset])
[all …]
H A Dnft_reject.h18 const struct nft_expr *expr);
21 const struct nft_expr *expr,
25 const struct nft_expr *expr, bool reset);
/linux/net/netfilter/
H A Dnft_dynset.c26 struct nft_expr *expr_array[NFT_SET_EXPR_MAX];
38 struct nft_expr *expr; in nft_dynset_expr_setup()
57 const struct nft_expr *expr, in nft_dynset_new()
90 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
135 static struct nft_expr *
139 struct nft_expr *expr; in nft_dynset_expr_alloc()
173 const struct nft_expr *expr, in nft_dynset_init()
252 struct nft_expr *dynset_expr; in nft_dynset_init()
270 struct nft_expr *dynset_expr; in nft_dynset_init()
352 const struct nft_expr *expr, in nft_dynset_deactivate()
[all …]
H A Dnft_compat.c73 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt()
100 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge()
244 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
293 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy()
300 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
336 const struct nft_expr *expr, bool reset) in nft_target_dump()
354 const struct nft_expr *expr) in nft_target_validate()
401 const struct nft_expr *expr) in nft_target_bridge_validate()
416 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
445 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
[all …]
H A Dnft_lookup.c95 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval()
135 const struct nft_expr *expr, in nft_lookup_init()
200 const struct nft_expr *expr, in nft_lookup_deactivate()
209 const struct nft_expr *expr) in nft_lookup_activate()
217 const struct nft_expr *expr) in nft_lookup_destroy()
225 const struct nft_expr *expr, bool reset) in nft_lookup_dump()
246 const struct nft_expr *expr) in nft_lookup_validate()
H A Dnft_tproxy.c21 static void nft_tproxy_eval_v4(const struct nft_expr *expr, in nft_tproxy_eval_v4()
84 static void nft_tproxy_eval_v6(const struct nft_expr *expr, in nft_tproxy_eval_v6()
157 static void nft_tproxy_eval(const struct nft_expr *expr, in nft_tproxy_eval()
192 const struct nft_expr *expr, in nft_tproxy_init()
274 const struct nft_expr *expr) in nft_tproxy_destroy()
297 const struct nft_expr *expr, bool reset) in nft_tproxy_dump()
316 const struct nft_expr *expr) in nft_tproxy_validate()
H A Dnft_osf.c20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval()
66 const struct nft_expr *expr, in nft_osf_init()
96 const struct nft_expr *expr, bool reset) in nft_osf_dump()
116 const struct nft_expr *expr) in nft_osf_validate()
H A Dnft_meta.c364 void nft_meta_get_eval(const struct nft_expr *expr, in nft_meta_get_eval()
475 void nft_meta_set_eval(const struct nft_expr *expr, in nft_meta_set_eval()
524 const struct nft_expr *expr, in nft_meta_get_init()
641 const struct nft_expr *expr) in nft_meta_get_validate()
660 const struct nft_expr *expr) in nft_meta_set_validate()
689 const struct nft_expr *expr, in nft_meta_set_init()
728 const struct nft_expr *expr, bool reset) in nft_meta_get_dump()
744 const struct nft_expr *expr, bool reset) in nft_meta_set_dump()
761 const struct nft_expr *expr) in nft_meta_set_destroy()
772 const struct nft_expr *expr) in nft_meta_get_offload()
[all …]
H A Dnft_rt.c54 void nft_rt_get_eval(const struct nft_expr *expr, in nft_rt_get_eval()
113 const struct nft_expr *expr, in nft_rt_get_init()
151 const struct nft_expr *expr, bool reset) in nft_rt_get_dump()
165 static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_rt_validate()
H A Dnft_nat.c103 static void nft_nat_eval(const struct nft_expr *expr, in nft_nat_eval()
140 const struct nft_expr *expr) in nft_nat_validate()
170 static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_nat_init()
261 const struct nft_expr *expr, bool reset) in nft_nat_dump()
307 nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_nat_destroy()
334 static void nft_nat_inet_eval(const struct nft_expr *expr, in nft_nat_inet_eval()
H A Dnft_fib.c29 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_fib_validate()
75 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init()
134 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) in nft_fib_dump()
H A Dnft_xfrm.c35 const struct nft_expr *expr, in nft_xfrm_get_init()
202 static void nft_xfrm_get_eval(const struct nft_expr *expr, in nft_xfrm_get_eval()
223 const struct nft_expr *expr, bool reset) in nft_xfrm_get_dump()
240 static int nft_xfrm_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_xfrm_validate()
H A Dnft_bitwise.c95 void nft_bitwise_eval(const struct nft_expr *expr, in nft_bitwise_eval()
251 const struct nft_expr *expr, in nft_bitwise_init()
352 const struct nft_expr *expr, bool reset) in nft_bitwise_dump()
388 const struct nft_expr *expr) in nft_bitwise_offload()
435 const struct nft_expr *expr, in nft_bitwise_fast_init()
472 const struct nft_expr *expr, bool reset) in nft_bitwise_fast_dump()
501 const struct nft_expr *expr) in nft_bitwise_fast_offload()
H A Dnft_byteorder.c25 void nft_byteorder_eval(const struct nft_expr *expr, in nft_byteorder_eval()
84 const struct nft_expr *expr, in nft_byteorder_init()
148 const struct nft_expr *expr, bool reset) in nft_byteorder_dump()
H A Dnft_synproxy.c242 static void nft_synproxy_eval(const struct nft_expr *expr, in nft_synproxy_eval()
252 const struct nft_expr *expr) in nft_synproxy_validate()
264 const struct nft_expr *expr, in nft_synproxy_init()
273 const struct nft_expr *expr) in nft_synproxy_destroy()
279 const struct nft_expr *expr, bool reset) in nft_synproxy_dump()
H A Dnft_fib_netdev.c21 static void nft_fib_netdev_eval(const struct nft_expr *expr, in nft_fib_netdev_eval()
54 const struct nft_expr *expr) in nft_fib_netdev_validate()
H A Dnft_ct.c52 static void nft_ct_get_eval(const struct nft_expr *expr, in nft_ct_get_eval()
223 static void nft_ct_set_zone_eval(const struct nft_expr *expr, in nft_ct_set_zone_eval()
274 static void nft_ct_set_eval(const struct nft_expr *expr, in nft_ct_set_eval()
391 const struct nft_expr *expr, in nft_ct_get_init()
558 const struct nft_expr *expr, in nft_ct_set_init()
644 const struct nft_expr *expr) in nft_ct_get_destroy()
653 const struct nft_expr *expr) in nft_ct_set_destroy()
662 const struct nft_expr *expr, bool reset) in nft_ct_get_dump()
702 const struct nft_expr *expr, bool reset) in nft_ct_set_dump()
813 static void nft_notrack_eval(const struct nft_expr *expr, in nft_notrack_eval()
H A Dnft_payload.c159 void nft_payload_eval(const struct nft_expr *expr, in nft_payload_eval()
223 const struct nft_expr *expr, in nft_payload_init()
244 const struct nft_expr *expr, bool reset) in nft_payload_dump()
524 const struct nft_expr *expr) in nft_payload_offload()
564 void nft_payload_inner_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_payload_inner_eval()
616 const struct nft_expr *expr, in nft_payload_inner_init()
1081 static void nft_payload_set_eval(const struct nft_expr *expr, in nft_payload_set_eval()
1174 const struct nft_expr *expr, in nft_payload_set_init()
1255 const struct nft_expr *expr, bool reset) in nft_payload_set_dump()
H A Dnf_tables_api.c696 struct nft_expr *expr; in nft_rule_expr_activate()
710 struct nft_expr *expr; in nft_rule_expr_deactivate()
3491 const struct nft_expr *expr, bool reset) in nf_tables_fill_expr_info()
3513 const struct nft_expr *expr, bool reset) in nft_expr_dump()
3640 struct nft_expr *expr) in nf_tables_newexpr()
3659 struct nft_expr *expr) in nf_tables_expr_destroy()
3668 static struct nft_expr *nft_expr_init(const struct nft_ctx *ctx, in nft_expr_init()
3672 struct nft_expr *expr; in nft_expr_init()
3706 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src, gfp_t gfp) in nft_expr_clone()
3725 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr) in nft_expr_destroy()
[all …]
H A Dnf_tables_offload.c94 struct nft_expr *expr; in nft_flow_rule_create()
302 struct nft_expr *expr, *next; in nft_flow_rule_stats()
/linux/net/bridge/netfilter/
H A Dnft_meta_bridge.c24 static void nft_meta_bridge_get_eval(const struct nft_expr *expr, in nft_meta_bridge_get_eval()
84 const struct nft_expr *expr, in nft_meta_bridge_get_init()
113 const struct nft_expr *expr) in nft_meta_bridge_get_validate()
139 static void nft_meta_bridge_set_eval(const struct nft_expr *expr, in nft_meta_bridge_set_eval()
159 const struct nft_expr *expr, in nft_meta_bridge_set_init()
184 const struct nft_expr *expr) in nft_meta_bridge_set_validate()