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

📄 ipuplink.h

📁 igmp for switch in vxworks
💻 H
字号:

#ifndef _IPUPLINK_H_
#define _IPUPLINK_H_

 struct ethernet_information
{
	/* status informations */
	unsigned long ipAddr;		/* ethernet ip address */
	unsigned long subnetmask;	/* ethernet ip mask */
	unsigned long gateway;		/* gateway ip address */
#ifdef __MULTI_MAC__			/* For NP Test 2004-1-15 */
	unsigned char etherMac1[6];	/* ethernet mac address */
	unsigned char etherMac2[6];	/* ethernet mac address */
	unsigned char etherMac3[6];	/* ethernet mac address */
	unsigned char etherMac4[6];	/* ethernet mac address */	
#else
	unsigned char etherMac[6];	/* ethernet mac address */
#endif
	unsigned char gatewayMac[6];	/* gateway mac address */
};

/*extern struct ethernet_information gEtherInfo;*/
          

extern void *device_driver_malloc ();
extern void device_driver_free (void *vptr_buffer);

extern int uESend (UINT * pMblk, UINT outPackLen, UINT pvc, UINT atmport);

extern int uEIgmpBroadcastSend(UINT * pMblk, UINT outPackLen);

#endif /*_IPUPLINK_H_*/

⌨️ 快捷键说明

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