centos man page for gnet_stats_start_copy_compat

Query: gnet_stats_start_copy_compat

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GNET_STATS_START_COP(9) 					 Linux Networking					   GNET_STATS_START_COP(9)

NAME
gnet_stats_start_copy_compat - start dumping procedure in compatibility mode
SYNOPSIS
int gnet_stats_start_copy_compat(struct sk_buff * skb, int type, int tc_stats_type, int xstats_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 tc_stats_type TLV type for backward compatibility struct tc_stats TLV xstats_type TLV type for backward compatibility xstats 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. The dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX functions to fill a local copy of struct tc_stats. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 GNET_STATS_START_COP(9)
Related Man Pages
lldptool-ets(8) - centos
lldptool(8) - centos
lldptool-evb(8) - debian
lldptool-med(8) - debian
lldptool-pfc(8) - debian
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
DB2 convert digits to binary format
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!