include/net/netfilter/nf_tables.h
1033
void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule);
include/net/netfilter/nf_tables.h
1034
void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule,
include/net/netfilter/nf_tables.h
1036
void nf_tables_rule_destroy(const struct nft_ctx *ctx, struct nft_rule *rule);
include/net/netfilter/nf_tables.h
1158
int nft_chain_validate(const struct nft_ctx *ctx, struct nft_chain *chain);
include/net/netfilter/nf_tables.h
1159
int nft_setelem_validate(const struct nft_ctx *ctx, struct nft_set *set,
include/net/netfilter/nf_tables.h
1162
int nft_set_catchall_validate(const struct nft_ctx *ctx, struct nft_set *set);
include/net/netfilter/nf_tables.h
1163
int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain);
include/net/netfilter/nf_tables.h
1164
void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain);
include/net/netfilter/nf_tables.h
1426
const struct nft_object_ops *(*select_ops)(const struct nft_ctx *,
include/net/netfilter/nf_tables.h
1453
int (*init)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
1456
void (*destroy)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
1504
void nf_tables_deactivate_flowtable(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
1879
static inline void nft_ctx_update(struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
238
int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data,
include/net/netfilter/nf_tables.h
258
int nft_parse_register_load(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
260
int nft_parse_register_store(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
335
int (*fn)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
422
int nft_expr_inner_parse(const struct nft_ctx *ctx, const struct nlattr *nla,
include/net/netfilter/nf_tables.h
425
void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
include/net/netfilter/nf_tables.h
488
void (*walk)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
508
void (*destroy)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
677
void nf_tables_activate_set(const struct nft_ctx *ctx, struct nft_set *set);
include/net/netfilter/nf_tables.h
678
void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set,
include/net/netfilter/nf_tables.h
681
int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
include/net/netfilter/nf_tables.h
683
void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set);
include/net/netfilter/nf_tables.h
864
struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
873
int nft_set_elem_expr_clone(const struct nft_ctx *ctx, struct nft_set *set,
include/net/netfilter/nf_tables.h
875
void nft_set_elem_expr_destroy(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
880
void nf_tables_set_elem_destroy(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
901
const struct nft_expr_ops *(*select_ops)(const struct nft_ctx *,
include/net/netfilter/nf_tables.h
958
int (*init)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
961
void (*activate)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
963
void (*deactivate)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
966
void (*destroy)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
968
void (*destroy_clone)(const struct nft_ctx *ctx,
include/net/netfilter/nf_tables.h
973
int (*validate)(const struct nft_ctx *ctx,
include/net/netfilter/nft_fib.h
52
int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
include/net/netfilter/nft_fib.h
54
int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr);
include/net/netfilter/nft_meta.h
18
int nft_meta_get_init(const struct nft_ctx *ctx,
include/net/netfilter/nft_meta.h
22
int nft_meta_set_init(const struct nft_ctx *ctx,
include/net/netfilter/nft_meta.h
40
void nft_meta_set_destroy(const struct nft_ctx *ctx,
include/net/netfilter/nft_meta.h
43
int nft_meta_get_validate(const struct nft_ctx *ctx,
include/net/netfilter/nft_meta.h
45
int nft_meta_set_validate(const struct nft_ctx *ctx,
include/net/netfilter/nft_reject.h
17
int nft_reject_validate(const struct nft_ctx *ctx,
include/net/netfilter/nft_reject.h
20
int nft_reject_init(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_meta_bridge.c
112
static int nft_meta_bridge_get_validate(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_meta_bridge.c
158
static int nft_meta_bridge_set_init(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_meta_bridge.c
183
static int nft_meta_bridge_set_validate(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_meta_bridge.c
211
nft_meta_bridge_select_ops(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_meta_bridge.c
83
static int nft_meta_bridge_get_init(const struct nft_ctx *ctx,
net/bridge/netfilter/nft_reject_bridge.c
172
static int nft_reject_bridge_validate(const struct nft_ctx *ctx,
net/ipv4/netfilter/nft_dup_ipv4.c
33
static int nft_dup_ipv4_init(const struct nft_ctx *ctx,
net/ipv4/netfilter/nft_fib_ipv4.c
178
nft_fib4_select_ops(const struct nft_ctx *ctx,
net/ipv6/netfilter/nft_dup_ipv6.c
31
static int nft_dup_ipv6_init(const struct nft_ctx *ctx,
net/ipv6/netfilter/nft_fib_ipv6.c
278
nft_fib6_select_ops(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
10192
static void nft_obj_commit_update(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
10210
struct nft_ctx ctx = {
net/netfilter/nf_tables_api.c
10460
static void nft_trans_gc_setelem_remove(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
10483
struct nft_ctx ctx = {};
net/netfilter/nf_tables_api.c
10503
struct nft_ctx ctx = {};
net/netfilter/nf_tables_api.c
10892
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
11214
struct nft_ctx ctx = { };
net/netfilter/nf_tables_api.c
11270
struct nft_ctx ctx = {
net/netfilter/nf_tables_api.c
11644
int nft_parse_register_load(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
11678
static void nft_saw_register_store(const struct nft_ctx *__ctx,
net/netfilter/nf_tables_api.c
11682
struct nft_ctx *ctx = (struct nft_ctx *)__ctx;
net/netfilter/nf_tables_api.c
11690
static int nft_validate_register_store(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
11720
int nft_parse_register_store(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
11748
static int nft_verdict_init(const struct nft_ctx *ctx, struct nft_data *data,
net/netfilter/nf_tables_api.c
11857
static int nft_value_init(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
11905
int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data,
net/netfilter/nf_tables_api.c
12019
struct nft_ctx ctx = {
net/netfilter/nf_tables_api.c
1214
static void nf_tables_table_notify(const struct nft_ctx *ctx, int event)
net/netfilter/nf_tables_api.c
126
static bool nft_chain_vstate_valid(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
1407
static bool nft_table_pending_update(const struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
1427
static int nf_tables_updtable(struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
153
static void nft_ctx_init(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
1581
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
1671
static int nft_flush_table(struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
1742
static int nft_flush(struct nft_ctx *ctx, int family)
net/netfilter/nf_tables_api.c
176
static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
1784
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
2159
static void nf_tables_chain_notify(const struct nft_ctx *ctx, int event,
net/netfilter/nf_tables_api.c
225
static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
250
static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
255
static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
260
static void __nft_chain_trans_bind(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
2745
static int nf_tables_addchain(struct nft_ctx *ctx, u8 family, u8 policy,
net/netfilter/nf_tables_api.c
285
static void nft_chain_trans_bind(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
2891
static int nf_tables_updchain(struct nft_ctx *ctx, u8 genmask, u8 policy,
net/netfilter/nf_tables_api.c
291
int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain)
net/netfilter/nf_tables_api.c
311
void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain)
net/netfilter/nf_tables_api.c
3119
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
3234
static int nft_delchain_hook(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
3300
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
3526
static int nf_tables_expr_parse(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
3580
int nft_expr_inner_parse(const struct nft_ctx *ctx, const struct nlattr *nla,
net/netfilter/nf_tables_api.c
3629
static int nf_tables_newexpr(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
3649
static void nf_tables_expr_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
3659
static struct nft_expr *nft_expr_init(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
3716
void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr)
net/netfilter/nf_tables_api.c
3827
static void nf_tables_rule_notify(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
4117
void nf_tables_rule_destroy(const struct nft_ctx *ctx, struct nft_rule *rule)
net/netfilter/nf_tables_api.c
4135
static void nf_tables_rule_release(const struct nft_ctx *ctx, struct nft_rule *rule)
net/netfilter/nf_tables_api.c
4143
static void nft_chain_vstate_update(const struct nft_ctx *ctx, struct nft_chain *chain)
net/netfilter/nf_tables_api.c
4175
int nft_chain_validate(const struct nft_ctx *ctx, struct nft_chain *chain)
net/netfilter/nf_tables_api.c
4223
struct nft_ctx ctx = {
net/netfilter/nf_tables_api.c
4247
int nft_setelem_validate(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
4252
struct nft_ctx *pctx = (struct nft_ctx *)ctx;
net/netfilter/nf_tables_api.c
4280
int nft_set_catchall_validate(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
4328
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
4575
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
4673
nft_select_set_ops(const struct nft_ctx *ctx, u32 flags,
net/netfilter/nf_tables_api.c
4845
static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
4978
static int nf_tables_fill_set(struct sk_buff *skb, const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5090
static void nf_tables_set_notify(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5129
struct nft_ctx *ctx = cb->data, ctx_set;
net/netfilter/nf_tables_api.c
5186
struct nft_ctx *ctx_dump = NULL;
net/netfilter/nf_tables_api.c
5213
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
5341
static int nft_set_expr_alloc(struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
5443
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
5736
static void nft_set_catchall_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5756
static void nft_set_destroy(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
5781
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
5821
static int nft_validate_register_store(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5827
static int nft_setelem_data_validate(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5841
static int nf_tables_bind_check_setelem(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5854
static int nft_set_catchall_bind_check(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5876
int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
5917
static void nf_tables_unbind_set(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
5935
static int nft_mapelem_activate(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5952
static void nft_map_catchall_activate(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
5969
static void nft_map_activate(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
5983
void nf_tables_activate_set(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
5995
void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
6034
void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
610
static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type)
net/netfilter/nf_tables_api.c
6232
static int nf_tables_dump_setelem(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
625
static int nft_deltable(struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
6263
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
638
nft_trans_alloc_chain(const struct nft_ctx *ctx, int msg_type)
net/netfilter/nf_tables_api.c
6402
const struct nft_ctx *ctx, u32 seq,
net/netfilter/nf_tables_api.c
6460
static int nft_setelem_parse_key(struct nft_ctx *ctx, const struct nft_set *set,
net/netfilter/nf_tables_api.c
6472
static int nft_setelem_parse_data(struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
6513
static int nft_setelem_get(struct nft_ctx *ctx, const struct nft_set *set,
net/netfilter/nf_tables_api.c
6532
static int nft_get_set_elem(struct nft_ctx *ctx, const struct nft_set *set,
net/netfilter/nf_tables_api.c
654
static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type)
net/netfilter/nf_tables_api.c
6678
static void nf_tables_setelem_notify(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6714
static struct nft_trans *nft_trans_elem_alloc(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6732
struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
675
static int nft_delchain(struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
6828
static void __nft_set_elem_expr_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6839
void nft_set_elem_expr_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6850
static void __nft_set_elem_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6873
struct nft_ctx ctx = {
net/netfilter/nf_tables_api.c
6882
static void nft_trans_set_elem_destroy(const struct nft_ctx *ctx, struct nft_trans_elem *te)
net/netfilter/nf_tables_api.c
689
void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule)
net/netfilter/nf_tables_api.c
6898
void nf_tables_set_elem_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6910
static void nft_trans_elems_destroy(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
6919
int nft_set_elem_expr_clone(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
6947
static int nft_set_elem_expr_setup(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
702
void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule,
net/netfilter/nf_tables_api.c
7087
static void nft_trans_elems_add(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
717
nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule)
net/netfilter/nf_tables_api.c
7188
static void nft_trans_elems_remove(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
7248
static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
728
static struct nft_trans *nft_trans_rule_add(struct nft_ctx *ctx, int msg_type,
net/netfilter/nf_tables_api.c
748
static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule)
net/netfilter/nf_tables_api.c
7481
struct nft_ctx bind_ctx = {
net/netfilter/nf_tables_api.c
7673
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
7778
static bool nft_trans_elems_new_abort(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
778
static int nft_delrule_by_chain(struct nft_ctx *ctx)
net/netfilter/nf_tables_api.c
7807
static void nft_trans_elems_destroy_abort(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
7823
static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nf_tables_api.c
7917
static int nft_setelem_flush(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
794
static int __nft_trans_set_add(const struct nft_ctx *ctx, int msg_type,
net/netfilter/nf_tables_api.c
7945
static int __nft_set_catchall_flush(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
7962
static int nft_set_catchall_flush(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
7985
static int nft_set_flush(struct nft_ctx *ctx, struct nft_set *set, u8 genmask)
net/netfilter/nf_tables_api.c
8014
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
8153
static struct nft_object *nft_obj_init(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
826
static int nft_trans_set_add(const struct nft_ctx *ctx, int msg_type,
net/netfilter/nf_tables_api.c
8261
static int nf_tables_updobj(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
8306
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
832
static int nft_mapelem_deactivate(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
854
static void nft_map_catchall_deactivate(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
8656
static void nft_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj)
net/netfilter/nf_tables_api.c
8677
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
876
static void nft_map_deactivate(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
8770
static void nf_tables_obj_notify(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
8823
void nf_tables_deactivate_flowtable(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
8866
static int nft_flowtable_parse_hook(const struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
890
static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set)
net/netfilter/nf_tables_api.c
907
static int nft_trans_obj_add(struct nft_ctx *ctx, int msg_type,
net/netfilter/nf_tables_api.c
9101
static int nft_flowtable_update(struct nft_ctx *ctx, const struct nlmsghdr *nlh,
net/netfilter/nf_tables_api.c
9206
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
925
static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj)
net/netfilter/nf_tables_api.c
9337
static int nft_delflowtable_hook(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
940
nft_trans_flowtable_add(struct nft_ctx *ctx, int msg_type,
net/netfilter/nf_tables_api.c
9400
struct nft_ctx ctx;
net/netfilter/nf_tables_api.c
960
static int nft_delflowtable(struct nft_ctx *ctx,
net/netfilter/nf_tables_api.c
9668
static void nf_tables_flowtable_notify(struct nft_ctx *ctx,
net/netfilter/nft_bitwise.c
212
static int nft_bitwise_init_bool(const struct nft_ctx *ctx,
net/netfilter/nft_bitwise.c
250
static int nft_bitwise_init(const struct nft_ctx *ctx,
net/netfilter/nft_bitwise.c
434
static int nft_bitwise_fast_init(const struct nft_ctx *ctx,
net/netfilter/nft_bitwise.c
523
nft_bitwise_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_byteorder.c
83
static int nft_byteorder_init(const struct nft_ctx *ctx,
net/netfilter/nft_cmp.c
208
static int nft_cmp_fast_init(const struct nft_ctx *ctx,
net/netfilter/nft_cmp.c
309
static int nft_cmp16_fast_init(const struct nft_ctx *ctx,
net/netfilter/nft_cmp.c
381
nft_cmp_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[])
net/netfilter/nft_cmp.c
72
static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
145
const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
244
nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
300
nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_compat.c
31
static int nft_compat_chain_validate_dependency(const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
353
static int nft_target_validate(const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
400
static int nft_target_bridge_validate(const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
470
nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
522
__nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
550
nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
557
nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
575
__nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_compat.c
593
nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_compat.c
599
nft_match_large_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_compat.c
638
static int nft_match_validate(const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
823
nft_match_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_compat.c
903
nft_target_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
125
static int nft_connlimit_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
144
static void nft_connlimit_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
201
static int nft_connlimit_init(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
210
static void nft_connlimit_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
234
static void nft_connlimit_destroy_clone(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
53
static int nft_connlimit_do_init(const struct nft_ctx *ctx,
net/netfilter/nft_connlimit.c
93
static void nft_connlimit_do_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_counter.c
104
static void nft_counter_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_counter.c
233
static int nft_counter_init(const struct nft_ctx *ctx,
net/netfilter/nft_counter.c
242
static void nft_counter_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_counter.c
90
static int nft_counter_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
1026
static int nft_ct_helper_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
1099
static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
1229
static int nft_ct_expect_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
1279
static void nft_ct_expect_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
382
static void __nft_ct_get_destroy(const struct nft_ctx *ctx, struct nft_ct *priv)
net/netfilter/nft_ct.c
390
static int nft_ct_get_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
535
static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv)
net/netfilter/nft_ct.c
557
static int nft_ct_set_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
643
static void nft_ct_get_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
652
static void nft_ct_set_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
769
nft_ct_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
908
static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_ct.c
965
static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_dup_netdev.c
34
static int nft_dup_netdev_init(const struct nft_ctx *ctx,
net/netfilter/nft_dynset.c
135
nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set,
net/netfilter/nft_dynset.c
171
static int nft_dynset_init(const struct nft_ctx *ctx,
net/netfilter/nft_dynset.c
33
struct nft_ctx ctx = {
net/netfilter/nft_dynset.c
347
static void nft_dynset_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_dynset.c
356
static void nft_dynset_activate(const struct nft_ctx *ctx,
net/netfilter/nft_dynset.c
364
static void nft_dynset_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
498
static int nft_exthdr_init(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
549
static int nft_exthdr_tcp_set_init(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
598
static int nft_exthdr_tcp_strip_init(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
620
static int nft_exthdr_ipv4_init(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
643
static int nft_exthdr_dccp_init(const struct nft_ctx *ctx,
net/netfilter/nft_exthdr.c
767
nft_exthdr_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_fib.c
29
int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_fib.c
75
int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_fib_netdev.c
53
static int nft_fib_netdev_validate(const struct nft_ctx *ctx,
net/netfilter/nft_flow_offload.c
138
static int nft_flow_offload_validate(const struct nft_ctx *ctx,
net/netfilter/nft_flow_offload.c
156
static int nft_flow_offload_init(const struct nft_ctx *ctx,
net/netfilter/nft_flow_offload.c
180
static void nft_flow_offload_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_flow_offload.c
189
static void nft_flow_offload_activate(const struct nft_ctx *ctx,
net/netfilter/nft_flow_offload.c
197
static void nft_flow_offload_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_fwd_netdev.c
189
static int nft_fwd_neigh_init(const struct nft_ctx *ctx,
net/netfilter/nft_fwd_netdev.c
240
static int nft_fwd_validate(const struct nft_ctx *ctx,
net/netfilter/nft_fwd_netdev.c
269
nft_fwd_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_fwd_netdev.c
46
static int nft_fwd_netdev_init(const struct nft_ctx *ctx,
net/netfilter/nft_hash.c
117
static int nft_symhash_init(const struct nft_ctx *ctx,
net/netfilter/nft_hash.c
207
nft_hash_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_hash.c
70
static int nft_jhash_init(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
100
struct nft_ctx chain_ctx;
net/netfilter/nft_immediate.c
128
static void nft_immediate_chain_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
132
struct nft_ctx chain_ctx;
net/netfilter/nft_immediate.c
142
static void nft_immediate_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
186
static void nft_immediate_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
192
struct nft_ctx chain_ctx;
net/netfilter/nft_immediate.c
246
static int nft_immediate_validate(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
250
struct nft_ctx *pctx = (struct nft_ctx *)ctx;
net/netfilter/nft_immediate.c
46
static int nft_immediate_init(const struct nft_ctx *ctx,
net/netfilter/nft_immediate.c
95
static void nft_immediate_activate(const struct nft_ctx *ctx,
net/netfilter/nft_inner.c
335
static int nft_inner_init(const struct nft_ctx *ctx,
net/netfilter/nft_last.c
25
static int nft_last_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_last.c
97
static void nft_last_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
146
static void nft_limit_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
195
static int nft_limit_pkts_init(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
218
static void nft_limit_pkts_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
259
static int nft_limit_bytes_init(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
276
static void nft_limit_bytes_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
304
nft_limit_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
338
static int nft_limit_obj_pkts_init(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
362
static void nft_limit_obj_pkts_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
391
static int nft_limit_obj_bytes_init(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
409
static void nft_limit_obj_bytes_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_limit.c
428
nft_limit_obj_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_log.c
173
static void nft_log_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_log.c
89
static int nft_log_init(const struct nft_ctx *ctx,
net/netfilter/nft_lookup.c
134
static int nft_lookup_init(const struct nft_ctx *ctx,
net/netfilter/nft_lookup.c
199
static void nft_lookup_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_lookup.c
208
static void nft_lookup_activate(const struct nft_ctx *ctx,
net/netfilter/nft_lookup.c
216
static void nft_lookup_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_lookup.c
245
static int nft_lookup_validate(const struct nft_ctx *ctx,
net/netfilter/nft_masq.c
132
nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_masq.c
159
nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_masq.c
200
nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_masq.c
29
static int nft_masq_validate(const struct nft_ctx *ctx,
net/netfilter/nft_masq.c
42
static int nft_masq_init(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
521
int nft_meta_get_init(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
594
static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx)
net/netfilter/nft_meta.c
612
static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx)
net/netfilter/nft_meta.c
638
int nft_meta_get_validate(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
657
int nft_meta_set_validate(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
686
int nft_meta_set_init(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
758
void nft_meta_set_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
822
nft_meta_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
844
static int nft_meta_inner_init(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
956
static int nft_secmark_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_meta.c
999
static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj)
net/netfilter/nft_nat.c
139
static int nft_nat_validate(const struct nft_ctx *ctx,
net/netfilter/nft_nat.c
170
static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_nat.c
307
nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_numgen.c
114
static void nft_ng_inc_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_numgen.c
142
static int nft_ng_random_init(const struct nft_ctx *ctx,
net/netfilter/nft_numgen.c
190
nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[])
net/netfilter/nft_numgen.c
52
static int nft_ng_inc_init(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
109
static void nft_objref_activate(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
156
static int nft_objref_map_init(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
204
static void nft_objref_map_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
213
static void nft_objref_map_activate(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
221
static void nft_objref_map_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
229
static int nft_objref_map_validate(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
25
static int nft_objref_validate_obj_type(const struct nft_ctx *ctx, u32 type)
net/netfilter/nft_objref.c
250
nft_objref_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
46
static int nft_objref_validate(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
54
static int nft_objref_init(const struct nft_ctx *ctx,
net/netfilter/nft_objref.c
97
static void nft_objref_deactivate(const struct nft_ctx *ctx,
net/netfilter/nft_osf.c
115
static int nft_osf_validate(const struct nft_ctx *ctx,
net/netfilter/nft_osf.c
65
static int nft_osf_init(const struct nft_ctx *ctx,
net/netfilter/nft_payload.c
1160
static int nft_payload_set_init(const struct nft_ctx *ctx,
net/netfilter/nft_payload.c
1270
nft_payload_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_payload.c
222
static int nft_payload_init(const struct nft_ctx *ctx,
net/netfilter/nft_payload.c
615
static int nft_payload_inner_init(const struct nft_ctx *ctx,
net/netfilter/nft_payload.c
993
static bool nft_payload_validate_inet_csum_offset(const struct nft_ctx *ctx,
net/netfilter/nft_queue.c
102
static int nft_queue_init(const struct nft_ctx *ctx,
net/netfilter/nft_queue.c
131
static int nft_queue_sreg_init(const struct nft_ctx *ctx,
net/netfilter/nft_queue.c
206
nft_queue_select_ops(const struct nft_ctx *ctx,
net/netfilter/nft_queue.c
71
static int nft_queue_validate(const struct nft_ctx *ctx,
net/netfilter/nft_quota.c
110
static void nft_quota_do_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_quota.c
116
static int nft_quota_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_quota.c
182
static void nft_quota_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_quota.c
218
static int nft_quota_init(const struct nft_ctx *ctx,
net/netfilter/nft_quota.c
235
static void nft_quota_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_range.c
50
static int nft_range_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
net/netfilter/nft_redir.c
135
nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_redir.c
162
nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_redir.c
190
nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_redir.c
29
static int nft_redir_validate(const struct nft_ctx *ctx,
net/netfilter/nft_redir.c
43
static int nft_redir_init(const struct nft_ctx *ctx,
net/netfilter/nft_reject.c
26
int nft_reject_validate(const struct nft_ctx *ctx,
net/netfilter/nft_reject.c
37
int nft_reject_init(const struct nft_ctx *ctx,
net/netfilter/nft_reject_inet.c
63
static int nft_reject_inet_validate(const struct nft_ctx *ctx,
net/netfilter/nft_reject_netdev.c
147
static int nft_reject_netdev_validate(const struct nft_ctx *ctx,
net/netfilter/nft_rt.c
110
static int nft_rt_get_init(const struct nft_ctx *ctx,
net/netfilter/nft_rt.c
163
static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_set_bitmap.c
222
static void nft_bitmap_walk(const struct nft_ctx *ctx,
net/netfilter/nft_set_bitmap.c
279
static void nft_bitmap_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_set_hash.c
267
static void nft_rhash_walk_ro(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nft_set_hash.c
301
static void nft_rhash_walk_update(const struct nft_ctx *ctx,
net/netfilter/nft_set_hash.c
372
static void nft_rhash_walk(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nft_set_hash.c
538
const struct nft_ctx ctx;
net/netfilter/nft_set_hash.c
550
static void nft_rhash_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_set_hash.c
751
static void nft_hash_walk(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nft_set_hash.c
792
static void nft_hash_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_set_pipapo.c
2156
static void nft_pipapo_do_walk(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nft_set_pipapo.c
2195
static void nft_pipapo_walk(const struct nft_ctx *ctx, struct nft_set *set,
net/netfilter/nft_set_pipapo.c
2354
static void nft_set_pipapo_match_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_set_pipapo.c
2381
static void nft_pipapo_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_set_rbtree.c
840
static void nft_rbtree_do_walk(const struct nft_ctx *ctx,
net/netfilter/nft_set_rbtree.c
862
static void nft_rbtree_walk(const struct nft_ctx *ctx,
net/netfilter/nft_set_rbtree.c
988
static void nft_rbtree_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_socket.c
172
static int nft_socket_init(const struct nft_ctx *ctx,
net/netfilter/nft_socket.c
254
static int nft_socket_validate(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
152
static int nft_synproxy_do_init(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
207
static void nft_synproxy_do_destroy(const struct nft_ctx *ctx)
net/netfilter/nft_synproxy.c
250
static int nft_synproxy_validate(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
262
static int nft_synproxy_init(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
271
static void nft_synproxy_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
304
static int nft_synproxy_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_synproxy.c
313
static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_tproxy.c
191
static int nft_tproxy_init(const struct nft_ctx *ctx,
net/netfilter/nft_tproxy.c
273
static void nft_tproxy_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_tproxy.c
315
static int nft_tproxy_validate(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
165
static int nft_tunnel_obj_ip_init(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
194
static int nft_tunnel_obj_ip6_init(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
359
static int nft_tunnel_obj_opts_init(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
419
static int nft_tunnel_obj_init(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
674
static void nft_tunnel_obj_destroy(const struct nft_ctx *ctx,
net/netfilter/nft_tunnel.c
74
static int nft_tunnel_get_init(const struct nft_ctx *ctx,
net/netfilter/nft_xfrm.c
233
static int nft_xfrm_validate(const struct nft_ctx *ctx, const struct nft_expr *expr)
net/netfilter/nft_xfrm.c
33
static int nft_xfrm_get_init(const struct nft_ctx *ctx,