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

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

?? iptables.diff

?? 一個可以實現(xiàn)MPLS實驗的linux源代碼.你不僅可以實現(xiàn)單層標簽的轉(zhuǎn)發(fā),還可以實現(xiàn)2個標簽的實驗,很好的.
?? DIFF
?? 第 1 頁 / 共 2 頁
字號:
diff -uNr iptables/debugfiles.list iptables-mpls/debugfiles.list--- iptables/debugfiles.list	2005-10-14 23:37:33.000000000 -0500+++ iptables-mpls/debugfiles.list	2005-12-14 21:13:35.000000000 -0600@@ -16,6 +16,7 @@ /usr/lib/debug/lib/iptables/libipt_CONNMARK.so.debug /usr/lib/debug/lib/iptables/libipt_TCPMSS.so.debug /usr/lib/debug/lib/iptables/libipt_DNAT.so.debug+/usr/lib/debug/lib/iptables/libipt_mpls.so.debug /usr/lib/debug/lib/iptables/libip6t_limit.so.debug /usr/lib/debug/lib/iptables/libip6t_length.so.debug /usr/lib/debug/lib/iptables/libipt_standard.so.debug@@ -48,6 +49,7 @@ /usr/lib/debug/lib/iptables/libipt_hashlimit.so.debug /usr/lib/debug/lib/iptables/libipt_SNAT.so.debug /usr/lib/debug/lib/iptables/libipt_unclean.so.debug+/usr/lib/debug/lib/iptables/libip6t_mpls.so.debug /usr/lib/debug/lib/iptables/libipt_MASQUERADE.so.debug /usr/lib/debug/lib/iptables/libipt_ah.so.debug /usr/lib/debug/lib/iptables/libipt_addrtype.so.debugdiff -uNr iptables/extensions/libip6t_mpls.c iptables-mpls/extensions/libip6t_mpls.c--- iptables/extensions/libip6t_mpls.c	1969-12-31 18:00:00.000000000 -0600+++ iptables-mpls/extensions/libip6t_mpls.c	2005-12-14 21:11:22.000000000 -0600@@ -0,0 +1,114 @@+/* Shared library add-on to iptables to add mpls 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/mpls.h>++/* Function which prints out usage message. */+static void+help(void)+{+	printf(+"mpls target v%s options:\n"+"  --nhlfe key		     Set an outgoing MPLS NHLFE\n"+"\n",+IPTABLES_VERSION);+}++static struct option opts[] = {+	{ .name = "nhlfe", .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)+{+	unsigned int temp;+	struct mpls_netfilter_target_info *mpls_info+		= (struct mpls_netfilter_target_info *)(*target)->data;++	switch (c) {+	case '1':+		if (*flags) {+			exit_error(PARAMETER_PROBLEM,+				   "mpls target: Can't specify --nhlfe twice");+		}++		if (string_to_number(optarg, 0,0xffff, (unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM, "Bad MPLS key `%s'",+				optarg);+		}++		mpls_info->key = temp;+		*flags = 1;+		break;+	default:+		return 0;+	}++	return 1;+}++static void+final_check(unsigned int flags)+{+	if (!flags)+		exit_error(PARAMETER_PROBLEM,+			   "mpls target: Parameter --nhlfe is required");+}++/* Prints out the targinfo. */+static void+print(const struct ip6t_ip6 *ip,+      const struct ip6t_entry_target *target,+      int numeric)+{+	const struct mpls_netfilter_target_info *mpls_info =+		(const struct mpls_netfilter_target_info *)target->data;++	printf("nhlfe 0x%x ",mpls_info->key);+}++/* 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 mpls_netfilter_target_info *mpls_info =+		(const struct mpls_netfilter_target_info *)target->data;++	printf("--nhlfe 0x%x ",mpls_info->key);+}++static+struct ip6tables_target mpls = {+	.name	  = "mpls",+	.version  = IPTABLES_VERSION,+	.size	  = IP6T_ALIGN(sizeof(struct mpls_netfilter_target_info)),+	.userspacesize = IP6T_ALIGN(sizeof(struct mpls_netfilter_target_info)),+	.help	  = &help,+	.init	  = &init,+	.parse	  = &parse,+	.final_check   = &final_check,+	.print	  = &print,+	.save	  = &save,+	.extra_opts = opts+};++void _init(void)+{+	register_target6(&mpls);+}diff -uNr iptables/extensions/libipt_mpls.c iptables-mpls/extensions/libipt_mpls.c--- iptables/extensions/libipt_mpls.c	1969-12-31 18:00:00.000000000 -0600+++ iptables-mpls/extensions/libipt_mpls.c	2005-12-14 21:11:19.000000000 -0600@@ -0,0 +1,114 @@+/* Shared library add-on to iptables to add mpls 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/mpls.h>++/* Function which prints out usage message. */+static void+help(void)+{+	printf(+"mpls target v%s options:\n"+"  --nhlfe key		      Set an outgoing MPLS NHLFE\n"+"\n",+IPTABLES_VERSION);+}++static struct option opts[] = {+	{ .name = "nhlfe", .has_arg = 1, .flag = 0, .val = '1' },+	{ .name = 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)+{+	unsigned int temp;+	struct mpls_netfilter_target_info *mpls_info+		= (struct mpls_netfilter_target_info *)(*target)->data;++	switch (c) {+	case '1':+		if (*flags) {+			exit_error(PARAMETER_PROBLEM,+				   "mpls target: Can't specify --nhlfe twice");+		}++		if (string_to_number(optarg, 0,0xffff,(unsigned int *)&temp)) {+			exit_error(PARAMETER_PROBLEM, "Bad MPLS key `%s'",+				optarg);+		}++		mpls_info->key = temp;+		*flags = 1;+		break;++	default:+		return 0;+	}++	return 1;+}++static void+final_check(unsigned int flags)+{+	if (!flags)+		exit_error(PARAMETER_PROBLEM,+			   "mpls target: Parameter --nhlfe is required");+}++/* Prints out the targinfo. */+static void+print(const struct ipt_ip *ip,+      const struct ipt_entry_target *target,+      int numeric)+{+	const struct mpls_netfilter_target_info *mpls_info =+		(const struct mpls_netfilter_target_info *)target->data;+	printf("nhlfe 0x%x ",mpls_info->key);+}++/* 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 mpls_netfilter_target_info *mpls_info =+		(const struct mpls_netfilter_target_info *)target->data;++	printf("--nhlfe 0x%x ",mpls_info->key);+}++static+struct iptables_target mpls = {+	.name	  = "mpls",+	.version  = IPTABLES_VERSION,+	.size	  = IPT_ALIGN(sizeof(struct mpls_netfilter_target_info)),+	.userspacesize = IPT_ALIGN(sizeof(struct mpls_netfilter_target_info)),+	.help	  = &help,+	.init	  = &init,+	.parse	  = &parse,+	.final_check   = &final_check,+	.print	  = &print,+	.save	  = &save,+	.extra_opts = opts+};++void _init(void)+{+	register_target(&mpls);+}diff -uNr iptables/extensions/Makefile iptables-mpls/extensions/Makefile--- iptables/extensions/Makefile	2005-10-14 23:36:44.000000000 -0500+++ iptables-mpls/extensions/Makefile	2005-12-14 21:11:23.000000000 -0600@@ -5,8 +5,8 @@ # header files are present in the include/linux directory of this iptables # package (HW) #-PF_EXT_SLIB:=ah addrtype comment connlimit connmark conntrack dscp ecn esp hashlimit 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 physdev standard tcp udp HL LOG MARK TRACE+PF_EXT_SLIB:=ah addrtype comment connlimit connmark conntrack dscp ecn esp hashlimit 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 mpls+PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner physdev standard tcp udp HL LOG MARK TRACE mpls  # Optionals PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T)))diff -uNr iptables/include/linux/mpls.h iptables-mpls/include/linux/mpls.h--- iptables/include/linux/mpls.h	1969-12-31 18:00:00.000000000 -0600+++ iptables-mpls/include/linux/mpls.h	2005-12-14 21:11:31.000000000 -0600@@ -0,0 +1,255 @@+/*****************************************************************************+ * MPLS+ *      An implementation of the MPLS (MultiProtocol Label+ *      Switching Architecture) for Linux.+ *+ * Authors:+ *          James Leu        <jleu@mindspring.com>+ *          Ramon Casellas   <casellas@infres.enst.fr>+ *+ *   (c) 1999-2004   James Leu        <jleu@mindspring.com>+ *   (c) 2003-2004   Ramon Casellas   <casellas@infres.enst.fr>+ *+ * include/linux/mpls.h+ *      Data types and structs used by userspace programs to access MPLS+ *      forwarding. Most interface with the MPLS subsystem is IOCTL based+ *+ *      This program is free software; you can redistribute it and/or+ *      modify it under the terms of the GNU General Public License+ *      as published by the Free Software Foundation; either version+ *      2 of the License, or (at your option) any later version.+ ****************************************************************************/++#ifndef _LINUX_MPLS_H_+#define _LINUX_MPLS_H_++#ifdef __KERNEL__+#include <linux/socket.h>+#include <linux/if.h>+#else+#include <sys/socket.h>+#include <net/if.h>+#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美蜜桃一区二区三区| 2014亚洲片线观看视频免费| 日韩欧美一区中文| 中文字幕在线一区免费| 久久国产精品一区二区| 在线观看网站黄不卡| 国产欧美视频一区二区三区| 人人狠狠综合久久亚洲| 欧美在线视频不卡| 国产精品人人做人人爽人人添| 日本视频一区二区| 欧美日韩日日摸| 亚洲欧美日韩中文播放 | 国产情人综合久久777777| 日韩中文字幕1| 欧美日韩一区在线观看| 亚洲欧洲综合另类| 成人久久久精品乱码一区二区三区| 日韩欧美一区二区三区在线| 亚洲v中文字幕| 日本乱人伦一区| 成人欧美一区二区三区黑人麻豆 | 欧美伊人精品成人久久综合97| **欧美大码日韩| 成人福利电影精品一区二区在线观看 | 蜜桃av噜噜一区| 欧美日韩国产一级二级| 亚洲精品伦理在线| 一本久久综合亚洲鲁鲁五月天| 中文字幕制服丝袜成人av | 国产精品资源网站| 久久蜜桃av一区精品变态类天堂| 老司机免费视频一区二区 | 国产精品久久精品日日| 国产成人在线免费| 国产精品久久久久久户外露出| 成人国产亚洲欧美成人综合网| 中文字幕乱码久久午夜不卡| 成人激情动漫在线观看| 亚洲私人影院在线观看| 欧美亚日韩国产aⅴ精品中极品| 樱花影视一区二区| 欧美精品tushy高清| 美女任你摸久久| 久久久国产午夜精品| www.久久精品| 亚洲综合一区在线| 在线不卡中文字幕播放| 捆绑调教美女网站视频一区| 久久久久久久av麻豆果冻| 成a人片国产精品| 亚洲影院在线观看| 日韩精品一区在线| 成人小视频免费在线观看| 日韩理论片网站| 6080国产精品一区二区| 国产福利不卡视频| 亚洲一区电影777| 日韩女同互慰一区二区| 成人福利在线看| 午夜精品久久久久久久99樱桃| 日韩一区二区电影在线| 成人久久18免费网站麻豆| 亚洲国产日韩a在线播放性色| 精品久久久久久久久久久久包黑料 | 久久91精品国产91久久小草| 日本一区二区三区四区| 欧美亚洲图片小说| 狠狠色综合播放一区二区| 成人欧美一区二区三区黑人麻豆| 欧美一区二区三区视频在线| 国产高清精品在线| 亚洲一区二区三区四区在线观看 | 蜜桃一区二区三区四区| 国产精品美女久久久久av爽李琼 | 色美美综合视频| 麻豆免费看一区二区三区| 国产精品色噜噜| 欧美成人video| 欧美在线播放高清精品| 久久丁香综合五月国产三级网站| 亚洲日本在线a| 久久色视频免费观看| 欧美性极品少妇| 成人天堂资源www在线| 美女一区二区久久| 一级日本不卡的影视| 国产三级欧美三级日产三级99 | 色综合天天综合狠狠| 精品一区二区三区久久久| 亚洲蜜桃精久久久久久久| 国产午夜精品久久| 日韩精品最新网址| 欧美日本国产一区| 日本精品裸体写真集在线观看| 国产69精品久久久久毛片| 美腿丝袜亚洲色图| 日韩不卡一区二区三区| 亚洲成人一区在线| 一区二区三区国产精品| 中文字幕在线视频一区| 久久综合给合久久狠狠狠97色69| 日韩一区二区在线观看视频播放| 欧美写真视频网站| 欧洲精品一区二区三区在线观看| 91在线视频免费观看| 不卡的av网站| 97se亚洲国产综合自在线不卡| 成人午夜精品在线| 成人爱爱电影网址| 成人激情av网| 99久久精品免费看国产| 一本一本久久a久久精品综合麻豆| 国产91在线观看| 成人福利视频在线| 色欧美乱欧美15图片| 一本色道亚洲精品aⅴ| 在线看日本不卡| 欧美日韩国产色站一区二区三区| 在线观看免费成人| 欧美老年两性高潮| 日韩欧美一区电影| 国产片一区二区| 亚洲人123区| 亚洲成人1区2区| 日本成人在线视频网站| 久久er精品视频| 国产精品性做久久久久久| 成人在线视频首页| 色拍拍在线精品视频8848| 欧美乱熟臀69xxxxxx| 精品福利av导航| 国产精品美女久久久久aⅴ | 3751色影院一区二区三区| 欧美一级艳片视频免费观看| 久久综合九色综合97婷婷女人| 国产人久久人人人人爽| 一区二区三区四区蜜桃| 日本女优在线视频一区二区| 精品在线播放免费| 色综合久久综合网欧美综合网| 欧美日韩国产精选| 久久久综合网站| 亚洲女人的天堂| 毛片av中文字幕一区二区| 成人av网站在线观看| 91精品国产综合久久久蜜臀粉嫩| 国产亚洲综合性久久久影院| 亚洲欧美激情在线| 精品一区二区三区视频在线观看 | 精品国产区一区| 自拍偷在线精品自拍偷无码专区| 日韩有码一区二区三区| 成人免费黄色大片| 欧美一级在线观看| 一区二区三区在线不卡| 韩国在线一区二区| 欧美日韩一区不卡| 中文字幕精品—区二区四季| 丝袜亚洲另类欧美综合| av中文字幕亚洲| 精品免费日韩av| 视频一区二区三区在线| av不卡一区二区三区| 精品成人一区二区三区四区| 一区二区在线免费| 成人国产精品免费观看动漫| 日韩欧美成人一区二区| 午夜精品久久久久久久99水蜜桃| 成人动漫在线一区| 精品国产一区二区三区久久久蜜月| 一区二区三区欧美视频| 国产成人自拍网| 精品国产乱码久久| 五月天欧美精品| 91极品视觉盛宴| 国产精品激情偷乱一区二区∴| 久久99热国产| 日韩视频不卡中文| 午夜久久久久久久久久一区二区| av中文字幕不卡| 国产精品成人午夜| 成人久久视频在线观看| 久久久精品国产免费观看同学| 久久精品国产亚洲高清剧情介绍| 欧美日韩一区三区| 亚洲综合无码一区二区| 色综合久久中文综合久久97| 中文字幕一区二| 成人丝袜18视频在线观看| 欧美国产综合一区二区| 国产一区二区不卡老阿姨| 精品国产网站在线观看| 国产做a爰片久久毛片| 久久综合色8888| 韩国精品免费视频| 国产拍欧美日韩视频二区| 粉嫩av一区二区三区粉嫩 | 精品国产一区二区在线观看| 免费高清在线一区|