Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lmsg_put - Add a new netlink message to an skb*@skb: socket buffer to store message in*@portid: netlink PORTID of requesting application*@seq: sequence number of message*@type: message type*@payload: length of message payload*@flags: message flags*

Proto:static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int payload, int flags)

Type:struct nlmsghdr

Parameter:

TypeParameterName
struct sk_buff *skb
u32portid
u32seq
inttype
intpayload
intflags
852  If Value for the false possibility is greater at compile time(skb_tailroom - bytes at buffer end*@skb: buffer to check* Return the number of bytes of free space at the tail of an sk_buff < lmsg_total_size - length of netlink message including padding*@payload: length of message payload) Then Return NULL
855  Return __nlmsg_put(skb, portid, seq, type, payload, flags)
Caller
NameDescribe
audit_make_reply
audit_buffer_alloc
selnl_notify