ipuplink.h
来自「igmp for switch in vxworks」· C头文件 代码 · 共 34 行
H
34 行
#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 + =
减小字号Ctrl + -
显示快捷键?