亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? iptables.diff

?? 基于linux內核2.6.9的mpls補丁
?? DIFF
字號:
diff -uNr iptables/extensions/libip6t_spec_nh.c iptables-mpls/extensions/libip6t_spec_nh.c--- iptables/extensions/libip6t_spec_nh.c	1969-12-31 18:00:00.000000000 -0600+++ iptables-mpls/extensions/libip6t_spec_nh.c	2004-10-10 20:51:16.000000000 -0500@@ -0,0 +1,130 @@+/* Shared library add-on to iptables to add spec_nh target support. */+#include <stdio.h>+#include <string.h>+#include <stdlib.h>+#include <getopt.h>++#include <ip6tables.h>+#include <linux/netfilter_ipv6/ip6_tables.h>+#include <linux/netfilter_ipv6/ip6t_spec_nh.h>++/* Function which prints out usage message. */+static void+help(void)+{+	printf(+"spec_nh target v%s options:\n"+"  --spec_nh proto:value	     Set a special nexthop\n"+"\n",+IPTABLES_VERSION);+}++static struct option opts[] = {+	{ .name = "spec_nh", .has_arg = 1, .flag = 0, .val = '1' },+	{ .name = 0 }+};++/* Initialize the target. */+static void+init(struct ip6t_entry_target *t, unsigned int *nfcache)+{+}++/* Function which parses command options; returns true if it+   ate an option */+static int+parse(int c, char **argv, int invert, unsigned int *flags,+      const struct ip6t_entry *entry,+      struct ip6t_entry_target **target)+{+	char *prot;+	char *value;+	unsigned int temp;+	struct ip6t_spec_nh_target_info *spec_nh_info+		= (struct ip6t_spec_nh_target_info *)(*target)->data;++	switch (c) {+	case '1':+		if (*flags) {+			exit_error(PARAMETER_PROBLEM,+				   "spec_nh target: Can't specify --spec_nh twice");+		}++		prot = strtok(optarg,":");+		value = strtok(NULL,":");++		if ((!prot) || string_to_number(prot, 0, 0xffff,+						 (unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM,+				   "Bad spec_nh proto `%s'", prot);+		}++		spec_nh_info->proto = htons((unsigned short)temp);++		if ((!value) || string_to_number(value, 0, 0xffffffff,+						 (unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM,+				   "Bad spec_nh value `%s'", optarg);+		}++		spec_nh_info->data = (unsigned int)temp;+		*flags = 1;+		break;+	default:+		return 0;+	}++	return 1;+}++static void+final_check(unsigned int flags)+{+	if (!flags)+		exit_error(PARAMETER_PROBLEM,+			   "spec_nh target: Parameter --spec_nh is required");+}++/* Prints out the targinfo. */+static void+print(const struct ip6t_ip6 *ip,+      const struct ip6t_entry_target *target,+      int numeric)+{+	const struct ip6t_spec_nh_target_info *spec_nh_info =+		(const struct ip6t_spec_nh_target_info *)target->data;++	printf("spec_nh set 0x%04x:0x%08x ",spec_nh_info->proto,+		spec_nh_info->data);+}++/* Saves the union ipt_targinfo in parsable form to stdout. */+static void+save(const struct ip6t_ip6 *ip, const struct ip6t_entry_target *target)+{+	const struct ip6t_spec_nh_target_info *spec_nh_info =+		(const struct ip6t_spec_nh_target_info *)target->data;++	printf("--spec_nh 0x%04x:0x%08x ",spec_nh_info->proto,+		spec_nh_info->data);+}++static+struct ip6tables_target spec_nh = {+	.name	  = "spec_nh",+	.version  = IPTABLES_VERSION,+	.size	  = IP6T_ALIGN(sizeof(struct ip6t_spec_nh_target_info)),+	.userspacesize = IP6T_ALIGN(sizeof(struct ip6t_spec_nh_target_info)),+	.help	  = &help,+	.init	  = &init,+	.parse	  = &parse,+	.final_check   = &final_check,+	.print	  = &print,+	.save	  = &save,+	.extra_opts = opts+};++void _init(void)+{+	register_target6(&spec_nh);+}diff -uNr iptables/extensions/libipt_spec_nh.c iptables-mpls/extensions/libipt_spec_nh.c--- iptables/extensions/libipt_spec_nh.c	1969-12-31 18:00:00.000000000 -0600+++ iptables-mpls/extensions/libipt_spec_nh.c	2004-10-10 20:50:20.000000000 -0500@@ -0,0 +1,136 @@+/* Shared library add-on to iptables to add spec_nh target support. */+#include <stdio.h>+#include <string.h>+#include <stdlib.h>+#include <getopt.h>++#include <iptables.h>+#include <linux/netfilter_ipv4/ip_tables.h>+#include <linux/netfilter_ipv4/ipt_spec_nh.h>++struct spec_nh_info {+	struct ipt_entry_target t;+	struct ipt_spec_nh_target_info spec_nh;+};++/* Function which prints out usage message. */+static void+help(void)+{+	printf(+"spec_nh target v%s options:\n"+"  --spec_nh proto:value                 Set a special next hop\n"+"\n",+IPTABLES_VERSION);+}++static struct option opts[] = {+	{ "spec_nh", 1, 0, '1' },+	{ 0 }+};++/* Initialize the target. */+static void+init(struct ipt_entry_target *t, unsigned int *nfcache)+{+}++/* Function which parses command options; returns true if it+   ate an option */+static int+parse(int c, char **argv, int invert, unsigned int *flags,+      const struct ipt_entry *entry,+      struct ipt_entry_target **target)+{+	char *prot;+	char *value;+	unsigned int temp;+	struct ipt_spec_nh_target_info *spec_nh_info+		= (struct ipt_spec_nh_target_info *)(*target)->data;++	switch (c) {+	case '1':+		if (*flags) {+			exit_error(PARAMETER_PROBLEM,+				   "spec_nh target: Can't specify --spec_nh twice");+		}++		prot = strtok(optarg,":");+		value = strtok(NULL,":");++		if ((!prot) || string_to_number(prot, 0, 0xffff,+						 (unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM,+				   "Bad spec_nh proto `%s'", prot);+		}++		spec_nh_info->proto = htons((unsigned short)temp);++		if ((!value) || string_to_number(value, 0, 0xffffffff, +						 (unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM,+				   "Bad spec_nh value `%s'", optarg);+		}++		spec_nh_info->data = (unsigned int)temp;+		*flags = 1;+		break;++	default:+		return 0;+	}++	return 1;+}++static void+final_check(unsigned int flags)+{+	if (!flags)+		exit_error(PARAMETER_PROBLEM,+			   "spec_nh target: Parameter --spec_nh is required");+}++/* Prints out the targinfo. */+static void+print(const struct ipt_ip *ip,+      const struct ipt_entry_target *target,+      int numeric)+{+	const struct ipt_spec_nh_target_info *spec_nh_info =+		(const struct ipt_spec_nh_target_info *)target->data;+	printf("set spec_nh 0x%04x:0x%08x ",spec_nh_info->proto,+		spec_nh_info->data);+}++/* Saves the union ipt_targinfo in parsable form to stdout. */+static void+save(const struct ipt_ip *ip, const struct ipt_entry_target *target)+{+	const struct ipt_spec_nh_target_info *spec_nh_info =+		(const struct ipt_spec_nh_target_info *)target->data;++	printf("--spec_nh 0x%04x:%0x08x ",spec_nh_info->proto,+		spec_nh_info->data);+}++static+struct iptables_target spec_nh+= { NULL,+    "spec_nh",+    IPTABLES_VERSION,+    IPT_ALIGN(sizeof(struct ipt_spec_nh_target_info)),+    IPT_ALIGN(sizeof(struct ipt_spec_nh_target_info)),+    &help,+    &init,+    &parse,+    &final_check,+    &print,+    &save,+    opts+};++void _init(void)+{+	register_target(&spec_nh);+}diff -uNr iptables/extensions/Makefile iptables-mpls/extensions/Makefile--- iptables/extensions/Makefile	2005-01-02 21:00:07.000000000 -0600+++ iptables-mpls/extensions/Makefile	2005-01-02 21:41:26.000000000 -0600@@ -5,8 +5,8 @@ # header files are present in the include/linux directory of this iptables # package (HW) #-PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG-PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE+PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG spec_nh+PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE spec_nh  # Optionals PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T)))diff -uNr iptables/iptables.c iptables-mpls/iptables.c--- iptables/iptables.c	2005-01-02 21:00:07.000000000 -0600+++ iptables-mpls/iptables.c	2005-01-22 11:52:59.172060704 -0600@@ -39,6 +39,7 @@ #include <iptables.h> #include <fcntl.h> #include <sys/wait.h>+#include <linux/mpls.h>  #ifndef TRUE #define TRUE 1@@ -2007,10 +2008,19 @@  		case 'V': 			if (invert)-				printf("Not %s ;-)\n", program_version);+				printf("Not %s mpls-linux %d.%d%d%d ;-)\n",+					program_version,+					(MPLS_LINUX_VERSION >> 24) & 0xFF,+					(MPLS_LINUX_VERSION >> 16) & 0xFF,+					(MPLS_LINUX_VERSION >> 8) & 0xFF,+					(MPLS_LINUX_VERSION) & 0xFF); 			else-				printf("%s v%s\n",-				       program_name, program_version);+				printf("%s v%s mpls-linux %d.%d%d%d\n",+					program_name, program_version,+					(MPLS_LINUX_VERSION >> 24) & 0xFF,+					(MPLS_LINUX_VERSION >> 16) & 0xFF,+					(MPLS_LINUX_VERSION >> 8) & 0xFF,+					(MPLS_LINUX_VERSION) & 0xFF); 			exit(0);  		case '0':

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品色一区二区三区| 日韩美女视频19| 日日夜夜免费精品视频| 欧美精品久久天天躁| 日韩高清一级片| 精品成人一区二区三区四区| 久久草av在线| 欧美国产一区视频在线观看| 成人国产视频在线观看 | 欧美一级二级三级蜜桃| 偷拍一区二区三区四区| 欧美一区二区大片| 国产在线播放一区| 国产精品美女久久久久久久久| 9久草视频在线视频精品| 亚洲精品成人精品456| 欧美精品一二三四| 国产一区二区三区四区五区入口| 国产欧美日本一区视频| 色天天综合久久久久综合片| 天天影视色香欲综合网老头| 精品国产伦一区二区三区观看体验| 国产精品一区二区男女羞羞无遮挡| 国产精品美女久久久久久久| 欧美亚洲日本国产| 久久国内精品自在自线400部| 国产午夜精品福利| 在线免费精品视频| 国产乱一区二区| 亚洲韩国一区二区三区| 精品国产免费一区二区三区四区| av电影天堂一区二区在线观看| 亚洲va国产天堂va久久en| 久久久久久久久蜜桃| 91国内精品野花午夜精品| 久久国产精品99久久久久久老狼| 日本一区二区免费在线| 欧美一级视频精品观看| 国产suv精品一区二区883| 亚洲成a人片综合在线| 久久久亚洲高清| 欧美日韩不卡一区| 91香蕉国产在线观看软件| 奇米精品一区二区三区在线观看| 中文字幕一区二区三区在线不卡 | 欧美一级片在线观看| 大桥未久av一区二区三区中文| 婷婷综合五月天| 综合av第一页| 久久综合色之久久综合| 欧美日本精品一区二区三区| 成人av先锋影音| 国产伦精品一区二区三区视频青涩 | 国产一区二区三区四区在线观看| 亚洲国产精品一区二区www| 欧美激情艳妇裸体舞| 精品国产sm最大网站免费看| 欧美日韩一区二区三区四区五区| 丁香婷婷综合激情五月色| 久久99精品久久久久久动态图| 午夜精品福利一区二区蜜股av| 亚洲欧洲日韩综合一区二区| 国产欧美日韩中文久久| 日韩三级在线观看| 欧美精品自拍偷拍动漫精品| 91老司机福利 在线| 成人午夜视频在线| 国产在线一区二区| 麻豆专区一区二区三区四区五区| 亚洲国产日日夜夜| 亚洲图片一区二区| 亚洲成人综合在线| 香蕉久久夜色精品国产使用方法 | 亚洲国产成人91porn| 亚洲精品中文在线观看| 亚洲免费视频中文字幕| 中文字幕一区在线观看视频| 中文字幕一区免费在线观看| 中文字幕精品一区二区精品绿巨人 | 日本成人在线一区| 午夜国产精品影院在线观看| 亚洲国产日韩a在线播放| 亚洲综合在线第一页| 亚洲一区二区视频在线观看| 一区二区三区高清| 亚洲成在线观看| 男人的天堂亚洲一区| 国产在线播精品第三| 国产精品18久久久久| 成人性生交大合| 色综合天天天天做夜夜夜夜做| 91香蕉视频mp4| 欧美日韩一区精品| 日韩欧美一卡二卡| 欧美经典一区二区| 自拍偷拍国产亚洲| 亚洲成人免费看| 免费观看久久久4p| 国产成人午夜精品5599| av网站一区二区三区| 欧美日韩免费观看一区三区| 91精品欧美福利在线观看| 亚洲精品一区二区三区蜜桃下载| 亚洲国产精品成人综合 | 日韩激情一区二区| 久久精品国产亚洲一区二区三区| 国产真实精品久久二三区| 久久老女人爱爱| 亚洲欧美日韩一区二区| 日韩主播视频在线| 成人污视频在线观看| 91国产成人在线| 欧美tickling挠脚心丨vk| 欧美韩国一区二区| 日韩国产精品久久| 成人午夜激情在线| 欧美片网站yy| 国产精品欧美综合在线| 日韩精品欧美成人高清一区二区| 久久成人精品无人区| 在线免费亚洲电影| 精品成人一区二区| 亚洲一区在线看| 国产成人精品一区二区三区网站观看| 99re这里只有精品首页| 亚洲精品一区二区三区在线观看| 综合久久综合久久| 韩国三级在线一区| 欧美日韩久久一区| 国产精品久久综合| 久久精品国产精品亚洲红杏| 91在线精品一区二区| 久久久国产精品午夜一区ai换脸| 亚洲一区二区三区四区不卡| 成人看片黄a免费看在线| 日韩午夜av电影| 亚洲一二三区不卡| bt7086福利一区国产| 日韩欧美国产综合| 亚洲高清免费观看高清完整版在线观看| 国模少妇一区二区三区| 欧美精三区欧美精三区| 夜夜嗨av一区二区三区四季av| 国产很黄免费观看久久| 欧美一区二区三区视频在线观看| 亚洲乱码精品一二三四区日韩在线| 国产乱码一区二区三区| 日韩欧美国产不卡| 午夜精品福利一区二区蜜股av| 一本色道久久综合亚洲精品按摩| 欧美韩国日本一区| 粉嫩绯色av一区二区在线观看 | 狠狠色综合色综合网络| 欧美精品电影在线播放| 一区二区三区精品| 日本高清不卡视频| 亚洲人吸女人奶水| 91在线一区二区三区| 中文字幕欧美国产| 国产成人午夜视频| 亚洲国产精品激情在线观看| 韩国三级中文字幕hd久久精品| 欧美成人猛片aaaaaaa| 免费观看日韩电影| 欧美本精品男人aⅴ天堂| 七七婷婷婷婷精品国产| 欧美一区二区在线看| 日韩制服丝袜av| 欧美xxxxx牲另类人与| 看片网站欧美日韩| 精品99999| 国产成人精品在线看| 亚洲欧美另类久久久精品2019| 欧美一区二区三区在线看| 久久嫩草精品久久久精品一| 国内精品视频666| 337p日本欧洲亚洲大胆色噜噜| 国内外成人在线| 国产欧美日韩另类一区| 97久久精品人人爽人人爽蜜臀| 国产电影一区在线| 国产日韩欧美激情| 不卡一区二区在线| 亚洲精品国产第一综合99久久| 日本高清不卡aⅴ免费网站| 水蜜桃久久夜色精品一区的特点 | 久久福利视频一区二区| 精品国产伦一区二区三区观看体验| 国产一区二区中文字幕| 欧美国产日韩a欧美在线观看| 91网站最新地址| 亚洲成在人线免费| 久久婷婷色综合| www.日韩精品| 日韩精品乱码av一区二区| 久久精品亚洲国产奇米99| 91网站最新地址| 轻轻草成人在线| 国产精品精品国产色婷婷| 在线视频国内自拍亚洲视频|