Home
last modified time | relevance | path

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

123

/Linux-v5.15/include/net/netfilter/
Dnft_meta.h18 const struct nft_expr *expr,
22 const struct nft_expr *expr,
26 const struct nft_expr *expr);
29 const struct nft_expr *expr);
31 void nft_meta_get_eval(const struct nft_expr *expr,
35 void nft_meta_set_eval(const struct nft_expr *expr,
40 const struct nft_expr *expr);
43 const struct nft_expr *expr,
Dnft_fib.h21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr);
22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
Dnf_tables_core.h123 struct nft_expr;
126 void nft_meta_get_eval(const struct nft_expr *expr,
128 void nft_cmp_eval(const struct nft_expr *expr,
130 void nft_lookup_eval(const struct nft_expr *expr,
132 void nft_payload_eval(const struct nft_expr *expr,
134 void nft_immediate_eval(const struct nft_expr *expr,
136 void nft_bitwise_eval(const struct nft_expr *expr,
138 void nft_range_eval(const struct nft_expr *expr,
140 void nft_byteorder_eval(const struct nft_expr *expr,
142 void nft_dynset_eval(const struct nft_expr *expr,
[all …]
Dnf_tables.h319 #define NFT_EXPR_SIZE(size) (sizeof(struct nft_expr) + \
320 ALIGN(size, __alignof__(struct nft_expr)))
328 struct nft_expr { struct
334 static inline void *nft_expr_priv(const struct nft_expr *expr) in nft_expr_priv() argument
339 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src);
340 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
342 const struct nft_expr *expr);
376 const struct nft_expr *,
378 const struct nft_expr *expr,
437 __attribute__((aligned(__alignof__(struct nft_expr))));
[all …]
Dnft_reject.h18 const struct nft_expr *expr,
22 const struct nft_expr *expr,
25 int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr);
/Linux-v5.15/net/netfilter/
Dnft_objref.c16 static void nft_objref_eval(const struct nft_expr *expr, in nft_objref_eval()
26 const struct nft_expr *expr, in nft_objref_init()
50 static int nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_dump()
66 const struct nft_expr *expr, in nft_objref_deactivate()
78 const struct nft_expr *expr) in nft_objref_activate()
102 static void nft_objref_map_eval(const struct nft_expr *expr, in nft_objref_map_eval()
126 const struct nft_expr *expr, in nft_objref_map_init()
158 static int nft_objref_map_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_map_dump()
173 const struct nft_expr *expr, in nft_objref_map_deactivate()
182 const struct nft_expr *expr) in nft_objref_map_activate()
[all …]
Dnft_fwd_netdev.c24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval()
45 const struct nft_expr *expr, in nft_fwd_netdev_init()
57 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump()
72 const struct nft_expr *expr) in nft_fwd_netdev_offload()
86 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
148 const struct nft_expr *expr, in nft_fwd_neigh_init()
182 static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_neigh_dump()
198 const struct nft_expr *expr, in nft_fwd_validate()
Dnft_immediate.c18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval()
33 const struct nft_expr *expr, in nft_immediate_init()
82 const struct nft_expr *expr) in nft_immediate_activate()
90 const struct nft_expr *expr, in nft_immediate_deactivate()
102 const struct nft_expr *expr) in nft_immediate_destroy()
134 static int nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_immediate_dump()
149 const struct nft_expr *expr, in nft_immediate_validate()
204 const struct nft_expr *expr) in nft_immediate_offload()
Dnft_masq.c29 const struct nft_expr *expr, in nft_masq_validate()
43 const struct nft_expr *expr, in nft_masq_init()
76 static int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_masq_dump()
98 static void nft_masq_ipv4_eval(const struct nft_expr *expr, in nft_masq_ipv4_eval()
118 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy()
144 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval()
164 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
204 static void nft_masq_inet_eval(const struct nft_expr *expr, in nft_masq_inet_eval()
219 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
Dnft_redir.c29 const struct nft_expr *expr, in nft_redir_validate()
44 const struct nft_expr *expr, in nft_redir_init()
78 static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_redir_dump()
101 static void nft_redir_ipv4_eval(const struct nft_expr *expr, in nft_redir_ipv4_eval()
123 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy()
149 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval()
172 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
199 static void nft_redir_inet_eval(const struct nft_expr *expr, in nft_redir_inet_eval()
214 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
Dnft_dynset.c25 struct nft_expr *expr_array[NFT_SET_EXPR_MAX];
33 struct nft_expr *expr; in nft_dynset_expr_setup()
47 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
80 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
124 static struct nft_expr *
128 struct nft_expr *expr; in nft_dynset_expr_alloc()
161 const struct nft_expr *expr, in nft_dynset_init()
246 struct nft_expr *dynset_expr; in nft_dynset_init()
263 struct nft_expr *dynset_expr; in nft_dynset_init()
341 const struct nft_expr *expr, in nft_dynset_deactivate()
[all …]
Dnft_connlimit.c165 static void nft_connlimit_eval(const struct nft_expr *expr, in nft_connlimit_eval()
174 static int nft_connlimit_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_connlimit_dump()
182 const struct nft_expr *expr, in nft_connlimit_init()
191 const struct nft_expr *expr) in nft_connlimit_destroy()
198 static int nft_connlimit_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_connlimit_clone()
211 const struct nft_expr *expr) in nft_connlimit_destroy_clone()
218 static bool nft_connlimit_gc(struct net *net, const struct nft_expr *expr) in nft_connlimit_gc()
Dnft_counter.c195 static void nft_counter_eval(const struct nft_expr *expr, in nft_counter_eval()
204 static int nft_counter_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_counter_dump()
212 const struct nft_expr *expr, in nft_counter_init()
221 const struct nft_expr *expr) in nft_counter_destroy()
228 static int nft_counter_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_counter_clone()
254 const struct nft_expr *expr) in nft_counter_offload()
260 static void nft_counter_offload_stats(struct nft_expr *expr, in nft_counter_offload_stats()
Dnft_dup_netdev.c20 static void nft_dup_netdev_eval(const struct nft_expr *expr, in nft_dup_netdev_eval()
35 const struct nft_expr *expr, in nft_dup_netdev_init()
47 static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_netdev_dump()
62 const struct nft_expr *expr) in nft_dup_netdev_offload()
Dnft_queue.c28 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval()
55 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval()
79 const struct nft_expr *expr, in nft_queue_init()
108 const struct nft_expr *expr, in nft_queue_sreg_init()
130 static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_dump()
146 nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_sreg_dump()
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()
236 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
285 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy()
292 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
327 static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_target_dump()
345 const struct nft_expr *expr, in nft_target_validate()
368 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
397 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
406 static void nft_match_eval(const struct nft_expr *expr, in nft_match_eval()
[all …]
Dnft_numgen.c37 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval()
54 const struct nft_expr *expr, in nft_ng_inc_init()
93 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump()
115 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval()
125 const struct nft_expr *expr, in nft_ng_random_init()
146 static int nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_random_dump()
Dnft_lookup.c57 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval()
96 const struct nft_expr *expr, in nft_lookup_init()
157 const struct nft_expr *expr, in nft_lookup_deactivate()
166 const struct nft_expr *expr) in nft_lookup_activate()
174 const struct nft_expr *expr) in nft_lookup_destroy()
181 static int nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_lookup_dump()
233 const struct nft_expr *expr, in nft_lookup_validate()
Dnft_hash.c26 static void nft_jhash_eval(const struct nft_expr *expr, in nft_jhash_eval()
46 static void nft_symhash_eval(const struct nft_expr *expr, in nft_symhash_eval()
70 const struct nft_expr *expr, in nft_jhash_init()
117 const struct nft_expr *expr, in nft_symhash_init()
142 const struct nft_expr *expr) in nft_jhash_dump()
169 const struct nft_expr *expr) in nft_symhash_dump()
Dnft_cmp.c26 void nft_cmp_eval(const struct nft_expr *expr, in nft_cmp_eval()
72 static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_cmp_init()
99 static int nft_cmp_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_dump()
183 const struct nft_expr *expr) in nft_cmp_offload()
200 const struct nft_expr *expr, in nft_cmp_fast_init()
228 const struct nft_expr *expr) in nft_cmp_fast_offload()
245 static int nft_cmp_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_fast_dump()
Dnft_osf.c20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval()
61 const struct nft_expr *expr, in nft_osf_init()
95 static int nft_osf_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_osf_dump()
115 const struct nft_expr *expr, in nft_osf_validate()
Dnft_exthdr.c38 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval()
134 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval()
184 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval()
227 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval()
308 static void nft_exthdr_sctp_eval(const struct nft_expr *expr, in nft_exthdr_sctp_eval()
361 const struct nft_expr *expr, in nft_exthdr_init()
409 const struct nft_expr *expr, in nft_exthdr_tcp_set_init()
458 const struct nft_expr *expr, in nft_exthdr_ipv4_init()
497 static int nft_exthdr_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_exthdr_dump()
507 static int nft_exthdr_dump_set(struct sk_buff *skb, const struct nft_expr *expr) in nft_exthdr_dump_set()
Dnft_last.c21 static int nft_last_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_last_init()
46 static void nft_last_eval(const struct nft_expr *expr, in nft_last_eval()
57 static int nft_last_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_last_dump()
Dnft_reject.c27 const struct nft_expr *expr, in nft_reject_validate()
39 const struct nft_expr *expr, in nft_reject_init()
72 int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_reject_dump()
/Linux-v5.15/net/ipv6/netfilter/
Dnft_dup_ipv6.c20 static void nft_dup_ipv6_eval(const struct nft_expr *expr, in nft_dup_ipv6_eval()
32 const struct nft_expr *expr, in nft_dup_ipv6_init()
53 static int nft_dup_ipv6_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_ipv6_dump()

123