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

📄 readme_etherinputdemo

📁 vxworks下的一些DEMO程序风常丰富的内容
💻
字号:
FILE LIST -       	     etherInputDemo.cDESCRIPTION -	     Handles (receives) raw input frames (input data) from the network	     interface using the ether input hook routine etHandle().	     This is a demonstration of using low-level input ethernet	     routines. The other half of the demonstration of using low-level	     output ethernet routines is in etherOutputDemo.c. etherInputDemo              runs on one VxWorks system, and etherOutputDemo runs on an              other VxWrks system in the same physical network.RUNNING DEMO -	     Place the etherInputDemo.c in your	     <Tornado> dir. Depending on the target 	     you have, define the CPU in your compile line and use	     the Makefile in the BSP dir. to compile.	     To run this demo invoke the function etherInputDemo()TESTED ON -   Host/Target : Solaris 2.5.1 / mv1604	      VxWorks     : 5.3.1EXAMPLE COMPILE LINE -              make CPU=PPC604 etherInputDemo.o% make CPU=PPC604 etherInputDemo.occppc -B/petaluma1/mayur/tor101-ppc/host/sun4-solaris2/lib/gcc-lib/ -mstrict-align -ansi -nostdinc -O2 -fvolatile -fno-builtin-fno-for-scope -Wall -I/h   -I. -I/petaluma1/mayur/tor101-ppc/target/config/all-I/petaluma1/mayur/tor101-ppc/target/h-I/petaluma1/mayur/tor101-ppc/target/src/config-I/petaluma1/mayur/tor101-ppc/target/src/drv -DCPU=PPC604  -DMV1600-DTARGET_DIR="\"mv1604\""   -c etherInputDemo.cOUTPUTS/LOGFILE -On VxWorks target:==================->  ld <etherInputDemo.ovalue = 682224 = 0xa68f0 = end + 0xf10-> sp (etherInputDemo)task spawned: id = 5d1ca0, name = u0value = 6102176 = 0x5d1ca0The Output on Console:======================etherInputHookAdd successful

⌨️ 快捷键说明

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