Home
last modified time | relevance | path

Searched refs:nft_object (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/net/netfilter/
Dnft_objref.c17 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr))
23 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval()
32 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init()
54 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump()
70 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_destroy()
78 .size = NFT_EXPR_SIZE(sizeof(struct nft_object *)),
98 struct nft_object *obj; in nft_objref_map_eval()
Dnft_limit.c242 static void nft_limit_obj_pkts_eval(struct nft_object *obj, in nft_limit_obj_pkts_eval()
254 struct nft_object *obj) in nft_limit_obj_pkts_init()
268 struct nft_object *obj, in nft_limit_obj_pkts_dump()
285 static void nft_limit_obj_bytes_eval(struct nft_object *obj, in nft_limit_obj_bytes_eval()
298 struct nft_object *obj) in nft_limit_obj_bytes_init()
306 struct nft_object *obj, in nft_limit_obj_bytes_dump()
Dnft_counter.c51 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval()
87 struct nft_object *obj) in nft_counter_obj_init()
100 struct nft_object *obj) in nft_counter_obj_destroy()
167 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
Dnft_connlimit.c116 static inline void nft_connlimit_obj_eval(struct nft_object *obj, in nft_connlimit_obj_eval()
127 struct nft_object *obj) in nft_connlimit_obj_init()
135 struct nft_object *obj) in nft_connlimit_obj_destroy()
143 struct nft_object *obj, bool reset) in nft_connlimit_obj_dump()
Dnft_quota.c51 static void nft_quota_obj_eval(struct nft_object *obj, in nft_quota_obj_eval()
104 struct nft_object *obj) in nft_quota_obj_init()
146 static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_quota_obj_dump()
Dnft_ct.c806 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval()
842 struct nft_object *obj) in nft_ct_timeout_obj_init()
898 struct nft_object *obj) in nft_ct_timeout_obj_destroy()
910 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump()
960 struct nft_object *obj) in nft_ct_helper_obj_init()
1032 struct nft_object *obj) in nft_ct_helper_obj_destroy()
1044 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval()
1085 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump()
Dnft_tunnel.c312 struct nft_object *obj) in nft_tunnel_obj_init()
386 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval()
492 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump()
514 struct nft_object *obj) in nft_tunnel_obj_destroy()
Dnf_tables_api.c336 struct nft_object *obj) in nft_trans_obj_add()
353 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj()
881 struct nft_object *obj, *ne; in nft_flush_table()
3693 .len = sizeof(struct nft_object *),
3694 .align = __alignof__(struct nft_object *),
4252 struct nft_object *obj = NULL; in nft_add_set_elem()
4755 struct nft_object *nft_obj_lookup(const struct nft_table *table, in nft_obj_lookup()
4759 struct nft_object *obj; in nft_obj_lookup()
4771 static struct nft_object *nft_obj_lookup_byhandle(const struct nft_table *table, in nft_obj_lookup_byhandle()
4775 struct nft_object *obj; in nft_obj_lookup_byhandle()
[all …]
/Linux-v4.19/include/net/netfilter/
Dnf_tables.h624 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj()
1021 struct nft_object { struct
1034 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() argument
1039 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
1041 struct nft_object *nft_obj_lookup(const struct nft_table *table,
1046 struct nft_object *obj, u32 portid, u32 seq,
1081 void (*eval)(struct nft_object *obj,
1087 struct nft_object *obj);
1089 struct nft_object *obj);
1091 struct nft_object *obj,
[all …]