The Linux Kernel API | ||
---|---|---|
<<< Previous | Next >>> |
socket buffer to put statistics TLVs into
TLV type for top level statistic TLV
TLV type for backward compatibility struct tc_stats TLV
TLV type for backward compatibility xstats TLV
statistics lock
dumping handle
Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.
The dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX functions to fill a local copy of struct tc_stats.
Returns 0 on success or -1 if the room in the socket buffer was not sufficient.
<<< Previous | Home | Next >>> |
struct gnet_estimator | Up | gnet_stats_start_copy |