#ifndef _NF_CONNTRACK_EXTEND_H
#define _NF_CONNTRACK_EXTEND_H
#include <linux/slab.h>
#include <net/netfilter/nf_conntrack.h>
enum nf_ct_ext_id { … };
struct nf_ct_ext { … };
static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id)
{ … }
static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id)
{ … }
void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id);
static inline void *nf_ct_ext_find(const struct nf_conn *ct, u8 id)
{ … }
void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp);
extern atomic_t nf_conntrack_ext_genid;
void nf_ct_ext_bump_genid(void);
#endif