函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\nlattr.c Create Date:2022-07-27 08:14:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__nla_validate - Validate a stream of attributes*@head: head of attribute stream*@len: length of attribute stream*@maxtype: maximum attribute type to be expected*@policy: validation policy*@validate: validation strictness*@extack: extended ACK report

函数原型:int __nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack)

返回类型:int

参数:

类型参数名称
const struct nlattr *head
intlen
intmaxtype
const struct nla_policy *policy
unsigned intvalidate
struct netlink_ext_ack *extack
423  返回:__nla_validate_parse(head, len, maxtype, policy, validate, extack, NULL)
调用者
名称描述
nla_validate_array
validate_nla