?? arp.h
字號:
#ifndef _ARP_H
#define _ARP_H_
#include <csl_stdinc.h>
typedef struct ArpPkt
{
struct _EMAC_Pkt *pPrev; /* Previous record */
struct _EMAC_Pkt *pNext; /* Next record */
Uint16 HardType; /* Harware type list here */
Uint16 ProtocalType; /* Protocal type 0x0806 2054 */
Uint8 HardAddrLen; /* Hardware address length */
Uint8 ProtocalAddrLen; /* Protocal address length */
Uint16 OperCode; /* Operation code */
Uint8 SourceHardAddr[6]; /* sender hardware address */
Uint8 SourceProtAddr[4]; /* sender protocal address */
Uint8 DestHardAddr[6]; /* Destination hardware address */
Uint8 DestProtAddr[4]; /* Destination protocal addrss */
} ArpPkt;
typedef struct RarpPkt
{
Uint16 HardType; /* Harware type list here */
Uint16 ProtocalType; /* Protocal type 0x8035 32821 */
Uint8 HardAddrLen; /* Hardware address length */
Uint8 ProtocalAddrLen; /* Protocal address length */
Uint16 OperCode; /* Operation code */
Uint8 SourceHardAddr[6]; /* sender hardware address */
Uint8 SourceProtAddr[4]; /* sender protocal address */
Uint8 DestHardAddr[6]; /* Destination hardware address */
Uint8 DestProtAddr[4]; /* Destination protocal addrss */
} RarpPkt;
#endif /*--- end of ARP.h---*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -