Home
last modified time | relevance | path

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

/linux/include/net/netfilter/
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.h393 #define NFT_EXPR_SIZE(size) (sizeof(struct nft_expr) + \
394 ALIGN(size, __alignof__(struct nft_expr)))
402 struct nft_expr { struct
408 static inline void *nft_expr_priv(const struct nft_expr *expr) in nft_expr_priv() argument
417 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src, gfp_t gfp);
418 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
420 const struct nft_expr *expr, bool reset);
460 const struct nft_expr *expr,
524 __attribute__((aligned(__alignof__(struct nft_expr))));
528 ((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_fwd_netdev.c24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval()
47 const struct nft_expr *expr, in nft_fwd_netdev_init()
60 const struct nft_expr *expr, bool reset) in nft_fwd_netdev_dump()
75 const struct nft_expr *expr) in nft_fwd_netdev_offload()
83 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action()
94 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
187 const struct nft_expr *expr, in nft_fwd_neigh_init()
222 const struct nft_expr *expr, bool reset) in nft_fwd_neigh_dump()
238 const struct nft_expr *expr) in nft_fwd_validate()
H A Dnft_dynset.c25 struct nft_expr *expr_array[NFT_SET_EXPR_MAX];
37 struct nft_expr *expr; in nft_dynset_expr_setup()
56 const struct nft_expr *expr, in nft_dynset_new()
89 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
134 static struct nft_expr *
138 struct nft_expr *expr; in nft_dynset_expr_alloc()
172 const struct nft_expr *expr, in nft_dynset_init()
251 struct nft_expr *dynset_expr; in nft_dynset_init()
268 struct nft_expr *dynset_expr; in nft_dynset_init()
348 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()
400 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
429 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
438 static void nft_match_eval(const struct nft_expr *expr, in nft_match_eval()
[all …]
H A Dnft_exthdr.c46 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval()
139 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval()
188 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval()
232 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval()
312 static void nft_exthdr_tcp_strip_eval(const struct nft_expr *expr, in nft_exthdr_tcp_strip_eval()
369 static void nft_exthdr_sctp_eval(const struct nft_expr *expr, in nft_exthdr_sctp_eval()
411 static void nft_exthdr_dccp_eval(const struct nft_expr *expr, in nft_exthdr_dccp_eval()
499 const struct nft_expr *expr, in nft_exthdr_init()
547 const struct nft_expr *expr, in nft_exthdr_tcp_set_init()
596 const struct nft_expr *expr, in nft_exthdr_tcp_strip_init()
[all …]
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 Dnf_tables_core.c74 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval()
84 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval()
94 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval()
144 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval()
203 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval()
240 #define nft_rule_expr_first(rule) (struct nft_expr *)&rule->data[0]
242 #define nft_rule_expr_last(rule) (struct nft_expr *)&rule->data[rule->dlen]
254 const struct nft_expr *expr, *last; in nft_do_chain()
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_reject.c27 const struct nft_expr *expr) in nft_reject_validate()
38 const struct nft_expr *expr, in nft_reject_init()
72 const struct nft_expr *expr, bool reset) in nft_reject_dump()
H A Dnft_bitwise.c91 void nft_bitwise_eval(const struct nft_expr *expr, in nft_bitwise_eval()
244 const struct nft_expr *expr, in nft_bitwise_init()
342 const struct nft_expr *expr, bool reset) in nft_bitwise_dump()
378 const struct nft_expr *expr) in nft_bitwise_offload()
425 const struct nft_expr *expr, in nft_bitwise_fast_init()
462 const struct nft_expr *expr, bool reset) in nft_bitwise_fast_dump()
491 const struct nft_expr *expr) in nft_bitwise_fast_offload()
H A Dnft_ct.c52 static void nft_ct_get_eval(const struct nft_expr *expr, in nft_ct_get_eval()
225 static void nft_ct_set_zone_eval(const struct nft_expr *expr, in nft_ct_set_zone_eval()
276 static void nft_ct_set_eval(const struct nft_expr *expr, in nft_ct_set_eval()
393 const struct nft_expr *expr, in nft_ct_get_init()
560 const struct nft_expr *expr, in nft_ct_set_init()
646 const struct nft_expr *expr) in nft_ct_get_destroy()
655 const struct nft_expr *expr) in nft_ct_set_destroy()
664 const struct nft_expr *expr, bool reset) in nft_ct_get_dump()
704 const struct nft_expr *expr, bool reset) in nft_ct_set_dump()
815 static void nft_notrack_eval(const struct nft_expr *expr, in nft_notrack_eval()
H A Dnft_ct_fast.c7 void nft_ct_get_fast_eval(const struct nft_expr *expr, in nft_ct_get_fast_eval()
H A Dnf_tables_api.c693 struct nft_expr *expr; in nft_rule_expr_activate()
707 struct nft_expr *expr; in nft_rule_expr_deactivate()
3475 const struct nft_expr *expr, bool reset) in nf_tables_fill_expr_info()
3497 const struct nft_expr *expr, bool reset) in nft_expr_dump()
3624 struct nft_expr *expr) in nf_tables_newexpr()
3643 struct nft_expr *expr) in nf_tables_expr_destroy()
3652 static struct nft_expr *nft_expr_init(const struct nft_ctx *ctx, in nft_expr_init()
3656 struct nft_expr *expr; in nft_expr_init()
3690 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src, gfp_t gfp) in nft_expr_clone()
3707 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()
H A Dnft_set_hash.c127 const struct nft_expr *expr, struct nft_regs *regs) in nft_rhash_update()
397 struct nft_expr *expr; in nft_rhash_expr_needs_gc_run()