Searched refs:nft_object (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/net/netfilter/ |
D | nft_objref.c | 14 #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 *)), 109 struct nft_object *obj; in nft_objref_map_eval()
|
D | nft_quota.c | 49 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()
|
D | nft_limit.c | 239 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()
|
D | nft_synproxy.c | 301 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()
|
D | nft_connlimit.c | 108 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()
|
D | nft_counter.c | 48 static inline void nft_counter_obj_eval(struct nft_object *obj, in nft_counter_obj_eval() 84 struct nft_object *obj) in nft_counter_obj_init() 97 struct nft_object *obj) in nft_counter_obj_destroy() 164 struct nft_object *obj, bool reset) in nft_counter_obj_dump()
|
D | nft_ct.c | 826 static void nft_ct_timeout_obj_eval(struct nft_object *obj, in nft_ct_timeout_obj_eval() 862 struct nft_object *obj) in nft_ct_timeout_obj_init() 917 struct nft_object *obj) in nft_ct_timeout_obj_destroy() 928 struct nft_object *obj, bool reset) in nft_ct_timeout_obj_dump() 978 struct nft_object *obj) in nft_ct_helper_obj_init() 1050 struct nft_object *obj) in nft_ct_helper_obj_destroy() 1062 static void nft_ct_helper_obj_eval(struct nft_object *obj, in nft_ct_helper_obj_eval() 1103 struct nft_object *obj, bool reset) in nft_ct_helper_obj_dump() 1167 struct nft_object *obj) in nft_ct_expect_obj_init() 1190 struct nft_object *obj) in nft_ct_expect_obj_destroy() [all …]
|
D | nft_meta.c | 638 static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs, in nft_secmark_obj_eval() 649 struct nft_object *obj) in nft_secmark_obj_init() 672 static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj, in nft_secmark_obj_dump() 690 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
|
D | nft_tunnel.c | 343 struct nft_object *obj) in nft_tunnel_obj_init() 424 static inline void nft_tunnel_obj_eval(struct nft_object *obj, in nft_tunnel_obj_eval() 530 struct nft_object *obj, bool reset) in nft_tunnel_obj_dump() 552 struct nft_object *obj) in nft_tunnel_obj_destroy()
|
D | nf_tables_api.c | 58 .head_offset = offsetof(struct nft_object, rhlhead), 59 .key_offset = offsetof(struct nft_object, key), 379 struct nft_object *obj) in nft_trans_obj_add() 396 static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj) in nft_delobj() 855 const struct nft_object *obj = data; in nft_objname_hash_obj() 864 const struct nft_object *obj = ptr; in nft_objname_hash_cmp() 952 struct nft_object *obj, *ne; in nft_flush_table() 3899 .len = sizeof(struct nft_object *), 3900 .align = __alignof__(struct nft_object *), 4461 struct nft_object *obj = NULL; in nft_add_set_elem() [all …]
|
/Linux-v5.4/include/net/netfilter/ |
D | nf_tables.h | 651 static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext) in nft_set_ext_obj() 1068 struct nft_object { struct 1081 static inline void *nft_obj_data(const struct nft_object *obj) in nft_obj_data() argument 1086 #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr)) 1088 struct nft_object *nft_obj_lookup(const struct net *net, 1094 struct nft_object *obj, u32 portid, u32 seq, 1130 void (*eval)(struct nft_object *obj, 1136 struct nft_object *obj); 1138 struct nft_object *obj); 1140 struct nft_object *obj, [all …]
|