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

📄 etherdemo.h

📁 vxworks 下的网络程序源码以太网源代码
💻 H
字号:
/* etherDemo.h - header for etherInputDemo and etherOutputDemo */  /* Copyright 1984-1997 Wind River Systems, Inc. */  /* modification history -------------------- 01b,06nov97,mm  added copyright. 01a,17feb94,ms  written */  #define  ET_TYPE    (u_short)1111  /* user defined protocol type */ #define  INTERFACE_NAME "sm0" /* name of your network interface name*/ LOCAL STATUS etBcast(); /* broadcast on ethernet network interface */ /* LOCAL BOOL etHandle ();  ether input hook routine for handling input */ LOCAL char etMessage [] = "Hello World!!!"; /* data to be passed*/  /* Broadcast ethernet address is used for simple demonstration. You can  * replace the value of the etbcastaddr variable with the destination   * ethernet address.  */ unsigned char etbcastaddr [6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };  

⌨️ 快捷键说明

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