<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<head>
<title>NaturalAccess GR303 and V5 Libraries Developer's Manual: NMS_V5GetChannelStatistics </title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name=NMSConversion content="4.0.8">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="dialogic_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='dialogic.css'>");}
//-->
</script>
<style type="text/css">
<!--
table.whs1 { width:100%;   x-border-left:1px table-solid; x-border-top:1px table-solid; x-border-right:1px table-solid; x-border-bottom:1px table-solid; border-collapse:separate; border-spacing:0px; }
col.whs2 { width:13.927%; }
col.whs3 { width:86.073%; }
td.whs4 { background-color:#CCCCCC; vertical-align:top;   padding-right:10px; padding-left:10px; }
p.whs5 { font-weight:bold; }
td.whs6 { background-color:#ffffff; vertical-align:top;   padding-right:10px; padding-left:10px; }
p.whs7 { font-style:italic; font-weight:bold; }
col.whs8 { width:28.105%; }
col.whs9 { width:71.895%; }
table.whs10 {   x-border-left:1px table-solid; x-border-top:1px table-solid; x-border-right:1px table-solid; x-border-bottom:1px table-solid; border-collapse:separate; border-spacing:0px; width:100%; }
col.whs11 { width:18.13%; }
col.whs12 { width:81.87%; }
tr.whs13 { background-color:#CCCCCC; x-cell-content-align:top; vertical-align:top; }
td.whs14 { vertical-align:top; padding-left:5px;  padding-right:5px;  }
tr.whs15 { x-cell-content-align:top; vertical-align:top; }
col.whs16 { width:17.503%; }
col.whs17 { width:82.497%; }
div.whs18 { width:100%; }
p.whs19 { text-align:center; }
p.whs20 { text-align:center; font-size:xx-small; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs20 {font-size:x-small; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("NMS V5 function reference\nNMS_V5GetChannelStatistics");
addAvenueInfo("Untitled","nmsv5exit.html","nmsv5gete1status.html");
addButton("show",BTN_TEXT,"Show table of contents for this manual","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if (window.setRelStartPage)
	{
	setRelStartPage("default.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();
//-->
</script>
<h1>NMS_V5GetChannelStatistics</h1>

<p>Returns the statistics collected for a particular HDLC channel provisioned 
 on an interface. </p>

<h4>Prototype</h4>

<p>NMS_V5_RESULT_T<span style="font-weight: bold;"><B> NMS_V5GetChannelStatistics 
 </B></span>( NMS_V5_INTERFACE_ID_T <span style="font-style: italic; font-weight: bold;"><I><B>interfaceId</B></I></span>, 
 NMS_V5_CHANNEL_LOCATION_T <span style="font-style: italic; font-weight: bold;"><I><B>channel_loc,</B></I></span> 
 NMS_V5_CHANNEL_STATISTICS_T *<span style="font-style: italic; font-weight: bold;"><I><B>channel_stat</B></I></span>)</p>

<table cellpadding="5" x-use-null-cells cellspacing="0" width="100%" border="1" class="whs1">
<col class="whs2">
<col class="whs3">

<tr>
<td bgcolor="#CCCCCC" width="13.927%" class="whs4">
<p class="whs5">Argument</p></td>
<td bgcolor="#CCCCCC" width="86.073%" class="whs4">
<p class="whs5">Description</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="13.927%" class="whs6">
<p class="whs7">interfaceId</p></td>
<td bgcolor="#FFFFFF" width="86.073%" class="whs6">
<p>Interface ID of a provisioned interface.</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="13.927%" class="whs6">
<p class="whs7">channel_loc</p></td>
<td bgcolor="#FFFFFF" width="86.073%" class="whs6">
<p>HDLC channel location for which to obtain statistics as specified in 
 the following structure:</p>
<p class=Example>typedef&nbsp;union&nbsp;_NMS_V5_CHANNEL_LOCATION_T<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;&nbsp;boardNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;&nbsp;trunkNb;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;&nbsp;timeslotNb;<br>
 &nbsp;&nbsp;}&nbsp;CG;<br>
}NMS_V5_CHANNEL_LOCATION_T</p>
<p>See the <a href="#Details">Details</a> section for field descriptions.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="13.927%" class="whs6">
<p class="whs7">channel_stat</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="86.073%" class="whs6">
<p>Pointer to an application-provided buffer to receive the following structure:</p>
<p class=Example>typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;DWORD&nbsp;Size;&nbsp;<br>
&nbsp;&nbsp;CHANNEL_STATISTICS_RECEIVE_T&nbsp;chan_stat_rx;<br>
&nbsp;&nbsp;CHANNEL_STATISTICS_TRANSMIT_T&nbsp;chan_stat_tx;<br>
}&nbsp;NMS_V5_CHANNEL_STATISTICS_T;<br>
<br>
typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;DWORD&nbsp;Octets;<br>
&nbsp;&nbsp;DWORD&nbsp;Frames;<br>
&nbsp;&nbsp;DWORD&nbsp;Drops;<br>
&nbsp;&nbsp;DWORD&nbsp;FifoOverruns;<br>
&nbsp;&nbsp;DWORD&nbsp;Aborts;<br>
&nbsp;&nbsp;DWORD&nbsp;CrcErrors;<br>
&nbsp;&nbsp;DWORD&nbsp;NonAlignedOctets;<br>
&nbsp;&nbsp;DWORD&nbsp;BufferOverflows;<br>
}&nbsp;CHANNEL_STATISTICS_RECEIVE_T;<br>
<br>
typedef&nbsp;struct&nbsp;{<br>
&nbsp;&nbsp;DWORD&nbsp;Octets;<br>
&nbsp;&nbsp;DWORD&nbsp;Frames;<br>
&nbsp;&nbsp;DWORD&nbsp;Drops;<br>
&nbsp;&nbsp;DWORD&nbsp;FifoUnderruns;<br>
&nbsp;&nbsp;DWORD&nbsp;FifoOverruns;<br>
}&nbsp;CHANNEL_STATISTICS_TRANSMIT_T;</p>
<p>See the <a href="#Details">Details</a> section for field descriptions.</p></td></tr>
</table><br>

<h4>Return values</h4>

<table cellpadding="5" x-use-null-cells cellspacing="0" width="100%" border="1" class="whs1">
<col class="whs8">
<col class="whs9">

<tr>
<td bgcolor="#CCCCCC" width="28.105%" class="whs4">
<p class="whs5">Return value</p></td>
<td bgcolor="#CCCCCC" width="71.895%" class="whs4">
<p class="whs5">Description</p></td></tr>

<tr>
<td bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_SUCCESS</p></td>
<td bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>&nbsp;</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INTERNAL_FAILURE</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>Internal failure. Refer to the trace log for more information.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_CHANNEL</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>Specified HDLC channel is not provisioned on the specified interface.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_INTERFACE_ID</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>Specified interface is not provisioned.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_INVALID_PARMS</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p><span style="font-style: italic; font-weight: bold;"><I><B>channel_stat</B></I></span> 
 buffer is NULL.</p></td></tr>

<tr>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="28.105%" class="whs6">
<p>NMSV5_NOT_INITIALIZED</p></td>
<td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="71.895%" class="whs6">
<p>NMS V5 library was not initialized with <span style="font-weight: bold;"><B><a href="nmsv5initialize.html">NMS_V5Initialize</a></B></span>.</p></td></tr>
</table><br>

<h4><a name=Details></a>Details</h4>

<p><span style="font-weight: bold;"><B>NMS_V5GetChannelStatistics</B></span>&nbsp;returns 
 statistics for the provisioned HDLC channel. Applications can only obtain 
 statistics for HDLC channels that are configured on the active variant 
 of the specified interface. </p>

<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >CHANNEL_STATISTICS_RECEIVE_T</font></span> 
 returns the following information: </p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs10">
<col class="whs11">
<col class="whs12">

<tr bgcolor="#CCCCCC" valign="top" class="whs13">
<td width="18.13%" class="whs14">
<p class="whs5">Field</p></td>
<td width="81.87%" class="whs14">
<p class="whs5">Description</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Octets</font></span></p></td>
<td width="81.87%" class="whs14">
<p>Bytes received count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Frames</font></span></p></td>
<td width="81.87%" class="whs14">
<p>Frames received count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Drops</font></span></p></td>
<td width="81.87%" class="whs14">
<p>Frames dropped count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >FifoOverruns</font></span></p></td>
<td width="81.87%" class="whs14">
<p>FIFO overrun count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p>Aborts</p></td>
<td width="81.87%" class="whs14">
<p>Receive abort count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p>CrcErrors</p></td>
<td width="81.87%" class="whs14">
<p>Receive CRC errors count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p>NonAlignedOctets</p></td>
<td width="81.87%" class="whs14">
<p>Non-aligned octets count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs15">
<td width="18.13%" class="whs14">
<p>BufferOverflows</p></td>
<td width="81.87%" class="whs14">
<p>Buffer overflows count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>
</table><br>

<p>CHANNEL_STATISTICS_TRANSMIT_T returns the following information: </p>

<table cellpadding="5" x-use-null-cells width="100%" cellspacing="0" border="1" class="whs10">
<col class="whs16">
<col class="whs17">

<tr bgcolor="#CCCCCC" valign="top" class="whs13">
<td width="17.503%" class="whs14">
<p class="whs5">Field</p></td>
<td width="82.497%" class="whs14">
<p class="whs5">Description</p></td></tr>

<tr valign="top" class="whs15">
<td width="17.503%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Octets</font></span></p></td>
<td width="82.497%" class="whs14">
<p>Bytes transmitted count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="17.503%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Frames</font></span></p></td>
<td width="82.497%" class="whs14">
<p>Frames transmitted count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="17.503%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >Drops</font></span></p></td>
<td width="82.497%" class="whs14">
<p>Frames dropped count.</p></td></tr>

<tr valign="top" class="whs15">
<td width="17.503%" class="whs14">
<p>FifoUnderruns</p></td>
<td width="82.497%" class="whs14">
<p>FIFO underrun count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>

<tr valign="top" class="whs15">
<td width="17.503%" class="whs14">
<p><span style="color: #000000;
				font-style: normal;
				font-weight: normal;
				x-text-underline: off;
				x-text-overline: off;
				x-text-line-through: off;
				text-transform: none;
				vertical-align: baseline;
				/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=black >FifoOverruns</font></span></p></td>
<td width="82.497%" class="whs14">
<p>FIFO overrun count. Not supported on CG 6100C or CG 6500C boards.</p></td></tr>
</table><br>

<h4>See also</h4>

<p><a href="nmsv5gete1status.html"><span style="color: #0000ff;
												font-style: normal;
												font-weight: bold;
												x-text-underline: off;
												x-text-overline: off;
												x-text-line-through: off;
												text-transform: none;
												vertical-align: baseline;
												/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=blue ><B>NMS_V5GetE1Status</B></font></span></a>, 
 <a href="nmsv5resetchannelstatistics.html"><span style="color: #0000ff;
															font-style: normal;
															font-weight: bold;
															x-text-underline: off;
															x-text-overline: off;
															x-text-line-through: off;
															text-transform: none;
															vertical-align: baseline;
															/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ "><font color=blue ><B>NMS_V5ResetChannelStatistics</B></font></span></a></p>

<h4>Example</h4>

<p class=Example>void&nbsp;&nbsp;GetChannelStatistics(&nbsp;void&nbsp;)<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_RESULT_T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NmsResult;<br>
&nbsp;&nbsp;&nbsp;&nbsp;DWORD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InterfaceId;<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_CHANNEL_STATISTICS_T&nbsp;&nbsp;Statistics;<br>
&nbsp;&nbsp;&nbsp;&nbsp;NMS_V5_CHANNEL_LOCATION_T&nbsp;&nbsp;&nbsp;&nbsp;ChannelLocation;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;NMS_V5GetChannelStatistics:\n&quot;);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;Get&nbsp;parameters&nbsp;*/<br>
&nbsp;&nbsp;&nbsp;&nbsp;promptdw_nodft(&quot;Enter&nbsp;InterfaceId&quot;,&nbsp;&amp;InterfaceId);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;Enter&nbsp;channel&nbsp;location:\n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;GetChannelLocationNMS(&nbsp;&amp;ChannelLocation&nbsp;);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;NmsResult&nbsp;=&nbsp;<span style="font-weight: bold;"><B>NMS_V5GetChannelStatistics</B></span>&nbsp;(&nbsp;InterfaceId,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChannelLocation,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;Statistics);<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf&nbsp;(&quot;NMS_V5GetChannelStatistics:&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Result=%s\n&quot;,PRINT_RESULT(NmsResult));<br>
}<br>
<br>
&nbsp;&nbsp;if&nbsp;(NmsResult&nbsp;==&nbsp;NMSV5_SUCCESS)<br>
&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;TxOctets&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_tx.Octets);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;TxFrames&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_tx.Frames);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;TxDrops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_tx.Drops);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;TxUnderrun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;, Statistics.chan_stat_tx.FifoUnderruns);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;TxOverrun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;, Statistics.chan_stat_tx.FifoOverruns);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxOctets&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_rx.Octets);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxFrames&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_rx.Frames);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxDrops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_rx.Drops);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxOverrun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;, Statistics.chan_stat_rx.FifoOverruns);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxAbort&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;,&nbsp;Statistics.chan_stat_rx.Aborts);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxCrcError&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;, Statistics.chan_stat_rx.CrcErrors);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxNonAligned&nbsp;&nbsp;&nbsp;&nbsp;=%i\n&quot;, Statistics.chan_stat_rx.NonAlignedOctets);<br>
&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;RxBufferOverflow=%i\n&quot;, Statistics.chan_stat_rx.BufferOverflows);<br>
&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}</p>

<div placeholder id="footer" class="whs18">
 <p align="center" class="whs19">&nbsp;</p>
 <p align="center" class="whs19"><script type="text/javascript" language="JavaScript1.2">var mailSubject = 'Documentation link: ' + document.title;
var mailBody = 'Link to reference this topic:%0A %0A' + location.href;
var mailDisplay = '<img src="send_link.gif" border="0" alt="Send link to this topic">'; 
document.write( 
'<a href="mailto:Enter recipient email address' 
+ '?subject=' + escape(mailSubject) 
+ '&body=' + (mailBody) 
+ '">' + mailDisplay + '</a>' 
);</script></p>
 <p align="center" class="whs20">&#169; 
 Copyright 2009 Dialogic Corporation. All rights reserved.</p>
</div>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
	writeIntopicBar(0);
//-->
</script>
</body>
</html>

