Home
last modified time | relevance | path

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

/linux-6.1.9/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 *)),
111 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()
112 struct nft_object *obj) in nft_quota_obj_init()
119 static void nft_quota_obj_update(struct nft_object *obj, in nft_quota_obj_update()
120 struct nft_object *newobj) in nft_quota_obj_update()
167 static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_quota_obj_dump()
176 struct nft_object *obj) in nft_quota_obj_destroy()
Dnft_limit.c313 static void nft_limit_obj_pkts_eval(struct nft_object *obj, in nft_limit_obj_pkts_eval()
325 struct nft_object *obj) in nft_limit_obj_pkts_init()
339 struct nft_object *obj, in nft_limit_obj_pkts_dump()
348 struct nft_object *obj) in nft_limit_obj_pkts_destroy()
365 static void nft_limit_obj_bytes_eval(struct nft_object *obj, in nft_limit_obj_bytes_eval()
378 struct nft_object *obj) in nft_limit_obj_bytes_init()
386 struct nft_object *obj, in nft_limit_obj_bytes_dump()
395 struct nft_object *obj) in nft_limit_obj_bytes_destroy()
Dnft_synproxy.c304 struct nft_object *obj) in nft_synproxy_obj_init()
312 struct nft_object *obj) in nft_synproxy_obj_destroy()
318 struct nft_object *obj, bool reset) in nft_synproxy_obj_dump()
325 static void nft_synproxy_obj_eval(struct nft_object *obj, in nft_synproxy_obj_eval()
334 static void nft_synproxy_obj_update(struct nft_object *obj, in nft_synproxy_obj_update()
335 struct nft_object *newobj) in nft_synproxy_obj_update()
Dnft_counter.c50 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval()
86 struct nft_object *obj) in nft_counter_obj_init()
99 struct nft_object *obj) in nft_counter_obj_destroy()
166 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
Dnft_connlimit.c122 static inline void nft_connlimit_obj_eval(struct nft_object *obj, in nft_connlimit_obj_eval()
133 struct nft_object *obj) in nft_connlimit_obj_init()
141 struct nft_object *obj) in nft_connlimit_obj_destroy()
149 struct nft_object *obj, bool reset) in nft_connlimit_obj_dump()
Dnft_ct.c879 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval()
915 struct nft_object *obj) in nft_ct_timeout_obj_init()
970 struct nft_object *obj) in nft_ct_timeout_obj_destroy()
981 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump()
1031 struct nft_object *obj) in nft_ct_helper_obj_init()
1103 struct nft_object *obj) in nft_ct_helper_obj_destroy()
1115 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval()
1156 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump()
1220 struct nft_object *obj) in nft_ct_expect_obj_init()
1243 struct nft_object *obj) in nft_ct_expect_obj_destroy()
[all …]
Dnft_meta.c872 static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs, in nft_secmark_obj_eval()
883 struct nft_object *obj) in nft_secmark_obj_init()
906 static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_secmark_obj_dump()
924 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
Dnft_tunnel.c444 struct nft_object *obj) in nft_tunnel_obj_init()
525 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval()
675 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump()
697 struct nft_object *obj) in nft_tunnel_obj_destroy()
Dnf_tables_api.c62 .head_offset = offsetof(struct nft_object, rhlhead),
63 .key_offset = offsetof(struct nft_object, key),
515 struct nft_object *obj) in nft_trans_obj_add()
532 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj()
1138 const struct nft_object *obj = data; in nft_objname_hash_obj()
1147 const struct nft_object *obj = ptr; in nft_objname_hash_cmp()
1276 struct nft_object *obj, *ne; in nft_flush_table()
4924 .len = sizeof(struct nft_object *),
4925 .align = __alignof__(struct nft_object *),
5970 struct nft_object *obj = NULL; in nft_add_set_elem()
[all …]
/linux-6.1.9/include/net/netfilter/
Dnf_tables.h787 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj()
1252 struct nft_object { struct
1267 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() argument
1272 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
1274 struct nft_object *nft_obj_lookup(const struct net *net,
1280 struct nft_object *obj, u32 portid, u32 seq,
1316 void (*eval)(struct nft_object *obj,
1322 struct nft_object *obj);
1324 struct nft_object *obj);
1326 struct nft_object *obj,
[all …]