没有合适的资源?快使用搜索试试~ 我知道了~
首页风河VxWorks官方编程指南
风河VxWorks官方编程指南
需积分: 9 25 下载量 163 浏览量
更新于2023-03-16
评论 1
收藏 5.04MB PDF 举报
风河官方的编程指南,在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币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0