Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_tables_core.h100 struct nft_expr;
103 void nft_meta_get_eval(const struct nft_expr *expr,
105 void nft_cmp_eval(const struct nft_expr *expr,
107 void nft_lookup_eval(const struct nft_expr *expr,
109 void nft_payload_eval(const struct nft_expr *expr,
111 void nft_immediate_eval(const struct nft_expr *expr,
113 void nft_bitwise_eval(const struct nft_expr *expr,
115 void nft_range_eval(const struct nft_expr *expr,
117 void nft_byteorder_eval(const struct nft_expr *expr,
119 void nft_dynset_eval(const struct nft_expr *expr,
[all …]
H A 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,
H A 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,
H A Dnf_tables.h314 struct nft_expr;
346 const struct nft_expr *,
348 const struct nft_expr *expr,
456 struct nft_expr *expr;
657 static inline struct nft_expr *nft_set_ext_expr(const struct nft_set_ext *ext) in nft_set_ext_expr()
679 struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx,
802 struct nft_expr;
804 void (*eval)(const struct nft_expr *expr,
807 int (*clone)(struct nft_expr *dst,
808 const struct nft_expr *src);
[all …]
H A 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);
/OK3568_Linux_fs/kernel/net/netfilter/
H A 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 …]
H A 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()
H A 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()
80 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action()
91 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
153 const struct nft_expr *expr, in nft_fwd_neigh_init()
187 static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_neigh_dump()
203 const struct nft_expr *expr, in nft_fwd_validate()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
228 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
263 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy()
270 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
305 static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_target_dump()
323 const struct nft_expr *expr, in nft_target_validate()
346 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
374 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
383 static void nft_match_eval(const struct nft_expr *expr, in nft_match_eval()
[all …]
H A Dnft_lookup.c26 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval()
61 const struct nft_expr *expr, in nft_lookup_init()
122 const struct nft_expr *expr, in nft_lookup_deactivate()
131 const struct nft_expr *expr) in nft_lookup_activate()
139 const struct nft_expr *expr) in nft_lookup_destroy()
146 static int nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_lookup_dump()
198 const struct nft_expr *expr, in nft_lookup_validate()
H A 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()
H A 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()
196 const struct nft_expr *expr, in nft_cmp_fast_init()
226 const struct nft_expr *expr) in nft_cmp_fast_offload()
243 static int nft_cmp_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp_fast_dump()
296 const struct nft_expr *expr, in nft_cmp16_fast_init()
323 const struct nft_expr *expr) in nft_cmp16_fast_offload()
336 static int nft_cmp16_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_cmp16_fast_dump()
H A Dnft_dynset.c23 struct nft_expr *expr;
27 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
61 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
106 const struct nft_expr *expr, in nft_dynset_init()
223 const struct nft_expr *expr, in nft_dynset_deactivate()
232 const struct nft_expr *expr) in nft_dynset_activate()
240 const struct nft_expr *expr) in nft_dynset_destroy()
250 static int nft_dynset_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dynset_dump()
H A Dnft_flow_offload.c70 static void nft_flow_offload_eval(const struct nft_expr *expr, in nft_flow_offload_eval()
148 const struct nft_expr *expr, in nft_flow_offload_validate()
162 const struct nft_expr *expr, in nft_flow_offload_init()
184 const struct nft_expr *expr, in nft_flow_offload_deactivate()
193 const struct nft_expr *expr) in nft_flow_offload_activate()
201 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()
H A 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()
92 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump()
111 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval()
121 const struct nft_expr *expr, in nft_ng_random_init()
140 static int nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_random_dump()
H A 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()
H A 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()
H A Dnft_exthdr.c36 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval()
132 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval()
182 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval()
225 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval()
317 const struct nft_expr *expr, in nft_exthdr_init()
365 const struct nft_expr *expr, in nft_exthdr_tcp_set_init()
414 const struct nft_expr *expr, in nft_exthdr_ipv4_init()
453 static int nft_exthdr_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_exthdr_dump()
463 static int nft_exthdr_dump_set(struct sk_buff *skb, const struct nft_expr *expr) in nft_exthdr_dump_set()
H A 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()
H A Dnf_tables_core.c50 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval()
60 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval()
70 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval()
114 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval()
176 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval()
208 const struct nft_expr *expr, *last; in nft_do_chain()
H A Dnft_rt.c53 void nft_rt_get_eval(const struct nft_expr *expr, in nft_rt_get_eval()
111 const struct nft_expr *expr, in nft_rt_get_init()
149 const struct nft_expr *expr) in nft_rt_get_dump()
163 static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_rt_validate()

123