コード例 #1
0
ファイル: xt_VLANTAG.c プロジェクト: darcyg/ap_project_v2
/*
 * vlantag_fini()
 * 	Module exit function.
 */
static void __exit vlantag_fini(void)
{
	offload_vlantag_unregister();

	xt_unregister_targets(vlantag_post, ARRAY_SIZE(vlantag_post));
	xt_unregister_matches(vlantag_pre, ARRAY_SIZE(vlantag_pre));
}
コード例 #2
0
ファイル: xt_set.c プロジェクト: 19Dan01/linux
static int __init xt_set_init(void)
{
	int ret = xt_register_matches(set_matches, ARRAY_SIZE(set_matches));

	if (!ret) {
		ret = xt_register_targets(set_targets,
					  ARRAY_SIZE(set_targets));
		if (ret)
			xt_unregister_matches(set_matches,
					      ARRAY_SIZE(set_matches));
	}
	return ret;
}
コード例 #3
0
ファイル: xt_VLANTAG.c プロジェクト: darcyg/ap_project_v2
/*
 * vlantag_init()
 *	Module init function.
 */
static int __init vlantag_init(void)
{
	int ret;

	offload_vlantag_register(vlantag_get_target_info);

	ret = xt_register_matches(vlantag_pre, ARRAY_SIZE(vlantag_pre));
	if (ret < 0) {
		DEBUGP("failed to register vlantag_pre\n");
		return ret;
	}

	ret = xt_register_targets(vlantag_post, ARRAY_SIZE(vlantag_post));
	if (ret < 0) {
		DEBUGP("failed to register vlantag_post\n");
		xt_unregister_matches(vlantag_pre, ARRAY_SIZE(vlantag_pre));
		return ret;
	}

	DEBUGP("vlantag_tg_init success\n");

	return 0;
}
コード例 #4
0
ファイル: xt_u32.c プロジェクト: cilynx/dd-wrt
static void __exit xt_u32_exit(void)
{
	xt_unregister_matches(u32_reg, ARRAY_SIZE(u32_reg));
}
コード例 #5
0
ファイル: xt_tcpmss.c プロジェクト: mobilipia/iods
static void __exit tcpmss_mt_exit(void)
{
	xt_unregister_matches(tcpmss_mt_reg, ARRAY_SIZE(tcpmss_mt_reg));
}
コード例 #6
0
ファイル: xt_tcpmss.c プロジェクト: Voskrese/mipsonqemu
static void __exit xt_tcpmss_fini(void)
{
	xt_unregister_matches(xt_tcpmss_match, ARRAY_SIZE(xt_tcpmss_match));
}
コード例 #7
0
ファイル: xt_bpf.c プロジェクト: Ayokunle/linux
static void __exit bpf_mt_exit(void)
{
	xt_unregister_matches(bpf_mt_reg, ARRAY_SIZE(bpf_mt_reg));
}
コード例 #8
0
static void __exit quota_mt2_exit(void)
{
	xt_unregister_matches(quota_mt2_reg, ARRAY_SIZE(quota_mt2_reg));
	remove_proc_entry("xt_quota", init_net.proc_net);
}
コード例 #9
0
ファイル: xt_set.c プロジェクト: 19Dan01/linux
static void __exit xt_set_fini(void)
{
	xt_unregister_matches(set_matches, ARRAY_SIZE(set_matches));
	xt_unregister_targets(set_targets, ARRAY_SIZE(set_targets));
}
コード例 #10
0
ファイル: xt_comment.c プロジェクト: acassis/emlinux-ssd1935
static void __exit xt_comment_fini(void)
{
	xt_unregister_matches(xt_comment_match, ARRAY_SIZE(xt_comment_match));
}
コード例 #11
0
ファイル: xt_multiport.c プロジェクト: gizm0n/wl500g
static void __exit xt_multiport_fini(void)
{
	xt_unregister_matches(xt_multiport_match,
			      ARRAY_SIZE(xt_multiport_match));
}
コード例 #12
0
ファイル: xt_dccp.c プロジェクト: kizukukoto/WDN900_GPL
static void __exit dccp_mt_exit(void)
{
	xt_unregister_matches(dccp_mt_reg, ARRAY_SIZE(dccp_mt_reg));
	kfree(dccp_optbuf);
}
コード例 #13
0
ファイル: xt_rateest.c プロジェクト: Soaa-/-lightspeed
static void __exit xt_rateest_mt_fini(void)
{
	xt_unregister_matches(xt_rateest_match, ARRAY_SIZE(xt_rateest_match));
}
コード例 #14
0
ファイル: xt_length.c プロジェクト: 274914765/C
static void __exit length_mt_exit(void)
{
    xt_unregister_matches(length_mt_reg, ARRAY_SIZE(length_mt_reg));
}
コード例 #15
0
ファイル: xt_string.c プロジェクト: Arakmar/G3MOD
static void __exit string_mt_exit(void)
{
	xt_unregister_matches(xt_string_mt_reg, ARRAY_SIZE(xt_string_mt_reg));
}
コード例 #16
0
ファイル: xt_dns.c プロジェクト: mimuret/iptables-ext-dns
static void __exit dns_mt_exit(void) {
    xt_unregister_matches(dns_mt_reg, ARRAY_SIZE(dns_mt_reg));
}
コード例 #17
0
ファイル: xt_esp.c プロジェクト: gizm0n/wl500g
static void __exit xt_esp_cleanup(void)
{
	xt_unregister_matches(xt_esp_match, ARRAY_SIZE(xt_esp_match));
}
コード例 #18
0
ファイル: xt_policy.c プロジェクト: 3sOx/asuswrt-merlin
static void __exit fini(void)
{
	xt_unregister_matches(xt_policy_match, ARRAY_SIZE(xt_policy_match));
}
コード例 #19
0
ファイル: xt_dns.c プロジェクト: oskar456/xt_dns
static void __exit dns_exit(void)
{
	printk("unregistering %s\n", "xt_dns");
	xt_unregister_matches(dns_reg, ARRAY_SIZE(dns_reg));
}
コード例 #20
0
ファイル: xt_connbytes.c プロジェクト: maliyu/SOM2416
static void __exit xt_connbytes_fini(void)
{
	xt_unregister_matches(xt_connbytes_match,
			      ARRAY_SIZE(xt_connbytes_match));
}
コード例 #21
0
ファイル: xt_owner.c プロジェクト: kizukukoto/WDN900_GPL
static void __exit owner_mt_exit(void)
{
	xt_unregister_matches(owner_mt_reg, ARRAY_SIZE(owner_mt_reg));
}
コード例 #22
0
ファイル: xt_l2tp.c プロジェクト: AlexShiLucky/linux
static void __exit l2tp_mt_exit(void)
{
	xt_unregister_matches(&l2tp_mt_reg[0], ARRAY_SIZE(l2tp_mt_reg));
}
コード例 #23
0
ファイル: xt_length.c プロジェクト: gizm0n/wl500g
static void __exit xt_length_fini(void)
{
	xt_unregister_matches(xt_length_match, ARRAY_SIZE(xt_length_match));
}
コード例 #24
0
ファイル: xt_multiport.c プロジェクト: johnny/CobraDroidBeta
static void __exit multiport_mt_exit(void)
{
	xt_unregister_matches(multiport_mt_reg, ARRAY_SIZE(multiport_mt_reg));
}
コード例 #25
0
static void __exit xt_quota_fini(void)
{
	xt_unregister_matches(xt_quota_match, ARRAY_SIZE(xt_quota_match));
}
コード例 #26
0
static void __exit addrtype_mt_exit(void)
{
	xt_unregister_matches(addrtype_mt_reg, ARRAY_SIZE(addrtype_mt_reg));
}
コード例 #27
0
static void __exit socket_mt_exit(void)
{
	xt_unregister_matches(socket_mt_reg, ARRAY_SIZE(socket_mt_reg));
}
コード例 #28
0
ファイル: xt_policy.c プロジェクト: Arakmar/G3MOD
static void __exit policy_mt_exit(void)
{
	xt_unregister_matches(policy_mt_reg, ARRAY_SIZE(policy_mt_reg));
}
コード例 #29
0
ファイル: xt_iprange.c プロジェクト: kizukukoto/WDN900_GPL
static void __exit iprange_mt_exit(void)
{
	xt_unregister_matches(iprange_mt_reg, ARRAY_SIZE(iprange_mt_reg));
}
コード例 #30
0
static void __exit pkttype_mt_exit(void)
{
	xt_unregister_matches(pkttype_mt_reg, ARRAY_SIZE(pkttype_mt_reg));
}