arp.h
来自「c8051f040实验程序含CAN SMBUS IIC」· C头文件 代码 · 共 24 行
H
24 行
//-----------------------------------------------------------------------------
// ARP.H
//
//-----------------------------------------------------------------------------
// Allow up to 10 entries in ARP cache
#define CACHESIZE 10
// ARP cache entry expiration time = 20 minutes
#define CACHETIME 20 // 60 second intervals
// Allow 2 seconds to receive an ARP reply
#define ARP_TIMEOUT 4 // 0.5 second intervals
void init_arp(void);
UCHAR xdata * arp_resolve(ULONG);
void arp_rcve(UCHAR xdata *);
void age_arp_cache(void);
void arp_retransmit(void);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?