[#CNode-CopyStats]
= xref:CNode.adoc[CNode]::CopyStats
:relfileprefix: ../
:mrdocs:

Copy this node&apos;s current statistics into the given CNodeStats&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f950f15e0b8, 0x7f950f15e178, 0x7f950f15e238, 0x7f950f15e2f8), requires&lowbar;capability(0x7f950f1ed3c8, 0x7f950f1ed488, 0x7f950f1ed548, 0x7f950f1ed608), requires&lowbar;capability(0x7f950aff0aa8, 0x7f950aff0b68, 0x7f950aff0c28, 0x7f950aff0ce8), requires&lowbar;capability(0x7f95030339a8, 0x7f9503033a68, 0x7f9503033b28, 0x7f9503033be8), requires&lowbar;capability(0x7f95236c2458, 0x7f95236c2518, 0x7f95236c25d8, 0x7f95236c2698), requires&lowbar;capability(0x7f952527bbc8, 0x7f952527bc88, 0x7f952527bd48, 0x7f952527be08), requires&lowbar;capability(0x7f950ec81218, 0x7f950ec812d8, 0x7f950ec81398, 0x7f950ec81458), requires&lowbar;capability(0x7f950dc34a48, 0x7f950dc34b08, 0x7f950dc34bc8, 0x7f950dc34c88), requires&lowbar;capability(0x7f951df905e8, 0x7f951df906a8, 0x7f951df90768, 0x7f951df90828), requires&lowbar;capability(0x7f9524e4a088, 0x7f9524e4a148, 0x7f9524e4a208, 0x7f9524e4a2c8), requires&lowbar;capability(0x7f950f724328, 0x7f950f7243e8, 0x7f950f7244a8, 0x7f950f724568)&rsqb;&rsqb;
void
CopyStats(xref:CNodeStats.adoc[CNodeStats]& stats);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stats*
| the stats object to populate with this node&apos;s statistics&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
