函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-27 07:04:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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*

函数原型:static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int payload, int flags)

返回类型:struct nlmsghdr

参数:

类型参数名称
struct sk_buff *skb
u32portid
u32seq
inttype
intpayload
intflags
852  如果此条件成立可能性小(为编译器优化)(缓存区尾部字节 < Netlink消息包括填充长度)则返回:NULL
855  返回:__nlmsg_put(skb, portid, seq, type, payload, flags)
调用者
名称描述
audit_make_reply
audit_buffer_alloc
selnl_notify
nlmsg_put_answerlmsg_put_answer - Add a new callback based netlink message to an skb*@skb: socket buffer to store message in*@cb: netlink callback*@type: message type*@payload: length of message payload*@flags: message flags* Returns NULL if the tailroom of the skb is