nft_object
static inline void *nft_obj_data(const struct nft_object *obj)
#define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr))
struct nft_object *nft_obj_lookup(const struct net *net,
struct nft_object *obj, u32 portid, u32 seq,
void (*eval)(struct nft_object *obj,
struct nft_object *obj);
struct nft_object *obj);
struct nft_object *obj,
void (*update)(struct nft_object *obj,
struct nft_object *newobj);
struct nft_object *obj;
struct nft_object *newobj;
static inline struct nft_object **nft_set_ext_obj(const struct nft_set_ext *ext)
struct nft_object *newobj;
struct nft_object *obj;
static void nft_obj_del(struct nft_object *obj)
struct nft_object *obj, *ne;
const struct nft_object *obj = data;
const struct nft_object *obj = ptr;
struct nft_object *obj, *ne;
.len = sizeof(struct nft_object *),
.align = __alignof__(struct nft_object *),
.head_offset = offsetof(struct nft_object, rhlhead),
.key_offset = offsetof(struct nft_object, key),
struct nft_object *obj = NULL;
struct nft_object *nft_obj_lookup(const struct net *net,
struct nft_object *obj;
static struct nft_object *nft_obj_lookup_byhandle(const struct nft_table *table,
struct nft_object *obj;
static struct nft_object *nft_obj_init(const struct nft_ctx *ctx,
struct nft_object *obj;
struct nft_object *obj, bool reset)
struct nft_object *obj)
struct nft_object *newobj;
struct nft_object *obj;
struct nft_object *obj, bool reset)
struct nft_object *obj;
struct nft_object *obj;
static void nft_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj)
struct nft_object *obj;
struct nft_object *obj, u32 portid, u32 seq, int event,
struct nft_object *obj, u32 portid, u32 seq, int event,
struct nft_object *obj, int event)
struct nft_object *obj)
static int nft_delobj(struct nft_ctx *ctx, struct nft_object *obj)
static inline void nft_connlimit_obj_eval(struct nft_object *obj,
struct nft_object *obj)
static void nft_connlimit_obj_update(struct nft_object *obj,
struct nft_object *newobj)
struct nft_object *obj)
struct nft_object *obj, bool reset)
struct nft_object *obj)
struct nft_object *obj, bool reset)
static inline void nft_counter_obj_eval(struct nft_object *obj,
struct nft_object *obj)
struct nft_object *obj)
struct nft_object *obj, bool reset)
struct nft_object *obj)
struct nft_object *obj)
static void nft_ct_helper_obj_eval(struct nft_object *obj,
struct nft_object *obj, bool reset)
struct nft_object *obj)
struct nft_object *obj)
struct nft_object *obj, bool reset)
static void nft_ct_expect_obj_eval(struct nft_object *obj,
static void nft_ct_timeout_obj_eval(struct nft_object *obj,
struct nft_object *obj)
static void nft_limit_obj_pkts_eval(struct nft_object *obj,
struct nft_object *obj)
struct nft_object *obj,
struct nft_object *obj)
static void nft_limit_obj_bytes_eval(struct nft_object *obj,
struct nft_object *obj)
struct nft_object *obj,
struct nft_object *obj)
static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs,
struct nft_object *obj)
static int nft_secmark_obj_dump(struct sk_buff *skb, struct nft_object *obj,
static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj)
struct nft_object *obj = nft_objref_priv(expr);
struct nft_object *obj = nft_objref_priv(expr);
.size = NFT_EXPR_SIZE(sizeof(struct nft_object *)),
#define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr))
struct nft_object *obj;
struct nft_object *obj = nft_objref_priv(expr);
struct nft_object *obj = nft_objref_priv(expr);
struct nft_object *obj = nft_objref_priv(expr);
const struct nft_object *obj = nft_objref_priv(expr);
struct nft_object *obj)
static void nft_quota_obj_update(struct nft_object *obj,
struct nft_object *newobj)
static int nft_quota_obj_dump(struct sk_buff *skb, struct nft_object *obj,
struct nft_object *obj)
static void nft_quota_obj_eval(struct nft_object *obj,
struct nft_object *obj)
struct nft_object *obj)
struct nft_object *obj, bool reset)
static void nft_synproxy_obj_eval(struct nft_object *obj,
static void nft_synproxy_obj_update(struct nft_object *obj,
struct nft_object *newobj)
struct nft_object *obj)
static inline void nft_tunnel_obj_eval(struct nft_object *obj,
struct nft_object *obj, bool reset)
struct nft_object *obj)