⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arp.h

📁 开发工具用EMBEST IDE进行开发,该程序是一个S3C44B0直接驱动网卡的程序,包括8019初始化,物理层收包发包,UDP的接收和发送,IP的发送和接收.已及ARM的地址解板,整个程序是自顶而下
💻 H
字号:
//-----------------------------------------------------------------------------
// ARP.H
//
//-----------------------------------------------------------------------------
#ifndef _ARP_H
#define _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  * arp_resolve(ULONG);
void arp_rcve(UCHAR  *);
void age_arp_cache(void);
void arp_retransmit(void);



#endif /* _ARP_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -