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

NAME

6       gnet_stats_start_copy - start dumping procedure in compatibility mode
7

SYNOPSIS

9       int gnet_stats_start_copy(struct sk_buff * skb, int type,
10                                 spinlock_t * lock, struct gnet_dump * d);
11

ARGUMENTS

13       skb
14           socket buffer to put statistics TLVs into
15
16       type
17           TLV type for top level statistic TLV
18
19       lock
20           statistics lock
21
22       d
23           dumping handle
24

DESCRIPTION

26       Initializes the dumping handle, grabs the statistic lock and appends an
27       empty TLV header to the socket buffer for use a container for all other
28       statistic TLVS.
29
30       Returns 0 on success or -1 if the room in the socket buffer was not
31       sufficient.
32
34Kernel Hackers Manual 2.6.         June 2019           GNET_STATS_START_COP(9)
Impressum