Ps22Pdf

Similar documents
Mechanical Science and Technology for Aerospace Engineering October Vol No. 10 Web SaaS B /S Web2. 0 Web2. 0 TP315 A

Master Thesis_專門用來製作目錄.doc

标题

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

Microsoft Word - 专论综述1.doc

* CUSUM EWMA PCA TS79 A DOI /j. issn X Incipient Fault Detection in Papermaking Wa

山东省招生委员会

Microsoft Word - netcontr.doc

第 1 期 常 壮 等 : 基 于 RS-485 总 线 的 舰 船 损 管 训 练 平 台 控 系 统 研 究 87 能 : 1) 损 管 基 本 理 论 的 学 习 帮 助 舰 员 熟 悉 舰 艇 舱 室 相 关 规 章 制 度 损 管 施 分 布 和 使 用 不 沉 性 文 件 等 ) 损 管

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

2 3. 1,,,.,., CAD,,,. : 1) :, 1,,. ; 2) :,, ; 3) :,; 4) : Fig. 1 Flowchart of generation and application of 3D2digital2building 2 :.. 3 : 1) :,

PCA+LDA 14 1 PEN mL mL mL 16 DJX-AB DJ X AB DJ2 -YS % PEN

F4

Microsoft PowerPoint - Aqua-Sim.pptx

计 算 机 系 统 应 用 年 第 25 卷 第 1 期 的 编 程 语 言 Giotto [9] 编 写 控 制 程 序, 可 以 方 便 的 控 制 程 序 的 逻 辑 执 行 时 间, 从 而 使 得 任 务 时 间 的 依 赖 关 系

业 务 与 运 营 社 交 网 络 行 为 将 对 网 络 流 量 造 成 较 大 影 响 3) 即 时 通 信 类 业 务 包 括 微 信 QQ 等, 该 类 业 务 属 于 典 型 的 小 数 据 包 业 务, 有 可 能 带 来 较 大 的 信 令 开 呼 叫 建 立 的 时 延 销 即 时

Technical Acoustics Vol.27, No.4 Aug., 2008,,, (, ) :,,,,,, : ; ; : TB535;U : A : (2008) Noise and vibr

m 3 m m 84 m m m m m m m

附件4

. 1 4 Web PAD

第 02 期 1 医 疗 信 息 现 状 20% EMR Electronic Medical Record HIS HIS [1-2] 张 肖 等 : 基 于 大 数 据 的 医 疗 健 康 创 新 应 用 2 大 数 据 环 境 下 医 疗 数 据 特 征 分 析 PC [3]

Microsoft PowerPoint - 数据通信-ch1.ppt

标题

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 计 算 机 网 络 在

标题

ebook

第 7 章 下 一 代 网 际 协 议 IPv6 141 足 的 措 施 只 能 是 权 宜 之 计 (3) 路 由 表 膨 胀 早 期 IPv4 的 地 址 结 构 也 造 成 了 路 由 表 的 容 量 过 大 IPv4 地 址 早 期 为 网 络 号 + 主 机 号 结 构, 后 来 引 入

<4D F736F F D D DBACEC0F25FD0A3B6D4B8E55F2DB6FED0A32D2D2DC8A5B5F4CDBCD6D0B5C4BBD8B3B5B7FBBAC52E646F63>

IT 36% Computer Science Teachers Association, CSTA K K-12 CSTA K-12 K-12 K-6 K6-9 K STEM STEM STEM

Microsoft Word - 46.doc

NANO COMMUNICATION 23 No.3 90 CMOS 94/188 GHz CMOS 94/188 GHz A 94/188 GHz Dual-Band VCO with Gm- Boosted Push-Push Pair in 90nm CMOS 90 CMOS 94

小论文草稿2_邓瀚

,, 2,,,,,,,,, S7-400 PLC, F M mm ;, AGC 6 mm ;,, 3 AGC AFC ( ) ( ), I/O ET 200M, PROFIBUS-DP S7 400 PLC 1 S7-400 PLC ( HMI) ET200M, PROFIBUS

59 1 CSpace 2 CSpace CSpace URL CSpace 1 CSpace URL 2 Lucene 3 ID 4 ID Web 1. 2 CSpace LireSolr 3 LireSolr 3 Web LireSolr ID

Microsoft Word - A _ doc

27 :OPC 45 [4] (Automation Interface Standard), (Costom Interface Standard), OPC 2,,, VB Delphi OPC, OPC C++, OPC OPC OPC, [1] 1 OPC 1.1 OPC OPC(OLE f

4 115,,. : p { ( x ( t), y ( t) ) x R m, y R n, t = 1,2,, p} (1),, x ( t), y ( t),,: F : R m R n.,m, n, u.,, Sigmoid. :,f Sigmoid,f ( x) = ^y k ( t) =

Vol. 22 No. 4 JOURNAL OF HARBIN UNIVERSITY OF SCIENCE AND TECHNOLOGY Aug GPS,,, : km, 2. 51, , ; ; ; ; DOI: 10.

9 Internet 10 Internet


,2(1) 基 礎 上, 各 種 數 據 均 以 圖 形 化 方 式 表 達, 因 此 各 級 分 析 結 果 均 可 以 隨 時 檢 驗 另 外, 由 於 系 統 是 以 網 站 形 式 發 佈, 任 何 用 戶 均 可 通 過 網 絡 查 詢 瀏 覽 系 統 中 的 數 據, 因

填 写 要 求 一 以 word 文 档 格 式 如 实 填 写 各 项 二 表 格 文 本 中 外 文 名 词 第 一 次 出 现 时, 要 写 清 全 称 和 缩 写, 再 次 出 现 时 可 以 使 用 缩 写 三 涉 密 内 容 不 填 写, 有 可 能 涉 密 和 不 宜 大 范 围 公

IP505SM_manual_cn.doc

...1 What?...2 Why?...3 How? ( ) IEEE / 23

目 彔 1. 准 备 工 作 登 彔 设 置 功 能 说 明 实 时 监 控 基 本 控 制 功 能 设 置 画 质 调 节 彔 像 与 抓 拍

经华名家讲堂

[1-3] (Smile) [4] 808 nm (CW) W 1 50% 1 W 1 W Fig.1 Thermal design of semiconductor laser vertical stack ; Ansys 20 bar ; bar 2 25 Fig

通 过 厂 变 带 电, 这 种 设 计 减 少 了 机 组 自 带 厂 用 电 负 荷 能 力, 降 低 了 锅 炉 满 足 FCB 时 最 低 稳 燃 工 况, 同 时 造 成 燃 烧 调 整 量 加 大 本 电 厂 在 FCB 试 验 时, 电 泵 不 联 启, 始 终 保 持 汽 泵 运 行

財金資訊-80期.indd

AL-M200 Series

ebook204-2

VoIP Make a Rtp Call VoIP Abstract... 2 VoIP RTP...3 Socket IP...9 Config Two Voice-hub

a b

48 Computer Education 课 程 体 系 设 置 2.1 科 学 设 置 培 养 方 案 课 程 模 块, 确 定 培 养 方 向 首 先, 我 们 通 过 对 人 才 市 场 需 求 分 析, 确 定 了 专 业 培 养 目 标 然 后, 根 据 教 育 部 高 等

科 研 信 息 化 技 术 与 应 用,2015, 6 (1) of identity and the framework of identity management, this paper analyses the development trend of Identity Management

% GIS / / Fig. 1 Characteristics of flood disaster variation in suburbs of Shang

计算机网络概论

, [3 ] Petri, 25 7, 500, [4,5 ], 3, (2), 2003, [ 6 ],,, ,, [7 ], 569, 26, ( ) : 2 ; 3 ; 4, ; 5, : (a) ( ) :,,

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx

Fig. 1 1 The sketch for forced lead shear damper mm 45 mm 4 mm 200 mm 25 mm 2 mm mm Table 2 The energy dissip

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

Microsoft Word - shenbaocailiao.doc

y 1 = 槡 P 1 1h T 1 1f 1 s 1 + 槡 P 1 2g T 1 2 interference 2f 2 s y 2 = 槡 P 2 2h T 2 2f 2 s 2 + 槡 P 2 1g T 2 1 interference 1f 1 s + n n

KUKA W. Polini L. Sorrentino Aized Shirinzadeh 6 7 MF Tech Pitbull Fox Taniq Scorpo Scorpo Compositum Windows KUKA 1 P 1 P 2 KU

第 31 卷 Vol. 31 总第 122 期!"#$%&' Z[\ ]^ _` a, :b c $ ' X $, C $ b c! >, O 47 2$b c 1 X, 9?, S, 4b c =>01, ; O 47 ' 0 $ 01 #, 04b c

<4D F736F F D20B8BDBCFE3220BDCCD3FDB2BFD6D8B5E3CAB5D1E9CAD2C4EAB6C8BFBCBACBB1A8B8E6A3A8C4A3B0E5A3A92E646F6378>

ebook67-10

Microsoft Word - YDB Vehicle Telematics Service Requirement and General Framework

14 建筑环境设计模拟分析软件DeST--辅助商业建筑设计应用实例.doc

计 算 机 网 络 基 础 任 务 教 程 () 组 成 计 算 机 网 络 的 每 台 计 算 机 都 是 独 立 的 即 计 算 机 之 间 没 有 明 显 的 主 从 关 系, 每 台 计 算 机 可 以 连 网 工 作, 也 可 以 不 连 网 工 作 (2) 建 立 计 算 机 网 络 的

XXX专业本科人才培养方案

indd

. 3. MOOC 2006 MOOC Automated Text Marker 2014 e-rater Yigal et al MOOC Coursera Edx 97

p

Vol. 15 No. 1 JOURNAL OF HARBIN UNIVERSITY OF SCIENCE AND TECHNOLOGY Feb O21 A

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2

Microsoft Word - A doc

电力信息化2013年第1期.indb

基于泛在网的智能交通应用系统总体框架

2011年上海市高校精品课程申报表(本科)

~ 10 2 P Y i t = my i t W Y i t 1000 PY i t Y t i W Y i t t i m Y i t t i 15 ~ 49 1 Y Y Y 15 ~ j j t j t = j P i t i = 15 P n i t n Y

<4D F736F F D20C8EDCDC1B5D8BBF9CDB2BBF9CAD4B2C9C6BDCCA8B5C4CACAD3C3D0D4B7D6CEF6>

基 于 SCORM 规 范 的 资 源 打 包 方 法 设 计 与 实 现 摘 要 共 享 式 教 材 组 件 参 考 模 型 (Sharable Course Object Reference Model, 简 称 SCORM), 已 成 为 目 前 国 际 上 公 认 的 e-learning

标题

m m m ~ mm

doc

Microsoft Word - 王彬_已修改_.doc

JOURNAL OF EARTHQUAKE ENGINEERING AND ENGINEERING VIBRATION Vol. 31 No. 5 Oct /35 TU3521 P315.

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc

<4D F736F F D20312D3120B9ABBFAAD7AAC8C3CBB5C3F7CAE9A3A8C9EAB1A8B8E5A3A92E646F63>

Microsoft Word - A doc

A modified offset min-sum decoding algorithm

Microsoft Word 定版

( CIP) /,. - :, ISBN TP312 CIP ( 2004 ) : ( ) : : : : /16 : 21 : 347 : : : I

Simulator By SunLingxi 2003

ebook67-9

专 技 能 1. 精 通 Matlab/Simulink 平 台 下 的 海 洋 运 载 器 运 动 控 制 系 统 与 仿 真 建 模 设 计 ; 2. 精 通 51 单 片 机 AVR 单 片 机 Arduino 开 源 板 的 开 发 和 设 计 ; 3. 精 通 基 于 Arduino 板

RESEARCH ON HIGHER EDUCATION Number 4, 2013(General Serial No.78) CONTENTS Colleges and Universities Forum Three-Year Blueprint of Undergraduate Cours

标题

Improving the Effectiveness of the Training of Civil Service by Applying Learning Science and Technology: The Case Study of the National Academy of Ci

Transcription:

26 2 2009 2 Application Research of Computers Vol. 26 No. 2 Feb. 2009 Linux IPv6 * OLSR ( 610054) IPv6 Ad hoc OLSR Linux Linux OLSR OLSR IPv6 OLSR ; OLSR ; Linux ; ; IPv6 TP393 A 1001-3695( 2009) 02-0655- 05 Implementation of IPv6 OLSR protocols in Linux OS YAN Wen GUO Wei LIU Jun ( National Key Laboratory of Communication University of Electronic Science & Technology of China Chengdu 610054 China) Abstract This paper presented a concrete scheme and key techniques about OLSR protocol implementation that supported IPv6 address in Ad hoc network. Firstly introduced the general framework of IPv6 OLSR protocol according to the routing mechanism in Linux OS. Then analyzed the difficulties encountered in the implementation of IPv6 OLSR and then provided proper solutions. Finally built two test beds and presented the implementation results. This implementation scheme is extensible and universality that can be applied to various proactive routing protocols. Key words Ad hoc network; Linux OS; OLSR ( optimized link state routing) protocol; IPv6 address 0 Linux Ad hoc ( mobile Ad hoc network MANET) OLSR Ad hoc 1 OLSR OLSR ( table-driven routing protocol) OLSR OLSR [ 1] IPv4 128 bit IPv6 a) ( multi-point relay MPR) IPv4 IP MPR MPR IPv6 OLSR MPR b) Ga- MPR ted [ 2] Zebra [ 3] Gated GNU ; Zebra GNU OLSR [ Zebra IPv6 4] Zebra [ 5 OLSR 7] OLSR IPv4 IPv6 IPv6 OLSR OLSR hello ( topology control TC) OLSR 2008-04- 20; 2008-07- 05 ( 10577007 60472052) ( 1983- ) Ad hoc ( littlesecret999 @ 126. com) ; ( 1964 - ) Ad hoc ; ( 1973- ) Ad hoc MAC.

656 26 ANSN hello Hello TC 1 2 ; 1 2 MPR MPR TC MPR hello 1 TC TC MPR ( MPR selector) TC ; MPR TC 2 Linux OLSR Linux Windows a) ; b) Linux OLSR 1 OLSR 698 UDP ; ; ; OLSR OLSR MPR_selector TC MPR TC ; 3 OLSR 2 OLSR SIGALRM Linux SI- GALRM a) Hello TC ; Hello TC MPR selector TC TC TC ANSN 1 TC a) hello 2 MPR-selector 2 MPR MPR_selector ; / Hello 1 SIGINT SIGALRM SIGINT Linux ctr + c Linux SIGINT OLSR OLSR hello b) 2 ( a) N_SYM_time N_status b) TC TC ANSN( advertised neighbor sequence number) TC LOST_ NEIGH 2_hop MPR MPR

2 Linux IPv6 OLSR 657 selector ( b) N_ASYM_ time 4. 2. 2 N_status LOST_ NEIGH N_ status SYM_ NEIGH MPR_NEIGH LOST_NEIGH ASYM_NEIGH ( c) N_time 4 OLSR 4. 1 OLSR OLSR 1 1 OLSR SIGALRM SIGALRM 4. 2. 1 OLSR ( TimerQ ) TimerQ 4 2 2 MPR MPR selec tor MPR MPR OLSR hash [ 8] 5 IPv 6 [9] 4. 2 4. 2. 1 OLSR 5. 1. 2 IP ASCII settimer( alarm) IPv6 IPv4 5 a) ; b) 5. 1. 3 Linux SIGALRM TimerQ TimerQ SIGALRM MPR hash [10 ] 5. 1 IPv6 OLSR IPv6 128 bit IPv4 32 bit 3 IPv6 hello 2 5. 1. 1 IPv 6 MPR selector ; IPv6 IPv4 3 4 6 2 MPR selector IPv6 7 SYM 1 struct in6_addr { ; 2 2-hop unit8 _t s6_addr[ 16] ; 2 ; 5 } ; struct sockaddr_in6 { } ; uint8_t sin6_len; /* length of this struct ( 28) * / uint8_t sin6_family; / * AF_INET6* / unsigned short sin6_port; unsigned long sin6_flowinfo; struct in6_addr sin6 _addr; unsigned long sin6_scope_id; IPv6 AF_INET6; IPv4 AF_INET OLSR bind( ) sendto( )

658 26 recvfrom( ) IPv6 IPv4 1 RTF_UP RTF_HOST IPv6 sockaddr_in6 sockaddr_in 300 m 100 m 5. 2 IPv6 IPv4 IPv6 Linux 5. 2. 1 IPv6 ( ) ( IPv6 ) ff Linux ip6tables [ 11] FF01 1 IPv6 M FF02 1 IP fec0 106 2700 12( 12) MAC 00 19 E0 85 01 57 M 5. 2. 2 ip6tables-a INPUT-m mac--mac-source 00 19 E0 85 01 Linux setsockopt 57-j DROP IPv 6_MUL- M TICAST_ IF IPv6 _ ip6 tables-d INPUT 1 ADD_MEMBERSHIP ip6tables ip6 tables-l INPUT struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; /* IPv6 multicast addr * / OLSR unsigned int ipv6mr_interface; / * interface index or 0 * / PC } ; IPv6_DROP_MEM- /proc / sys/ net/ipv6 / conf/ all/ forwarding BERSHIP 1 [10] 6. 2 OLSR 5. 3 6. 2. 1 Watch route-a inet6 Linux ioctl 6. 1 OLSR / watch route-a inet6 IPv6 Linux ioctl SIOADDRT SIOCDELRTSIOADDRT 6. 2. 2 Ping6 SIOCDELRT Ping ; ping6 IPv4 ioctl IPv6 rtentry ; IPv6 in6_ 6. 3 ping6 rtmsg in6_rt- 6. 3 msg if_nametoindex IPv6 ( ) 1 6 7 RTF_UP RTF_HOST RTF_GATEWAY ; 6 socket UDP socket 698; ff05 15IEEE 802. 11b ( ) 6. 1 OLSR 1 000

2 Linux IPv6 OLSR 659 ICMP IPv6 8 9 = / ; = / 7 1 2 IPv6 fec0 106 2700 22 22; Linux OLSR IPv6 () ( ) OLSR 2 3 8 9 QoS 3 - - 99. 9 1. 29 100 1. 12 99. 7 2. 65 99. 7 1. 22 100 1. 13 5 99. 9 1. 72 - - 100 1. 34 100 1. 65 99. 9 1. 42 98. 9 2. 67 6 100 1. 08 100 1. 29 - - 99. 8 1. 15 100 1. 03 99. 4 2. 25 9 99. 5 3. 24 99. 9 3. 36 99. 9 1. 11 - - 99. 9 1. 84 98. 6 3. 78 12 99. 7 1. 14 99. 7 2. 88 100 1. 09 100 1. 26 - - 99. 1 2. 29 22 100 1. 23 98. 7 2. 49 99. 4 2. 7 98. 4 3. 29 99 2. 39 - - 3 2 [ 6]. OLSR [ J]. 2006 32( 3) 78-81. 3 5 6 9 12 22 [ 7]. Ad hoc [ J]. 2006 32 ( 3) 5-10. /% /ms / % / ms / % / ms / % / ms /% /ms / % / ms [ 8]. [ M]. 2001 212-216. 3 - - 97. 2 3. 13 99. 8 2. 41 99. 5 2. 62 99. 9 1. 17 99. 8 1. 13 [ 9] STEVENS W R. Advanced programming in the UNIX environment 5 99 3. 48 - - 99. 9 0. 96 94. 6 3. 34 100 3. 27 99. 1 4. 45 [ M]. 3rd ed. [ S. l. ] Addison Wesley 2002 263-324. 6 99. 8 2. 4 100 1. 01 - - 100 1. 08 100 0. 97 99. 5 3. 23 [ 10] STEVENS W R FENNER B RUDOFF A M. UNIX network programming 9 99. 4 2. 88 99. 6 2. 96 100 1. 3 - - 100 1. 27 98. 9 3. 44 volume 1 the sockets networking API[ M]. 3rd ed. [ S. 12 100 1. 11 99. 6 2. 89 100 1. 11 100 1. 18 - - 99. 5 2. 49 l. ] Addison Wesley 2003. 22 100 1. 22 96. 6 3. 98 99. 2 3. 24 99. 2 3. 48 99. 6 2. 47 - - 2 1 [ 1 ] LAUSEN T JACQUET P. RFC 3626 Optimized link state routing protocol[ S]. 2003. 3 5 6 9 12 22 [ 2] Gated project homepage[ EB/ OL]. ( 2007-09 -05 ). http / /www. gated. org. /% /ms / % / ms / % / ms / % / ms /% /ms / % / ms [ 3] Zebra project homepage[ EB/OL]. ( 2007-11 -05 ). http / /www. zebra. org/. [ 4] TSUKADA M ERNST T. Vehicle communication experiment environment with MANET and NEMO[ C] / /Proc of Applications and the Internet Workshops. 2007. [ 5]. OOP OLSR [ J]. 2007 23 ( 27) 125-126. [ 11] Netfilter /Iptables homepage[ EB/OL]. ( 2007-12-07). http / /www. netfilter. org. ( 654 ) [ 5] ETTLER K A LEHOCZKY J P TTROSNIDER J K. Modeling bus scheduling policies for real-time systems[ C] / /Proc of the 16th IEEE Real-time Systems Symposium. Oakland IEEE Press 1995 242-253. [ 6] CHEN C H LEE G W HUANG J D et al. A real-time and bandwidth guaranteed arbitration algorithm for SoC bus communication [ C] / / Proc of Asia and South Pacific Design Automation Conference. Pacifica Yokohama IEEE Press 2006 600-605. [ 7] KOVALSKI A B. High-speed bus arbiter for multiprocessors [ C] / / Proc of IEEE. [ S. l. ] IEEE Press 1983 49-56. [ 8] SECELEANU T KNUUTILA T NEVALAINEN O. Starvation free arbitration policies for the segmented-bus platform[ C] / / Proc of International Symposium on Signals Circuits and Systems. Iasi Romania IEEE Press 2005 67-70. [ 9] LAHIRI K RAGHUNATHAN A LAKSHMINARAYANA G. LOT- TERYBUS a new high-performance communication architecture for system-on-chip designs [ C] / / Proc of DAC 2001. Las Vegas IEEE Press 2001 15-20. [ 10] XU Yi LI Li GAO Ming-lun et al. An adaptive dynamic arbiter for multi-processor SoC[ C] / / Proc of the 8th International Conference on Solid-State and Integrated Circuit Technology. Shanghai IEEE Press 2006 1993-1996. [ 11] LI Ming ZENG Qing-an JONE W B. DyXY a proximity congestion-aware deadlock-free dynamic routing method for network on chip [ C] / / Proc of DAC 2006. San Francisco California IEEE Press 2006 849-852.