Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:la_len - length of payload*@nla: netlink attribute

Proto:static inline int nla_len(const struct nlattr *nla)

Type:int

Parameter:

TypeParameterName
const struct nlattr *nla
1083  Return nla_len - NLA_HDRLEN
Caller
NameDescribe
nla_validate_array
validate_nla
nla_strlcpyla_strlcpy - Copy string attribute payload into a sized buffer*@dst: where to copy the string to*@nla: attribute to copy the string from*@dstsize: size of destination buffer* Copies at most dstsize - 1 bytes into the destination buffer.
nla_strdupla_strdup - Copy string attribute payload into a newly allocated buffer*@nla: attribute to copy the string from*@flags: the type of memory to allocate (see kmalloc).* Returns a pointer to the allocated buffer or NULL on error.
nla_memcpyla_memcpy - Copy a netlink attribute into another memory area*@dest: where to copy to memcpy*@src: netlink attribute to copy from*@count: size of the destination area* Note: The number of bytes copied is limited by the length of* attribute's payload
nla_memcmpla_memcmp - Compare an attribute with sized memory area*@nla: netlink attribute*@data: memory area*@size: size of memory area
nla_strcmpla_strcmp - Compare a string attribute against a string*@nla: netlink string attribute*@str: another string
parse