📄 ethernet.h
字号:
#ifndef _ETHERNET_H
#define _ETHERNET_H_
#include <csl_stdinc.h>
#include "ARP.h"
typedef struct EthernetPkt
{
struct EthernetPkt *pPrev; /* Previous record */
struct EthernetPkt *pNext; /* Next record */
Uint8 EthernetDestAddr[6]; /* Ethernet destination address */
Uint8 EthernetSourceAddr[6]; /* Ethernet source address */
Uint16 FrameType; /* Frame type */
struct ArpPkt EthernetArp; /* 28 bytes ARP report */
}EthernetPkt;
#endif /* end of ethernet.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -