etherdemo.h

来自「vxworks 下的网络程序源码 包括」· C头文件 代码 · 共 25 行

H
25
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?