arp.h
来自「mcf5307实验源代码」· C头文件 代码 · 共 30 行
H
30 行
#ifndef ARP_H
#define ARP_H
#define RARP_MAX_ATTEMPTS 5
/* ARP_RESOLVE_STRUCT is used to keep track the resolution of MAC layer
addresses.
*/
typedef struct ARP_RESOLVE_STRUCT
{
struct ARP_RESOLVE_STRUCT *ar_next;
struct ARP_RESOLVE_STRUCT *ar_prev;
NU_TASK *ar_task;
BUFFER *ar_buf_ptr;
int ar_send_count;
int ar_pkt_type;
int ar_pkt_len;
uint16 ar_id;
} ARP_RESOLVE_ENTRY;
typedef struct _ARP_RESOLVE_LIST
{
struct ARP_RESOLVE_STRUCT *ar_head;
struct ARP_RESOLVE_STRUCT *ar_tail;
} ARP_RESOLVE_LIST;
#endif /* ARP_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?