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

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

?? iptables.diff

?? 一個可以實現MPLS實驗的linux源代碼.你不僅可以實現單層標簽的轉發,還可以實現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一区二区三区免费野_久草精品视频
不卡在线观看av| 国产馆精品极品| 中文字幕在线观看不卡| 久久精品亚洲国产奇米99| 欧美一级二级三级蜜桃| 欧美一区二区三区免费大片 | 亚洲影院久久精品| 亚洲美女免费在线| 亚洲综合成人在线视频| 一二三区精品视频| 欧美aaa在线| 国产伦精品一区二区三区免费迷| 国产麻豆视频一区| 不卡高清视频专区| 在线观看成人免费视频| 欧美日韩国产美| 欧美日韩一区二区三区高清| 欧美福利电影网| 天堂久久一区二区三区| 91精品国产美女浴室洗澡无遮挡| 高清不卡一区二区| 97国产一区二区| 欧美日韩一区在线观看| 精品久久久久av影院| 国产婷婷色一区二区三区四区| 欧美国产视频在线| 亚洲免费视频成人| 麻豆精品国产91久久久久久| 国产suv一区二区三区88区| 色悠久久久久综合欧美99| 欧美日韩一卡二卡三卡 | 亚洲成人av一区二区三区| 免费成人在线视频观看| 成人91在线观看| 91精品久久久久久久91蜜桃 | 日本韩国欧美在线| 精品久久久久av影院| 艳妇臀荡乳欲伦亚洲一区| 国产在线国偷精品产拍免费yy | 亚洲国产色一区| 国产麻豆成人传媒免费观看| 91黄色小视频| 久久久不卡网国产精品一区| 亚洲成人在线观看视频| 成人激情电影免费在线观看| 日韩一区二区三区视频| 亚洲色图第一区| 国产一区在线看| 91精品国产一区二区三区蜜臀 | 午夜精品爽啪视频| youjizz国产精品| 亚洲精品在线观| 亚洲成人一区在线| 91浏览器打开| 国产精品人妖ts系列视频| 日本 国产 欧美色综合| 国产精品99久| 亚洲一区在线观看免费| 国产乱人伦偷精品视频免下载| 欧美亚洲动漫制服丝袜| 国产精品久久三区| 国产成人亚洲精品狼色在线| 日韩一区二区三区免费看| 亚洲自拍欧美精品| 一本大道久久精品懂色aⅴ| 欧美激情一区二区三区全黄| 激情欧美一区二区三区在线观看| 欧美日本一区二区三区四区 | av一区二区久久| 久久久久久久久久久久久女国产乱| 亚洲18色成人| 在线观看视频一区| 一区二区三区在线观看欧美| 91麻豆高清视频| 亚洲欧美日韩在线不卡| 91视视频在线观看入口直接观看www| 中文一区二区完整视频在线观看 | 国产欧美综合在线观看第十页 | 中文字幕亚洲区| 成人免费av网站| 亚洲丝袜自拍清纯另类| 91免费视频大全| 亚洲在线成人精品| 欧美一级视频精品观看| 精品一区二区三区免费观看| 久久久噜噜噜久久中文字幕色伊伊| 黄一区二区三区| 亚洲国产精品激情在线观看| 91色综合久久久久婷婷| 亚洲国产wwwccc36天堂| 欧美高清dvd| 国产九色sp调教91| 综合久久久久久| 欧美日韩性生活| 国产美女精品在线| 亚洲精品v日韩精品| 在线播放亚洲一区| 在线不卡欧美精品一区二区三区| 日韩中文字幕91| 国产亚洲一区二区三区四区 | 欧美aaaaa成人免费观看视频| 日韩欧美一卡二卡| 成人久久久精品乱码一区二区三区 | 欧美日韩亚洲综合在线 | 91免费视频网址| 美女脱光内衣内裤视频久久网站| 国产肉丝袜一区二区| 色偷偷久久人人79超碰人人澡| 日韩精品免费视频人成| 久久九九99视频| 欧美手机在线视频| 国产精品自拍网站| 亚洲大片一区二区三区| 国产亚洲一二三区| 欧美日韩国产天堂| 99久久精品国产一区| 欧美a一区二区| 亚洲久本草在线中文字幕| 日韩欧美高清在线| 欧美综合一区二区| 欧美乱妇20p| 成人综合婷婷国产精品久久| 天天操天天综合网| 亚洲欧洲日本在线| 日韩一级片网站| 在线观看亚洲a| 成人美女在线视频| 久久国产精品无码网站| 亚洲综合999| 一色屋精品亚洲香蕉网站| 精品剧情v国产在线观看在线| 91女人视频在线观看| 国产在线精品一区二区 | 日韩久久久精品| 在线视频一区二区三区| 成人小视频免费在线观看| 免费欧美日韩国产三级电影| 亚洲自拍另类综合| 亚洲精品视频在线看| 国产欧美日韩激情| 久久久国际精品| 欧美精品一区二区三区高清aⅴ| 欧美性大战久久| 91在线无精精品入口| av日韩在线网站| 成人美女视频在线观看18| 国产精品一级二级三级| 麻豆91免费观看| 美国毛片一区二区| 欧美aaaaaa午夜精品| 久久电影网电视剧免费观看| 奇米在线7777在线精品 | 久久久国产一区二区三区四区小说| 91精品免费观看| 欧美一区二区三区喷汁尤物| 欧美久久免费观看| 欧美一区二区福利在线| 日韩你懂的在线观看| 日韩视频免费观看高清完整版在线观看 | 久久麻豆一区二区| 久久久不卡网国产精品一区| 欧美激情在线看| 一区二区三区中文字幕在线观看| 一区二区三区精品视频在线| 亚欧色一区w666天堂| 日韩—二三区免费观看av| 麻豆精品一区二区综合av| 国产真实乱对白精彩久久| 大美女一区二区三区| 日本大香伊一区二区三区| 欧美日韩日日骚| 精品av综合导航| 亚洲欧洲国产日本综合| 亚洲风情在线资源站| 免费成人在线网站| 成人综合在线网站| 欧美性高清videossexo| 欧美va亚洲va在线观看蝴蝶网| 国产欧美在线观看一区| 一区二区三区日本| 蜜桃av噜噜一区| 成人性生交大片| 在线播放中文字幕一区| 国产亚洲精品bt天堂精选| 亚洲三级理论片| 日本vs亚洲vs韩国一区三区二区| 国产在线观看一区二区| 99久久久精品| 日韩一区二区在线免费观看| 欧美国产成人在线| 日韩精品91亚洲二区在线观看| 国产精品自拍在线| 欧美精品aⅴ在线视频| 国产精品久久久久精k8| 麻豆成人91精品二区三区| 在线观看亚洲精品视频| 久久精品亚洲精品国产欧美| 日韩电影在线免费看| 成人福利视频网站| 日韩精品一区二|