![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ethernet
山猫Show
科学 -> 技术 -> 工程
展开
-
[Ethernet]网卡驱动 -- TCP通信传输文件
最近在搞网络驱动,在网上找到几个比较好的例程,自己又整理了下,代码贴在下面:原帖地址已不可考,侵删// server.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>原创 2021-06-28 12:21:11 · 235 阅读 · 0 评论 -
[Ethernet]网卡驱动 -- Features
本文摘自Linux Kernel Documentation/networking/netdev-features.txt文件,附带部分翻译。原文标题Netdev features mess and how to get out from it aliveAuthor:Michał Mirosław mirq-linux@rere.qmqm.plPart I: Feature setsLong gone are the days when a network card would just ta翻译 2021-06-21 14:53:36 · 1054 阅读 · 0 评论 -
[Ethernet]网卡驱动 -- UDP通信
最近在搞网络驱动,在网上找到几个比较好的例程,自己又整理了下,代码贴在下面:这个代码自己加了握手,实测下来md5是对的。不记得是哪找的了,好象是一个叫什么程序员代码网之类的,侵删。// client.c#include<sys/types.h> #include<sys/socket.h> #include<unistd.h> #include<netinet/in.h> #include<arpa/inet.h> #includ原创 2021-06-21 11:11:34 · 261 阅读 · 0 评论 -
[Ethernet]网卡驱动 -- TCP通信传输字符
最近在搞网络驱动,在网上找到几个比较好的例程自己又整理了下,代码贴在下面:原帖地址// server.c#include <stdio.h>#include <netdb.h>#include <netinet/in.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <sys/types.h>#define M原创 2021-06-21 11:05:03 · 201 阅读 · 1 评论