admin 管理员组

文章数量: 1086019


2024年4月17日发(作者:action请求和普通请求)

翻译:Lizhiming Mail:g@

LwIP移植说明文档

该译文以LwIP-1.4.0的移植文档为蓝本

本文档翻译了LwIP-1.4.0的移植说明文档,包括原始API及SYS_ARCH接口的说明文档。由于译者

水平所限,译文存在很多不确切或错误的翻译,还请网友多指正。需要特别提出的是,LwIP的SYS_ARCH

接口部分参考了焦海波“uC/OS-II 平台下的 LwIP 移植笔记”一文。在此,将译文放在网络上共享,

愿与网友共同学习、共同进步。

1 / 43

翻译:Lizhiming Mail:g@

INTRODUCTION

lwIP is a small independent implementation of the TCP/IP protocol suite that has been developed

by Adam Dunkels at the Computer and Networks Architectures (CNA) lab at the Swedish Institute

of Computer Science (SICS).

LwIP是一个TCP/IP协议簇的小型独立实现,该协议簇由瑞士SICS计算机网络实验室的Adam开发。

The focus of the lwIP TCP/IP implementation is to reduce the RAM usage while still having

a full scale TCP. This making lwIP suitable for use in embedded systems with tens of kilobytes

of free RAM and room for around 40 kilobytes of code ROM.

LwIP TCP/IP实现关注的是减小RAM的使用,同时拥有完整尺度的TCP协议。这使得LwIP适合于在只拥有数十k字

节RAM和40k左右ROM的嵌入式系统中使用。

FEATURES

特性

* IP (Internet Protocol) including packet forwarding over multiple network interfaces

Internet协议:包括通过多接口发送报文

Internet控制报文协议:用于网络维护和调试

Internet组管理协议:用于多播通信管理

用户数据报协议:包括实验性UDP扩展

recovery/fast retransmit

传输控制协议:拥有阻塞控制、RTT估计和快速恢复、快速传输等功能。

* Specialized raw/native API for enhanced performance

2 / 43

专门的原始API用于提高性能。

可选的伯克利形式SOCKET的API

域名解析(域名系统)

简单网络管理协议

动态主机配置协议

自动IP

点对点传输协议

英特网地址解析协议

* Optional Berkeley-like socket API

* DNS (Domain names resolver)

* SNMP (Simple Network Management Protocol)

* DHCP (Dynamic Host Configuration Protocol)

* AUTOIP (for IPv4, conform with RFC 3927)

* PPP (Point-to-Point Protocol)

* ARP (Address Resolution Protocol) for Ethernet

* ICMP (Internet Control Message Protocol) for network maintenance and debugging

* IGMP (Internet Group Management Protocol) for multicast traffic management

* UDP (User Datagram Protocol) including experimental UDP-lite extensions

* TCP (Transmission Control Protocol) with congestion control, RTT estimation and fast


本文标签: 协议 用于 文档 包括 网络