Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A 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()
49 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_validate()
58 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init()
84 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump()
101 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate()
112 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_activate()
119 .size = NFT_EXPR_SIZE(sizeof(struct nft_object *)),
143 struct nft_object *obj; in nft_objref_map_eval()
H A 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()
134 static void nft_connlimit_obj_update(struct nft_object *obj, in nft_connlimit_obj_update()
135 struct nft_object *newobj) in nft_connlimit_obj_update()
145 struct nft_object *obj) in nft_connlimit_obj_destroy()
153 struct nft_object *obj, bool reset) in nft_connlimit_obj_dump()
H A Dnft_quota.c55 static void nft_quota_obj_eval(struct nft_object *obj, in nft_quota_obj_eval()
118 struct nft_object *obj) in nft_quota_obj_init()
125 static void nft_quota_obj_update(struct nft_object *obj, in nft_quota_obj_update()
126 struct nft_object *newobj) in nft_quota_obj_update()
174 static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_quota_obj_dump()
183 struct nft_object *obj) in nft_quota_obj_destroy()
H A Dnft_limit.c330 static void nft_limit_obj_pkts_eval(struct nft_object *obj, in nft_limit_obj_pkts_eval()
342 struct nft_object *obj) in nft_limit_obj_pkts_init()
356 struct nft_object *obj, in nft_limit_obj_pkts_dump()
365 struct nft_object *obj) in nft_limit_obj_pkts_destroy()
382 static void nft_limit_obj_bytes_eval(struct nft_object *obj, in nft_limit_obj_bytes_eval()
395 struct nft_object *obj) in nft_limit_obj_bytes_init()
403 struct nft_object *obj, in nft_limit_obj_bytes_dump()
412 struct nft_object *obj) in nft_limit_obj_bytes_destroy()
H A Dnft_synproxy.c308 struct nft_object *obj) in nft_synproxy_obj_init()
316 struct nft_object *obj) in nft_synproxy_obj_destroy()
322 struct nft_object *obj, bool reset) in nft_synproxy_obj_dump()
329 static void nft_synproxy_obj_eval(struct nft_object *obj, in nft_synproxy_obj_eval()
338 static void nft_synproxy_obj_update(struct nft_object *obj, in nft_synproxy_obj_update()
339 struct nft_object *newobj) in nft_synproxy_obj_update()
H A Dnft_ct.c924 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval()
960 struct nft_object *obj) in nft_ct_timeout_obj_init()
1015 struct nft_object *obj) in nft_ct_timeout_obj_destroy()
1027 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump()
1077 struct nft_object *obj) in nft_ct_helper_obj_init()
1149 struct nft_object *obj) in nft_ct_helper_obj_destroy()
1162 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval()
1207 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump()
1271 struct nft_object *obj) in nft_ct_expect_obj_init()
1317 struct nft_object *obj) in nft_ct_expect_obj_destroy()
[all …]
H A Dnft_counter.c57 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval()
92 struct nft_object *obj) in nft_counter_obj_init()
105 struct nft_object *obj) in nft_counter_obj_destroy()
187 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
H A Dnft_meta.c936 static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs, in nft_secmark_obj_eval()
947 struct nft_object *obj) in nft_secmark_obj_init()
970 static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_secmark_obj_dump()
988 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
H A Dnft_tunnel.c447 struct nft_object *obj) in nft_tunnel_obj_init()
529 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval()
679 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump()
701 struct nft_object *obj) in nft_tunnel_obj_destroy()
H A Dnf_tables_api.c68 .head_offset = offsetof(struct nft_object, rhlhead),
69 .key_offset = offsetof(struct nft_object, key),
872 struct nft_object *obj) in nft_trans_obj_add()
889 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj()
1546 const struct nft_object *obj = data; in nft_objname_hash_obj()
1555 const struct nft_object *obj = ptr; in nft_objname_hash_cmp()
1685 struct nft_object *obj, *ne; in nft_flush_table()
5963 .len = sizeof(struct nft_object *),
5964 .align = __alignof__(struct nft_object *),
7170 struct nft_object *obj = NULL; in nft_add_set_elem()
[all …]
/linux/include/net/netfilter/
H A Dnf_tables.h861 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj()
1382 struct nft_object { struct
1397 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() argument
1402 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
1404 struct nft_object *nft_obj_lookup(const struct net *net,
1410 struct nft_object *obj, u32 portid, u32 seq,
1449 void (*eval)(struct nft_object *obj,
1455 struct nft_object *obj);
1457 struct nft_object *obj);
1459 struct nft_object *obj,
[all …]