Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\genetlink.h Create Date:2022-07-28 11:48:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:genlmsg_new - Allocate a new generic netlink message*@payload: size of the message payload*@flags: the type of memory to allocate.

Proto:static inline struct sk_buff *genlmsg_new(size_t payload, gfp_t flags)

Type:struct sk_buff

Parameter:

TypeParameterName
size_tpayload
gfp_tflags
396  Return lmsg_new - Allocate a new netlink message*@payload: size of the message payload*@flags: the type of memory to allocate.* Use NLMSG_DEFAULT_SIZE if the size of the payload isn't known* and a good default is needed.
Caller
NameDescribe
prepare_reply
quota_send_warningquota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier