Home
last modified time | relevance | path

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

123

/Linux-v5.4/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,
Dnf_tables_core.h78 struct nft_expr;
81 void nft_meta_get_eval(const struct nft_expr *expr,
83 void nft_cmp_eval(const struct nft_expr *expr,
85 void nft_lookup_eval(const struct nft_expr *expr,
87 void nft_payload_eval(const struct nft_expr *expr,
89 void nft_immediate_eval(const struct nft_expr *expr,
91 void nft_bitwise_eval(const struct nft_expr *expr,
93 void nft_range_eval(const struct nft_expr *expr,
95 void nft_byteorder_eval(const struct nft_expr *expr,
97 void nft_dynset_eval(const struct nft_expr *expr,
[all …]
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.h297 struct nft_expr;
329 const struct nft_expr *,
331 const struct nft_expr *expr,
634 static inline struct nft_expr *nft_set_ext_expr(const struct nft_set_ext *ext) in nft_set_ext_expr()
775 struct nft_expr;
777 void (*eval)(const struct nft_expr *expr,
780 int (*clone)(struct nft_expr *dst,
781 const struct nft_expr *src);
785 const struct nft_expr *expr,
788 const 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-v5.4/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()
123 const struct nft_expr *expr, in nft_objref_map_init()
155 static int nft_objref_map_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_map_dump()
170 const struct nft_expr *expr, in nft_objref_map_deactivate()
179 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()
33 const struct nft_expr *expr, in nft_immediate_init()
65 const struct nft_expr *expr) in nft_immediate_activate()
73 const struct nft_expr *expr, in nft_immediate_deactivate()
84 static int nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_immediate_dump()
99 const struct nft_expr *expr, in nft_immediate_validate()
154 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()
80 static int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_masq_dump()
102 static void nft_masq_ipv4_eval(const struct nft_expr *expr, in nft_masq_ipv4_eval()
122 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy()
148 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval()
168 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
208 static void nft_masq_inet_eval(const struct nft_expr *expr, in nft_masq_inet_eval()
223 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()
82 static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_redir_dump()
105 static void nft_redir_ipv4_eval(const struct nft_expr *expr, in nft_redir_ipv4_eval()
127 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy()
153 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval()
176 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
203 static void nft_redir_inet_eval(const struct nft_expr *expr, in nft_redir_inet_eval()
218 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
Dnft_dynset.c23 struct nft_expr *expr;
27 static int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src) in nft_expr_clone()
44 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
78 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
84 const struct nft_expr *sexpr; in nft_dynset_eval()
129 const struct nft_expr *expr, in nft_dynset_init()
257 const struct nft_expr *expr, in nft_dynset_deactivate()
266 const struct nft_expr *expr) in nft_dynset_activate()
274 const struct nft_expr *expr) in nft_dynset_destroy()
284 static int nft_dynset_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dynset_dump()
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_fwd_netdev.c24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval()
42 const struct nft_expr *expr, in nft_fwd_netdev_init()
54 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump()
69 const struct nft_expr *expr) in nft_fwd_netdev_offload()
83 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
144 const struct nft_expr *expr, in nft_fwd_neigh_init()
178 static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_neigh_dump()
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_lookup.c26 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval()
58 const struct nft_expr *expr, in nft_lookup_init()
119 const struct nft_expr *expr, in nft_lookup_deactivate()
128 const struct nft_expr *expr) in nft_lookup_activate()
136 const struct nft_expr *expr) in nft_lookup_destroy()
143 static int nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_lookup_dump()
195 const struct nft_expr *expr, in nft_lookup_validate()
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()
94 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump()
116 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval()
126 const struct nft_expr *expr, in nft_ng_random_init()
149 static int nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_random_dump()
Dnft_cmp.c25 void nft_cmp_eval(const struct nft_expr *expr, in nft_cmp_eval()
71 static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_cmp_init()
93 static int nft_cmp_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_dump()
135 const struct nft_expr *expr) in nft_cmp_offload()
152 const struct nft_expr *expr, in nft_cmp_fast_init()
181 const struct nft_expr *expr) in nft_cmp_fast_offload()
198 static int nft_cmp_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_fast_dump()
Dnft_flow_offload.c70 static void nft_flow_offload_eval(const struct nft_expr *expr, in nft_flow_offload_eval()
145 const struct nft_expr *expr, in nft_flow_offload_validate()
159 const struct nft_expr *expr, in nft_flow_offload_init()
181 const struct nft_expr *expr, in nft_flow_offload_deactivate()
190 const struct nft_expr *expr) in nft_flow_offload_activate()
198 const struct nft_expr *expr) in nft_flow_offload_destroy()
206 static int nft_flow_offload_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_flow_offload_dump()
Dnft_compat.c67 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt()
93 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge()
217 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
251 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
287 static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_target_dump()
305 const struct nft_expr *expr, in nft_target_validate()
328 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
356 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
365 static void nft_match_eval(const struct nft_expr *expr, in nft_match_eval()
432 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
[all …]
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()
143 const struct nft_expr *expr) in nft_jhash_dump()
170 const struct nft_expr *expr) in nft_symhash_dump()
Dnft_counter.c194 static void nft_counter_eval(const struct nft_expr *expr, in nft_counter_eval()
203 static int nft_counter_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_counter_dump()
211 const struct nft_expr *expr, in nft_counter_init()
220 const struct nft_expr *expr) in nft_counter_destroy()
227 static int nft_counter_clone(struct nft_expr *dst, const struct nft_expr *src) in nft_counter_clone()
Dnft_osf.c20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval()
56 const struct nft_expr *expr, in nft_osf_init()
87 static int nft_osf_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_osf_dump()
107 const struct nft_expr *expr, in nft_osf_validate()
Dnft_reject.c27 const struct nft_expr *expr, in nft_reject_validate()
38 const struct nft_expr *expr, in nft_reject_init()
62 int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_reject_dump()
Dnft_meta.c59 void nft_meta_get_eval(const struct nft_expr *expr, in nft_meta_get_eval()
269 void nft_meta_set_eval(const struct nft_expr *expr, in nft_meta_set_eval()
318 const struct nft_expr *expr, in nft_meta_get_init()
390 const struct nft_expr *expr, in nft_meta_get_validate()
422 const struct nft_expr *expr, in nft_meta_set_validate()
452 const struct nft_expr *expr, in nft_meta_set_init()
491 const struct nft_expr *expr) in nft_meta_get_dump()
506 int nft_meta_set_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_meta_set_dump()
523 const struct nft_expr *expr) in nft_meta_set_destroy()
534 const struct nft_expr *expr) in nft_meta_get_offload()
/Linux-v5.4/net/ipv4/netfilter/
Dnft_dup_ipv4.c20 static void nft_dup_ipv4_eval(const struct nft_expr *expr, in nft_dup_ipv4_eval()
34 const struct nft_expr *expr, in nft_dup_ipv4_init()
55 static int nft_dup_ipv4_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_ipv4_dump()

123