没有合适的资源?快使用搜索试试~ 我知道了~
风河VxWorks官方编程指南
需积分: 9 25 下载量 31 浏览量
2014-08-15
11:39:19
上传
评论 1
收藏 5.04MB PDF 举报
温馨提示
试读
602页
风河官方的编程指南,在Tornado的操作环境下,如何实现VxWorks的系统的编程
资源推荐
资源详情
资源评论
Wind River
Network Stack
2.0
PROGRAMMER’S GUIDE
®
Wind River N etwork Stack Prog rammer's Gui de
Copyright 2004 Wind River Systems, Inc.
All rights reserved. No part of this publication may be reproduced or transmitted in any
form or by any means without the prior written permission of Wind River Systems, Inc.
Wind River, the Wind River logo, Tornado, and VxWorks are registered trademarks of
Wind River Systems, Inc. Any third-party trademarks referenced are the property of their
respective owners. For further information regarding Wind River trademarks, please see:
http://www.windriver.com/company/terms/trademark.html
This product may include software licensed to Wind River by third parties. Relevant
notices (if any) are provided in your product installation under the following directory:
installDir/docs/pdf/3rd_party_licensor_notice.
Corporate Headquarters
Wind River Systems, Inc.
500 Wind River Way
Alameda, CA 94501-1153
U.S.A.
toll free (
U.S.): (800) 545-WIND
telephone: (510) 748-4100
facsimile: (510) 749-2010
For additional contact information, please visit the Wind River URL:
http://www.windriver.com
For information on how to contact Customer Support, please visit the following URL:
http://www.windriver.com/support
Wind River Network Stack Programmer’s Guide, 2.0
26 Oct 04
Part #: DOC-15308-ND-01
iii
Contents
1 Overview .............................................................................................. 1
1.1 Introduction ............................................................................................................. 1
1.2 Chapter Overviews ................................................................................................ 2
1.3 About the IP Addresses Used in this Manual .................................................. 7
1.4 Recommended Reading ........................................................................................ 7
2 The Wind River Network Stack ........................................................... 9
2.1 Introduction ............................................................................................................. 9
2.2 One Code Base Generates All Stack Variants ................................................... 10
2.3 Feature Overview ................................................................................................... 11
3 Building the Wind River Network Stack Binaries .............................. 25
3.1 Introduction ............................................................................................................. 25
3.2 Build Modifier Values ........................................................................................... 26
3.3 Building PPP to Support Virtual Stacks ............................................................ 27
3.4 Building the Network Stack under VxWorks 5.5.1 .......................................... 27
Wind River Network Stack
Programmer’s Guide, 2.0
iv
3.4.1 Setting Environment Variables ............................................................... 28
3.4.2 Selecting CPU and TOOL Values ........................................................... 28
3.4.3 Selecting Build Options ........................................................................... 28
3.4.4 Selecting ADDED_CFLAGS Values ....................................................... 29
3.4.5 Where to Run the make for a Network Stack Build ............................ 31
4 Build Time Configuration .................................................................... 33
4.1 Introduction ............................................................................................................. 34
4.2 Using a Minimal Host Stack to Test Network Connectivity .......................... 35
4.2.1 The Essential Components in a Minimal Stack .................................... 35
4.2.2 Including a Network Driver ................................................................... 36
4.2.3 Testing Connectivity from the Target .................................................... 37
4.3 Core Network Components .................................................................................. 39
4.3.1 GTF support .............................................................................................. 40
4.3.2 END interface support ............................................................................. 41
4.3.3 MUX support ............................................................................................ 42
4.3.4 Initialize tables for network stack .......................................................... 43
4.3.5 System and Data Memory Pool Configuration .................................... 44
4.3.6 network init ............................................................................................... 52
4.3.7 netbufLib ................................................................................................... 52
4.3.8 netBufPool ................................................................................................. 53
4.3.9 linkBufPool ................................................................................................ 53
4.4 Network Protocol Components ........................................................................... 54
4.4.1 Reverse ARP client ................................................................................... 54
4.4.2 VLAN Tagging .......................................................................................... 55
4.5 SYSCTL Components ............................................................................................ 56
4.5.1 NETWORK SYSCTL ................................................................................ 57
Contents
v
4.5.2 SYSCTL CLI .............................................................................................. 57
4.6 Network IPv4 Components .................................................................................. 58
4.6.1 IP v4 ............................................................................................................ 58
4.6.2 UDP for IPv4 ............................................................................................. 63
4.6.3 ICMP IPv4 ................................................................................................. 64
4.6.4 IP FLOW .................................................................................................... 66
4.6.5 IGMP v4 ..................................................................................................... 67
4.6.6 RAW v4 ...................................................................................................... 67
4.6.7 HOST CACHE .......................................................................................... 68
4.6.8 Multicast routing ...................................................................................... 68
4.6.9 IGMPv2 Router side ................................................................................. 69
4.6.10 TCP v4 ........................................................................................................ 71
4.6.11 TCP Debugging ........................................................................................ 75
4.7 Network IPv6 Components .................................................................................. 76
4.7.1 IP v6 ............................................................................................................ 76
4.7.2 UDP v6 ....................................................................................................... 79
4.7.3 TCP v6 ........................................................................................................ 80
4.7.4 ICMP v6 ..................................................................................................... 80
4.7.5 Raw v6 ....................................................................................................... 81
4.7.6 Neighbor Discovery Support ................................................................. 82
4.7.7 Multicast Listener Discovery .................................................................. 83
4.8 Network Components for MIB-II ....................................................................... 84
4.8.1 MIB-II IF Counter Instrumentation ....................................................... 85
4.8.2 MIB-II IF Management APIs ................................................................... 86
4.8.3 All MIB-II IPv4 Management Components .......................................... 86
4.8.4 All MIB-II IPv6 Management Components .......................................... 87
4.8.5 MIB-II IPv4 Management APIs .............................................................. 87
4.8.6 MIB-II UDP Management APIs .............................................................. 88
剩余601页未读,继续阅读
资源评论
qq_19563203
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功