- 链接地址:https://blog.csdn.net/weixin_33727510/article/details/85856360
- 链接标题:TCP/IP协议头部结构体-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8299
//Mac头部,总长度14字节typedef struct _eth_hdr{unsigned char dstmac[6]; //目标mac地址unsigned char srcmac[6]; //源mac地址unsigned short eth_type; //以太网类型}eth_hdr; //IP头部,总长度20字节typedef struct _ip_hdr{#if ..._ip头结构体
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除
标签:ip头结构体