コード例 #1
0
ファイル: xt_LOG.c プロジェクト: realmz/blackfin-linux
static void __net_exit log_net_exit(struct net *net)
{
	nf_log_unset(net, &ipt_log_logger);
#if IS_ENABLED(CONFIG_IP6_NF_IPTABLES)
	nf_log_unset(net, &ip6t_log_logger);
#endif
}
コード例 #2
0
ファイル: ebt_ulog.c プロジェクト: 7799/linux
static void __net_exit ebt_ulog_net_fini(struct net *net)
{
	int i;
	struct ebt_ulog_net *ebt = ebt_ulog_pernet(net);

	nf_log_unset(net, &ebt_ulog_logger);
	for (i = 0; i < EBT_ULOG_MAXNLGROUPS; i++) {
		ebt_ulog_buff_t *ub = &ebt->ulog_buffers[i];
		del_timer(&ub->timer);

		if (ub->skb) {
			kfree_skb(ub->skb);
			ub->skb = NULL;
		}
	}
	netlink_kernel_release(ebt->ebtulognl);
}
コード例 #3
0
ファイル: nf_log_arp.c プロジェクト: iamroot12a/kernel
static void __net_exit nf_log_arp_net_exit(struct net *net)
{
    nf_log_unset(net, &nf_arp_logger);
}
コード例 #4
0
ファイル: nf_log_ipv6.c プロジェクト: AshishNamdev/linux
static void __net_exit nf_log_ipv6_net_exit(struct net *net)
{
	nf_log_unset(net, &nf_ip6_logger);
}
コード例 #5
0
ファイル: nf_log_bridge.c プロジェクト: 020gzh/linux
static void __net_exit nf_log_bridge_net_exit(struct net *net)
{
	nf_log_unset(net, &nf_bridge_logger);
}