函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lmsg_parse - parse attributes of a netlink message*@nlh: netlink message header*@hdrlen: length of family specific header*@tb: destination array with maxtype+1 elements*@maxtype: maximum attribute type to be expected*@validate: validation

函数原型:static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack)

返回类型:int

参数:

类型参数名称
const struct nlmsghdr *nlh
inthdrlen
struct nlattr *tb
intmaxtype
const struct nla_policy *policy
struct netlink_ext_ack *extack
687  返回:__nlmsg_parse - parse attributes of a netlink message*@nlh: netlink message header*@hdrlen: length of family specific header*@tb: destination array with maxtype+1 elements*@maxtype: maximum attribute type to be expected*@policy: validation