TCP,UDP,IP包头格式及说明

1、MAC帧头定义 /数据帧定义,头14个字节,尾4个字节/web typedef struct _MAC_FRAME_HEADER { char m_cDstMacAddress[6]; //目的mac地址 char m_cSrcMacAddress[6]; //源mac地址 short m_cType;      //上一层协议类型,如0x0800表明上一层是IP
相关文章
相关标签/搜索