函数逻辑报告

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_validate_deprecated - validate a netlink message including attributes*@nlh: netlinket message header*@hdrlen: length of familiy specific header*@maxtype: maximum attribute type to be expected*@policy: validation policy*@extack: extended ACK report

函数原型:static inline int nlmsg_validate_deprecated(const struct nlmsghdr *nlh, int hdrlen, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack)

返回类型:int

参数:

类型参数名称
const struct nlmsghdr *nlh
inthdrlen
intmaxtype
const struct nla_policy *policy
struct netlink_ext_ack *extack
805  如果 Length of message including header 小于Netlink消息不包括填充长度则返回:负EINVAL
808  返回:__nla_validate(属性数据头, 属性数据长度, maxtype, policy, NL_VALIDATE_LIBERAL, extack)
调用者
名称描述
taskstats_pre_doit