当前位置:网站首页>Gd32f4xx UIP protocol stack migration record
Gd32f4xx UIP protocol stack migration record
2022-07-05 23:58:00 【madao1234】
uIP It's a very small TCP/IP Stack . Use it completely C To write , It can be transplanted to various structures and operating systems , A compiled stack can be in a few KB ROM Or hundreds of bytes RAM Run in .
1、uIP Files that need to be migrated in
First, create a ethernet Folder , The files in the directory after migration are shown in the following figure :
(1)enc28j60.c / enc28j60.h Driver code for Ethernet chip . Please refer to my other article for details :
(2)uip.c / uip.h It is the core code of the protocol stack , from uIP Copy it from the source code .
(3)uip_arp.c / uip_arp.h Realization ARP( Address resolution protocol ) Core code , from uIP Copy it from the source code .
(4)uipopt.h / uip-conf.h yes uip Configuration file of protocol stack , from uIP Copy it from the source code .
(5)tapdev.c / tapdev.h It is the Ethernet driver initialization that needs to be implemented by ourselves 、 send out 、 Receive interface function file .
(6)ethernet.c / ethernet.h It is the processing thread of Ethernet Protocol , The processing thread structure is basically unchanged , You need to implement the processing function yourself .
2、tapdev.c /.h
#边栏推荐
- QT QPushButton details
- Problems encountered in the database
- 【EF Core】EF Core与C# 数据类型映射关系
- Qt QPushButton详解
- There is no network after configuring the agent by capturing packets with Fiddler mobile phones
- Senparc.Weixin.Sample.MP源码剖析
- 微信小程序---WXML 模板语法(附带笔记文档)
- 行列式学习笔记(一)
- The use of El cascader and the solution of error reporting
- [binary search tree] add, delete, modify and query function code implementation
猜你喜欢

FFmpeg学习——核心模块

上门预约服务类的App功能详解

Configuring OSPF load sharing for Huawei devices

【LeetCode】5. Valid palindrome
![[noi simulation] Anaid's tree (Mobius inversion, exponential generating function, Ehrlich sieve, virtual tree)](/img/d6/c3128e26d7e629b7f128c551cd03a7.png)
[noi simulation] Anaid's tree (Mobius inversion, exponential generating function, Ehrlich sieve, virtual tree)

跟着CTF-wiki学pwn——ret2libc1

el-cascader的使用以及报错解决

The use of El cascader and the solution of error reporting
![Choose to pay tribute to the spirit behind continuous struggle -- Dialogue will values [Issue 4]](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
Choose to pay tribute to the spirit behind continuous struggle -- Dialogue will values [Issue 4]

如何获取localStorage中存储的所有值
随机推荐
FFmpeg学习——核心模块
亲测可用fiddler手机抓包配置代理后没有网络
有什么不起眼却挣钱的副业?
STM32__ 06 - single channel ADC
N1 # if you work on a metauniverse product [metauniverse · interdisciplinary] Season 2 S2
What if the C disk is not enough? Let's see how I can clean up 25g of temp disk space after I haven't redone the system for 4 years?
数据库遇到的问题
FFT 学习笔记(自认为详细)
Effet Doppler (déplacement de fréquence Doppler)
openssl-1.0.2k版本升级openssl-1.1.1p
el-cascader的使用以及报错解决
DEJA_ Vu3d - cesium feature set 055 - summary description of map service addresses of domestic and foreign manufacturers
【二叉搜索树】增删改查功能代码实现
Senparc.Weixin.Sample.MP源码剖析
DEJA_VU3D - Cesium功能集 之 055-国内外各厂商地图服务地址汇总说明
[gym 102832h] [template] combination lock (bipartite game)
CloudCompare&PCL 点云随机添加噪声
2022.7.5-----leetcode.729
Which side projects can be achieved? Is it difficult for we media to earn more than 10000 a month?
Qt 一个简单的word文档编辑器