Home
last modified time | relevance | path

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

/Linux-v5.15/net/netfilter/
Dnft_objref.c14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr))
20 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval()
29 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init()
52 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump()
69 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate()
80 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_activate()
88 .size = NFT_EXPR_SIZE(sizeof(struct nft_object *)),
110 struct nft_object *obj; in nft_objref_map_eval()
Dnft_quota.c49 static void nft_quota_obj_eval(struct nft_object *obj, in nft_quota_obj_eval()
102 struct nft_object *obj) in nft_quota_obj_init()
109 static void nft_quota_obj_update(struct nft_object *obj, in nft_quota_obj_update()
110 struct nft_object *newobj) in nft_quota_obj_update()
157 static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_quota_obj_dump()
Dnft_limit.c239 static void nft_limit_obj_pkts_eval(struct nft_object *obj, in nft_limit_obj_pkts_eval()
251 struct nft_object *obj) in nft_limit_obj_pkts_init()
265 struct nft_object *obj, in nft_limit_obj_pkts_dump()
282 static void nft_limit_obj_bytes_eval(struct nft_object *obj, in nft_limit_obj_bytes_eval()
295 struct nft_object *obj) in nft_limit_obj_bytes_init()
303 struct nft_object *obj, in nft_limit_obj_bytes_dump()
Dnft_synproxy.c301 struct nft_object *obj) in nft_synproxy_obj_init()
309 struct nft_object *obj) in nft_synproxy_obj_destroy()
315 struct nft_object *obj, bool reset) in nft_synproxy_obj_dump()
322 static void nft_synproxy_obj_eval(struct nft_object *obj, in nft_synproxy_obj_eval()
331 static void nft_synproxy_obj_update(struct nft_object *obj, in nft_synproxy_obj_update()
332 struct nft_object *newobj) in nft_synproxy_obj_update()
Dnft_connlimit.c108 static inline void nft_connlimit_obj_eval(struct nft_object *obj, in nft_connlimit_obj_eval()
119 struct nft_object *obj) in nft_connlimit_obj_init()
127 struct nft_object *obj) in nft_connlimit_obj_destroy()
135 struct nft_object *obj, bool reset) in nft_connlimit_obj_dump()
Dnft_counter.c49 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval()
85 struct nft_object *obj) in nft_counter_obj_init()
98 struct nft_object *obj) in nft_counter_obj_destroy()
165 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
Dnft_ct.c830 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval()
866 struct nft_object *obj) in nft_ct_timeout_obj_init()
921 struct nft_object *obj) in nft_ct_timeout_obj_destroy()
932 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump()
982 struct nft_object *obj) in nft_ct_helper_obj_init()
1054 struct nft_object *obj) in nft_ct_helper_obj_destroy()
1066 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval()
1107 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump()
1171 struct nft_object *obj) in nft_ct_expect_obj_init()
1194 struct nft_object *obj) in nft_ct_expect_obj_destroy()
[all …]
Dnft_meta.c830 static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs, in nft_secmark_obj_eval()
841 struct nft_object *obj) in nft_secmark_obj_init()
864 static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_secmark_obj_dump()
882 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
Dnft_tunnel.c414 struct nft_object *obj) in nft_tunnel_obj_init()
495 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval()
645 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump()
667 struct nft_object *obj) in nft_tunnel_obj_destroy()
Dnf_tables_api.c63 .head_offset = offsetof(struct nft_object, rhlhead),
64 .key_offset = offsetof(struct nft_object, key),
488 struct nft_object *obj) in nft_trans_obj_add()
505 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj()
1058 const struct nft_object *obj = data; in nft_objname_hash_obj()
1067 const struct nft_object *obj = ptr; in nft_objname_hash_cmp()
1169 struct nft_object *obj, *ne; in nft_flush_table()
4701 .len = sizeof(struct nft_object *),
4702 .align = __alignof__(struct nft_object *),
5683 struct nft_object *obj = NULL; in nft_add_set_elem()
[all …]
/Linux-v5.15/include/net/netfilter/
Dnf_tables.h726 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj()
1176 struct nft_object { struct
1191 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() argument
1196 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
1198 struct nft_object *nft_obj_lookup(const struct net *net,
1204 struct nft_object *obj, u32 portid, u32 seq,
1240 void (*eval)(struct nft_object *obj,
1246 struct nft_object *obj);
1248 struct nft_object *obj);
1250 struct nft_object *obj,
[all …]