函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:在属性流中找到一个特定的属性

函数原型:struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype)

返回类型:struct nlattr

参数:

类型参数名称
const struct nlattr *head
intlen
intattrtype
496  la_for_each_attr - iterate over a stream of attributes*@pos: loop counter, set to current attribute*@head: head of attribute stream*@len: length of attribute stream*@rem: initialized to len, holds bytes currently remaining in stream(nla, head, len, rem)
497  如果属性类型恒等于attrtype则返回:nla
500  返回:NULL
调用者
名称描述
nla_find_nested在一组嵌套属性中查找属性