.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GNET_STATS_START_COPY" "9" "09 October 2005" "" "" .SH NAME gnet_stats_start_copy \- start dumping procedure in compatibility mode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int gnet_stats_start_copy (struct sk_buff * \fIskb\fB, int \fItype\fB, spinlock_t * \fIlock\fB, struct gnet_dump * \fId\fB); \fR .SH "ARGUMENTS" .TP \fB\fIskb\fB\fR socket buffer to put statistics TLVs into .TP \fB\fItype\fB\fR TLV type for top level statistic TLV .TP \fB\fIlock\fB\fR statistics lock .TP \fB\fId\fB\fR dumping handle .SH "DESCRIPTION" .PP 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. .PP Returns 0 on success or -1 if the room in the socket buffer was not sufficient.