📄 pppshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/pppShow.html - generated by refgen from pppShow.c --> <title> pppShow </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>pppShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppShow</strong> - Point-to-Point Protocol show routines </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./pppShow.html#pppInfoShow">pppInfoShow</a>( )</b> - display PPP link status information<br><b><a href="./pppShow.html#pppInfoGet">pppInfoGet</a>( )</b> - get PPP link status information<br><b><a href="./pppShow.html#pppstatShow">pppstatShow</a>( )</b> - display PPP link statistics<br><b><a href="./pppShow.html#pppstatGet">pppstatGet</a>( )</b> - get PPP link statistics<br><b><a href="./pppShow.html#pppSecretShow">pppSecretShow</a>( )</b> - display the PPP authentication secrets table<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines to show Point-to-Point Protocol (PPP) linkstatus information and statistics. Also provided are routines thatprogrammatically access this same information.<p>This library is automatically linked into the VxWorks system image whenthe configuration macro <b>INCLUDE_PPP</b> is defined.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>pppLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppLib.html#top">pppLib</a></b>,<i>VxWorks Programmer's Guide: Network </i><hr><a name="pppInfoShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pppInfoShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppInfoShow( )</strong> - display PPP link status information</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pppInfoShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays status information pertaining to each initializedPoint-to-Point Protocol (PPP) link, regardless of the link state.State and option information is gathered for the Link Control Protocol(LCP), Internet Protocol Control Protocol (IPCP), Password AuthenticationProtocol (PAP), and Challenge-Handshake Authentication Protocol (CHAP).<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppShow.html#top">pppShow</a></b>, <b><a href="./pppLib.html#top">pppLib</a></b><hr><a name="pppInfoGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pppInfoGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppInfoGet( )</strong> - get PPP link status information</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pppInfoGet ( int unit, /* PPP interface unit number to examine */ PPP_INFO * pInfo /* PPP_INFO structure to be filled */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets status information pertaining to the specifiedPoint-to-Point Protocol (PPP) link, regardless of the link state.State and option information is gathered for the Link Control Protocol(LCP), Internet Protocol Control Protocol (IPCP), Password AuthenticationProtocol (PAP), and Challenge-Handshake Authentication Protocol (CHAP).<p>The PPP link information is returned through a <b>PPP_INFO</b> structure, whichis defined in <b>h/netinet/ppp/pppShow.h</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>unit</i> is an invalid PPP unit number.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppShow.html#top">pppShow</a></b>, <b><a href="./pppLib.html#top">pppLib</a></b><hr><a name="pppstatShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pppstatShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppstatShow( )</strong> - display PPP link statistics</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pppstatShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays statistics for each initialized Point-to-PointProtocol (PPP) link. Detailed are the numbers of bytes and packets received and sent through each PPP interface.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppShow.html#top">pppShow</a></b>, <b><a href="./pppLib.html#top">pppLib</a></b><hr><a name="pppstatGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pppstatGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppstatGet( )</strong> - get PPP link statistics</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pppstatGet ( int unit, /* PPP interface unit number to examine */ PPP_STAT * pStat /* PPP_STAT structure to be filled */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets statistics for the specified Point-to-Point Protocol(PPP) link. Detailed are the numbers of bytes and packets received and sent through the PPP interface.<p>The PPP link statistics are returned through a <b>PPP_STAT</b> structure, whichis defined in <b>h/netinet/ppp/pppShow.h</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>unit</i> is an invalid PPP unit number.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppShow.html#top">pppShow</a></b>, <b><a href="./pppLib.html#top">pppLib</a></b><hr><a name="pppSecretShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pppSecretShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pppSecretShow( )</strong> - display the PPP authentication secrets table</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pppSecretShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the Point-to-Point Protocol (PPP) authenticationsecrets table. The information in the secrets table may be used by thePassword Authentication Protocol (PAP) and Challenge-Handshake AuthenticationProtocol (CHAP) user authentication protocols.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pppShow.html#top">pppShow</a></b>, <b><a href="./pppLib.html#top">pppLib</a></b>, <b><a href="./pppSecretLib.html#pppSecretAdd">pppSecretAdd</a>( )</b>, <b><a href="./pppSecretLib.html#pppSecretDelete">pppSecretDelete</a>( )</b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -