nf_hook_ops
static const struct nf_hook_ops ipvl_nfops[] = {
static inline struct nf_hook_ops **nf_hook_entries_get_hook_ops(const struct nf_hook_entries *e)
return (struct nf_hook_ops **)hook_end;
int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops);
void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops);
int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
struct nf_hook_ops;
struct nf_hook_ops *ops;
const struct nf_hook_ops *template_ops,
struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);
const struct nf_hook_ops *ops);
const struct nf_hook_ops *ops);
struct nf_hook_ops *ops;
const struct nf_hook_ops *ops);
const struct nf_hook_ops *ops);
struct nf_hook_ops *ops;
struct nf_hook_ops;
int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops);
void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
const struct nf_hook_ops *nat_ops, unsigned int ops_count);
void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops);
void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops);
void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
int (*ops_register)(struct net *net, const struct nf_hook_ops *ops);
void (*ops_unregister)(struct net *net, const struct nf_hook_ops *ops);
struct nf_hook_ops *nft_hook_find_ops(const struct nft_hook *hook,
struct nf_hook_ops *nft_hook_find_ops_rcu(const struct nft_hook *hook,
struct nf_hook_ops ops;
static const struct nf_hook_ops br_nf_ops[] = {
struct nf_hook_ops **ops;
static const struct nf_hook_ops ebt_ops_broute = {
static const struct nf_hook_ops ebt_ops_filter[] = {
static const struct nf_hook_ops ebt_ops_nat[] = {
const struct nf_hook_ops *template_ops)
struct nf_hook_ops *ops;
static struct nf_hook_ops nf_ct_bridge_hook_ops[] __read_mostly = {
const struct nf_hook_ops *template_ops)
static struct nf_hook_ops *arpfilter_ops __read_mostly;
const struct nf_hook_ops *template_ops)
static struct nf_hook_ops *filter_ops __read_mostly;
static struct nf_hook_ops *mangle_ops __read_mostly;
struct nf_hook_ops *nf_nat_ops;
static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
struct nf_hook_ops *ops;
struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops;
static struct nf_hook_ops *rawtable_ops __read_mostly;
static struct nf_hook_ops *sectbl_ops __read_mostly;
static const struct nf_hook_ops ipv4_defrag_ops[] = {
static const struct nf_hook_ops ila_nf_hook_ops[] = {
const struct nf_hook_ops *template_ops)
static struct nf_hook_ops *filter_ops __read_mostly;
static struct nf_hook_ops *mangle_ops __read_mostly;
struct nf_hook_ops *nf_nat_ops;
static const struct nf_hook_ops nf_nat_ipv6_ops[] = {
struct nf_hook_ops *ops;
struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops;
static struct nf_hook_ops *rawtable_ops __read_mostly;
static struct nf_hook_ops *sectbl_ops __read_mostly;
static const struct nf_hook_ops ipv6_defrag_ops[] = {
struct nf_hook_ops **orig_ops = NULL;
struct nf_hook_ops **new_ops;
struct nf_hook_ops **orig_ops;
const struct nf_hook_ops *reg)
struct nf_hook_ops **orig_ops;
struct nf_hook_ops **new_ops;
static int nf_ingress_check(struct net *net, const struct nf_hook_ops *reg,
static inline bool __maybe_unused nf_ingress_hook(const struct nf_hook_ops *reg,
static inline bool __maybe_unused nf_egress_hook(const struct nf_hook_ops *reg,
static void nf_static_key_inc(const struct nf_hook_ops *reg, int pf)
static void nf_static_key_dec(const struct nf_hook_ops *reg, int pf)
const struct nf_hook_ops *reg)
const struct nf_hook_ops *unreg)
struct nf_hook_ops **orig_ops;
sizeof(struct nf_hook_ops *) * num +
const struct nf_hook_ops *reg)
void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg)
const struct nf_hook_ops *reg)
int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg)
int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
struct nf_hook_ops **ops;
static const struct nf_hook_ops dummy_ops = {
const struct nf_hook_ops *reg)
static const struct nf_hook_ops ip_vs_ops4[] = {
static const struct nf_hook_ops ip_vs_ops6[] = {
const struct nf_hook_ops *ops;
const struct nf_hook_ops *ops;
struct nf_hook_ops hook_ops;
static const struct nf_hook_ops ipv4_conntrack_ops[] = {
static const struct nf_hook_ops ipv6_conntrack_ops[] = {
const struct nf_hook_ops *reg);
const struct nf_hook_ops *reg);
int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count)
struct nf_hook_ops *nat_ops;
void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
struct nf_hook_ops *nat_ops;
struct nf_hook_ops *nat_hook_ops;
static const struct nf_hook_ops nf_nat_ipv6_ops[] = {
int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops)
void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops)
int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops)
void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops)
static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops)
void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops)
static const struct nf_hook_ops ipv6_synproxy_ops[] = {
static const struct nf_hook_ops ipv4_synproxy_ops[] = {
const struct nf_hook_ops *ops = &basechain->ops;
struct nf_hook_ops *ops;
ops = kzalloc_obj(struct nf_hook_ops, GFP_KERNEL_ACCOUNT);
static void nft_basechain_hook_init(struct nf_hook_ops *ops, u8 family,
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
struct nf_hook_ops *ops, *next;
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
const struct nf_hook_ops *ops;
const struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
struct nf_hook_ops *ops)
struct nf_hook_ops *ops;
struct nf_hook_ops *ops)
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
struct nf_hook_ops *nft_hook_find_ops(const struct nft_hook *hook,
struct nf_hook_ops *ops;
struct nf_hook_ops *nft_hook_find_ops_rcu(const struct nft_hook *hook,
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
ops = kzalloc_obj(struct nf_hook_ops,
struct nf_hook_ops *ops;
struct nf_hook_ops *ops;
const struct nf_hook_ops *ops,
struct nf_hook_ops * const *ops;
struct nf_hook_ops *ops;
sizeof(struct nf_hook_ops),
static int nft_nat_inet_reg(struct net *net, const struct nf_hook_ops *ops)
static void nft_nat_inet_unreg(struct net *net, const struct nf_hook_ops *ops)
const struct nf_hook_ops *ops = &basechain->ops;
const struct nf_hook_ops *ops = &basechain->ops;
const struct nf_hook_ops *ops = &basechain->ops;
const struct nf_hook_ops *ops = &basechain->ops;
const struct nf_hook_ops *template_ops,
struct nf_hook_ops *ops = NULL;
struct nf_hook_ops *ops = NULL;
struct nf_hook_ops *
struct nf_hook_ops *ops;
static const struct nf_hook_ops apparmor_nf_ops[] = {
static const struct nf_hook_ops selinux_nf_ops[] = {
static const struct nf_hook_ops smack_nf_ops[] = {