📄 wdbendpktdrv.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/wdbEndPktDrv.html - generated by refgen from wdbEndPktDrv.c --> <title> wdbEndPktDrv </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>wdbEndPktDrv</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wdbEndPktDrv</strong> - END based packet driver for lightweight UDP/IP </p></blockquote><h4>ROUTINES</h4><blockquote><p><p></blockquote><h4>DESCRIPTION</h4><blockquote><p><p></blockquote><h4>OVERVIEW</h4><blockquote><p><p>This is an END based driver for the WDB system. It uses the MUX and ENDbased drivers to allow for interaction between the target and targetserver.<p></blockquote><h4>USAGE</h4><blockquote><p><p>The driver is typically only called only from <b>usrWdb.c</b>. The only directlycallable routine in this module is <b><i>wdbEndPktDevInit</i>( )</b>. Your <b>configAll.h</b>file will have to be modified so that <b>WDB_COMM_TYPE</b> is defined as<b>WDB_COMM_END</b>. <p></blockquote><h4>DATA BUFFERING</h4><blockquote><p><p>The drivers only need to handle one input packet at a time becausethe WDB protocol only supports one outstanding host-request at a time.If multiple input packets arrive, the driver can simply drop them.The driver then loans the input buffer to the WDB agent, and the agentinvokes a driver callback when it is done with the buffer.<p>For output, the agent will pass the driver a chain of mbufs, whichthe driver must send as a packet. When it is done with the mbufs,it calls <b><i>wdbMbufChainFree</i>( )</b> to free them.The header file <b>wdbMbuflib.h</b> provides the calls for allocating, freeing,and initializing mbufs for use with the lightweight UDP/IP interpreter.It ultimatly makes calls to the routines wdbMbufAlloc and wdbMbufFree, whichare provided in source code in <b>usrWdb.c</b>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wdbEndPktDrv.html#top">wdbEndPktDrv</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -