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

📄 netlib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/netLib.html - generated by refgen from netLib.c --> <title> netLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference :  OS Libraries</i></a></p></blockquote><h1>netLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>netLib</strong> - network interface library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./netLib.html#netLibInit">netLibInit</a>(&nbsp;)</b>  -  initialize the network package<br><b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b>  -  network task entry point<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains the network task that runs low-level networkinterface routines in a task context.  The network task executes andremoves routines that were added to the job queue.  This facility is usedby network interfaces in order to have interrupt-level processing attask level.<p>The routine <b><a href="./netLib.html#netLibInit">netLibInit</a>(&nbsp;)</b> initializes the network and spawns the networktask <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b>.  This is done automatically when <b>INCLUDE_NET_LIB</b> is defined.<p>The routine <b><a href="./usrLib.html#netHelp">netHelp</a>(&nbsp;)</b> in <b><a href="./usrLib.html#top">usrLib</a></b> displays a summary of the network facilitiesavailable from the VxWorks shell.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>netLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./routeLib.html#top">routeLib</a></b>, <b><a href="./hostLib.html#top">hostLib</a></b>, <b><a href="./netDrv.html#top">netDrv</a></b>, <b><a href="./usrLib.html#netHelp">netHelp</a>(&nbsp;)</b>,<hr><a name="netLibInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>netLibInit(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>netLibInit(&nbsp;)</strong> - initialize the network package</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS netLibInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This creates the network task jobqueue, and spawns the network task <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b>.  It should be called once toinitialize the network.  This is done automatically when <b>INCLUDE_NET_LIB</b>is defined.<p></blockquote><h4>VXWORKS AE PROTECTION DOMAINS</h4><blockquote><p>Under VxWorks AE, you can call this function from within the kernel protection domain only.  This restriction does not apply under non-AE versions of VxWorks.  <p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if network support cannot be initialized.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netLib.html#top">netLib</a></b>, <b><a href="./usrConfig.html#top">usrConfig</a></b>, <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b><hr><a name="netTask"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>netTask(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>netTask(&nbsp;)</strong> - network task entry point</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void netTask (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is the VxWorks network support task.  Most of the VxWorksnetwork runs in this task's context.<p></blockquote><h4>NOTE</h4><blockquote><p>To prevent an application task from monopolizing the CPU if it isin an infinite loop or is never blocked, the priority of <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b>relative to an application may need to be adjusted.  Network communicationmay be lost if <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b> is "starved" of CPU time.  The default taskpriority of <b><a href="./netLib.html#netTask">netTask</a>(&nbsp;)</b> is 50.  Use <b><a href="./taskLib.html#taskPrioritySet">taskPrioritySet</a>(&nbsp;)</b> to change the priorityof a task.<p>This task is spawned by <b><a href="./netLib.html#netLibInit">netLibInit</a>(&nbsp;)</b>.<p></blockquote><h4>VXWORKS AE PROTECTION DOMAINS</h4><blockquote><p>Under VxWorks AE, you can call this function from within the kernel protection domain only.  This restriction does not apply under non-AE versions of VxWorks.  <p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netLib.html#top">netLib</a></b>, <b><a href="./netLib.html#netLibInit">netLibInit</a>(&nbsp;)</b><p></body></html>

⌨️ 快捷键说明

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