1GNET_STATS_FINISH_CO(9)        Linux Networking        GNET_STATS_FINISH_CO(9)
2
3
4

NAME

6       gnet_stats_finish_copy - finish dumping procedure
7

SYNOPSIS

9       int gnet_stats_finish_copy(struct gnet_dump * d);
10

ARGUMENTS

12       d
13           dumping handle
14

DESCRIPTION

16       Corrects the length of the top level TLV to include all TLVs added by
17       gnet_stats_copy_XXX calls. Adds the backward compatibility TLVs if
18       gnet_stats_start_copy_compat was used and releases the statistics lock.
19
20       Returns 0 on success or -1 with the statistic lock released if the room
21       in the socket buffer was not sufficient.
22
24Kernel Hackers Manual 2.6.       November 2011         GNET_STATS_FINISH_CO(9)
Impressum