linux/security/smack/smack_netfilter.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Simplified MAC Kernel (smack) security module
 *
 *  This file contains the Smack netfilter implementation
 *
 *  Author:
 *	Casey Schaufler <[email protected]>
 *
 *  Copyright (C) 2014 Casey Schaufler <[email protected]>
 *  Copyright (C) 2014 Intel Corporation.
 */

#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv6.h>
#include <linux/netdevice.h>
#include <net/inet_sock.h>
#include <net/net_namespace.h>
#include "smack.h"

static unsigned int smack_ip_output(void *priv,
					struct sk_buff *skb,
					const struct nf_hook_state *state)
{}

static const struct nf_hook_ops smack_nf_ops[] =;

static int __net_init smack_nf_register(struct net *net)
{}

static void __net_exit smack_nf_unregister(struct net *net)
{}

static struct pernet_operations smack_net_ops =;

static int __init smack_nf_ip_init(void)
{}

__initcall(smack_nf_ip_init);