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                                 int padattr);
12

ARGUMENTS

14       skb
15           socket buffer to put statistics TLVs into
16
17       type
18           TLV type for top level statistic TLV
19
20       lock
21           statistics lock
22
23       d
24           dumping handle
25
26       padattr
27           padding attribute
28

DESCRIPTION

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