📄 dhcpcshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/dhcpcShow.html - generated by refgen from dhcpcShow.c --> <title> dhcpcShow </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>dhcpcShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dhcpcShow</strong> - DHCP run-time client information display routines </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./dhcpcShow.html#dhcpcShowInit">dhcpcShowInit</a>( )</b> - initialize the DHCP show facility<br><b><a href="./dhcpcShow.html#dhcpcServerShow">dhcpcServerShow</a>( )</b> - display current DHCP server<br><b><a href="./dhcpcShow.html#dhcpcTimersShow">dhcpcTimersShow</a>( )</b> - display current lease timers<br><b><a href="./dhcpcShow.html#dhcpcParamsShow">dhcpcParamsShow</a>( )</b> - display current lease parameters<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines that display various data related tothe DHCP run-time client library such as the lease timers and responding server. The <b><a href="./dhcpcShow.html#dhcpcShowInit">dhcpcShowInit</a>( )</b> routine links the show facility into the VxWorksimage. This happens automatically if <b>INCLUDE_NET_SHOW</b> and <b>INCLUDE_DHCPC</b> are defined at the time the image is built.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>dhcpcLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dhcpcLib.html#top">dhcpcLib</a></b><hr><a name="dhcpcShowInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>dhcpcShowInit( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dhcpcShowInit( )</strong> - initialize the DHCP show facility</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void dhcpcShowInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine links the DHCP show facility into the VxWorks system image. It is called from <b>usrNetwork.c</b> automatically if <b>INCLUDE_DHCP</b> and <b>INCLUDE_NET_SHOW</b> are defined at the time the image is constructed.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dhcpcShow.html#top">dhcpcShow</a></b><hr><a name="dhcpcServerShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>dhcpcServerShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dhcpcServerShow( )</strong> - display current DHCP server</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS dhcpcServerShow ( void * pCookie /* identifier returned by dhcpcInit() */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints the IP address of the DHCP server that provided the parameters for the lease identified by <i>pCookie</i>. It has no effect if theindicated lease is not currently active.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if lease identifier unknown.<p></blockquote><h4>ERRNO</h4><blockquote><p><p> <b>S_dhcpcLib_BAD_COOKIE</b></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dhcpcShow.html#top">dhcpcShow</a></b><hr><a name="dhcpcTimersShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>dhcpcTimersShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dhcpcTimersShow( )</strong> - display current lease timers</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS dhcpcTimersShow ( void * pCookie /* identifier returned by dhcpcInit() */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints the time remaining with each of the DHCP lease timersfor the lease identified by <i>pCookie</i>. It has no effect if the indicatedlease is not currently active.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK if show routine completes, or ERROR otherwise.<p></blockquote><h4>ERRNO</h4><blockquote><p><p> <b>S_dhcpcLib_BAD_COOKIE</b></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dhcpcShow.html#top">dhcpcShow</a></b><hr><a name="dhcpcParamsShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>dhcpcParamsShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dhcpcParamsShow( )</strong> - display current lease parameters</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS dhcpcParamsShow ( void * pCookie /* identifier returned by dhcpcInit() */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints all lease parameters for the lease identified by <i>pCookie</i>. It has no effect if the indicated lease is not currently active.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if lease identifier unknown.<p></blockquote><h4>ERRNO</h4><blockquote><p><p> <b>S_dhcpcLib_BAD_COOKIE</b></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dhcpcShow.html#top">dhcpcShow</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -