Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:la_validate_nested - Validate a stream of nested attributes*@start: container attribute*@maxtype: maximum attribute type to be expected*@policy: validation policy*@validate: validation strictness*@extack: extended ACK report struct* Validates all

Proto:static inline int __nla_validate_nested(const struct nlattr *start, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack)

Type:int

Parameter:

TypeParameterName
const struct nlattr *start
intmaxtype
const struct nla_policy *policy
unsigned intvalidate
struct netlink_ext_ack *extack
1756  Return __nla_validate(la_data - head of payload*@nla: netlink attribute, la_len - length of payload*@nla: netlink attribute, maxtype, policy, validate, extack)