Home
last modified time | relevance | path

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

123

/Linux-v6.1/include/net/netfilter/
Dnft_meta.h19 const struct nft_expr *expr,
23 const struct nft_expr *expr,
27 const struct nft_expr *expr);
30 const struct nft_expr *expr);
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,
48 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,
42 const struct nft_expr *expr);
Dnf_tables_core.h126 struct nft_expr;
129 void nft_meta_get_eval(const struct nft_expr *expr,
131 void nft_cmp_eval(const struct nft_expr *expr,
133 void nft_lookup_eval(const struct nft_expr *expr,
135 void nft_payload_eval(const struct nft_expr *expr,
137 void nft_immediate_eval(const struct nft_expr *expr,
139 void nft_bitwise_eval(const struct nft_expr *expr,
141 void nft_range_eval(const struct nft_expr *expr,
143 void nft_byteorder_eval(const struct nft_expr *expr,
145 void nft_dynset_eval(const struct nft_expr *expr,
[all …]
Dnf_tables.h127 const struct nft_expr *selector;
128 const struct nft_expr *bitwise;
132 const struct nft_expr *cur;
133 const struct nft_expr *last;
358 #define NFT_EXPR_SIZE(size) (sizeof(struct nft_expr) + \
359 ALIGN(size, __alignof__(struct nft_expr)))
367 struct nft_expr { struct
373 static inline void *nft_expr_priv(const struct nft_expr *expr) in nft_expr_priv() argument
378 int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src);
379 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *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-v6.1/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()
103 static void nft_objref_map_eval(const struct nft_expr *expr, in nft_objref_map_eval()
127 const struct nft_expr *expr, in nft_objref_map_init()
159 static int nft_objref_map_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_map_dump()
174 const struct nft_expr *expr, in nft_objref_map_deactivate()
183 const struct nft_expr *expr) in nft_objref_map_activate()
[all …]
Dnft_immediate.c18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval()
47 const struct nft_expr *expr, in nft_immediate_init()
98 const struct nft_expr *expr) in nft_immediate_activate()
106 const struct nft_expr *expr, in nft_immediate_deactivate()
118 const struct nft_expr *expr) in nft_immediate_destroy()
150 static int nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_immediate_dump()
165 const struct nft_expr *expr, in nft_immediate_validate()
220 const struct nft_expr *expr) in nft_immediate_offload()
232 static bool nft_immediate_offload_action(const struct nft_expr *expr) in nft_immediate_offload_action()
243 const struct nft_expr *expr) in nft_immediate_reduce()
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()
59 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump()
74 const struct nft_expr *expr) in nft_fwd_netdev_offload()
82 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action()
93 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
155 const struct nft_expr *expr, in nft_fwd_neigh_init()
189 static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_neigh_dump()
205 const struct nft_expr *expr, in nft_fwd_validate()
Dnft_numgen.c36 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval()
53 const struct nft_expr *expr, in nft_ng_inc_init()
88 const struct nft_expr *expr) in nft_ng_inc_reduce()
115 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump()
124 const struct nft_expr *expr) in nft_ng_inc_destroy()
142 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval()
152 const struct nft_expr *expr, in nft_ng_random_init()
171 static int nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_random_dump()
180 const struct nft_expr *expr) in nft_ng_random_reduce()
Dnft_last.c25 static int nft_last_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_last_init()
56 static void nft_last_eval(const struct nft_expr *expr, in nft_last_eval()
68 static int nft_last_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_last_dump()
97 const struct nft_expr *expr) in nft_last_destroy()
104 static int nft_last_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_last_clone()
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()
70 static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) in nft_dup_netdev_offload_action()
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()
145 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval()
165 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
206 static void nft_masq_inet_eval(const struct nft_expr *expr, in nft_masq_inet_eval()
221 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()
150 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval()
173 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
201 static void nft_redir_inet_eval(const struct nft_expr *expr, in nft_redir_inet_eval()
216 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()
237 struct nft_expr *dynset_expr; in nft_dynset_init()
254 struct nft_expr *dynset_expr; in nft_dynset_init()
332 const struct nft_expr *expr, in nft_dynset_deactivate()
[all …]
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()
72 const struct nft_expr *expr, in nft_queue_validate()
104 const struct nft_expr *expr, in nft_queue_init()
133 const struct nft_expr *expr, in nft_queue_sreg_init()
155 static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_dump()
171 nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_sreg_dump()
Dnft_counter.c196 void nft_counter_eval(const struct nft_expr *expr, struct nft_regs *regs, 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_limit.c163 static void nft_limit_pkts_eval(const struct nft_expr *expr, in nft_limit_pkts_eval()
182 const struct nft_expr *expr, in nft_limit_pkts_init()
196 static int nft_limit_pkts_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_limit_pkts_dump()
204 const struct nft_expr *expr) in nft_limit_pkts_destroy()
211 static int nft_limit_pkts_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_limit_pkts_clone()
233 static void nft_limit_bytes_eval(const struct nft_expr *expr, in nft_limit_bytes_eval()
245 const struct nft_expr *expr, in nft_limit_bytes_init()
254 const struct nft_expr *expr) in nft_limit_bytes_dump()
262 const struct nft_expr *expr) in nft_limit_bytes_destroy()
269 static int nft_limit_bytes_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_limit_bytes_clone()
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_connlimit.c179 static void nft_connlimit_eval(const struct nft_expr *expr, in nft_connlimit_eval()
188 static int nft_connlimit_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_connlimit_dump()
196 const struct nft_expr *expr, in nft_connlimit_init()
205 const struct nft_expr *expr) in nft_connlimit_destroy()
212 static int nft_connlimit_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_connlimit_clone()
229 const struct nft_expr *expr) in nft_connlimit_destroy_clone()
237 static bool nft_connlimit_gc(struct net *net, const struct nft_expr *expr) in nft_connlimit_gc()
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_jhash_reduce()
179 const struct nft_expr *expr) in nft_symhash_dump()
199 const struct nft_expr *expr) in nft_symhash_reduce()
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()
257 const struct nft_expr *expr) in nft_lookup_reduce()
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()
95 static int nft_cmp_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_dump()
179 const struct nft_expr *expr) in nft_cmp_offload()
209 const struct nft_expr *expr, in nft_cmp_fast_init()
239 const struct nft_expr *expr) in nft_cmp_fast_offload()
256 static int nft_cmp_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_fast_dump()
310 const struct nft_expr *expr, in nft_cmp16_fast_init()
337 const struct nft_expr *expr) in nft_cmp16_fast_offload()
350 static int nft_cmp16_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp16_fast_dump()
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()
311 static void nft_exthdr_tcp_strip_eval(const struct nft_expr *expr, in nft_exthdr_tcp_strip_eval()
368 static void nft_exthdr_sctp_eval(const struct nft_expr *expr, in nft_exthdr_sctp_eval()
421 const struct nft_expr *expr, in nft_exthdr_init()
469 const struct nft_expr *expr, in nft_exthdr_tcp_set_init()
518 const struct nft_expr *expr, in nft_exthdr_tcp_strip_init()
540 const struct nft_expr *expr, in nft_exthdr_ipv4_init()
[all …]
Dnft_bitwise.c63 void nft_bitwise_eval(const struct nft_expr *expr, in nft_bitwise_eval()
161 const struct nft_expr *expr, in nft_bitwise_init()
235 static int nft_bitwise_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_bitwise_dump()
266 const struct nft_expr *expr) in nft_bitwise_offload()
284 const struct nft_expr *expr) in nft_bitwise_reduce()
361 const struct nft_expr *expr, in nft_bitwise_fast_init()
396 nft_bitwise_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_bitwise_fast_dump()
425 const struct nft_expr *expr) in nft_bitwise_fast_offload()
438 const struct nft_expr *expr) in nft_bitwise_fast_reduce()
517 const struct nft_expr *expr) in nft_expr_reduce_bitwise()
[all …]
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()
136 const struct nft_expr *expr) in nft_osf_reduce()

123