GNET_STATS_START_COPY
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
gnet_stats_start_copy - start dumping procedure in compatibility mode
SYNOPSIS
"SYNOPSIS"
int gnet_stats_start_copy (struct sk_buff * skb, int type, spinlock_t * lock, struct gnet_dump * d);
ARGUMENTS
- skb
-
socket buffer to put statistics TLVs into
- type
-
TLV type for top level statistic TLV
- lock
-
statistics lock
- d
-
dumping handle
DESCRIPTION
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.
Returns 0 on success or -1 if the room in the socket buffer was not sufficient.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:11 GMT, October 09, 2005