Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\nlattr.c Create Date:2022-07-28 07:16:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:la_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

Proto:int nla_memcpy(void *dest, const struct nlattr *src, int count)

Type:int

Parameter:

TypeParameterName
void *dest
const struct nlattr *src
intcount
572  minlen = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, count, la_len - length of payload*@nla: netlink attribute)
574  No 3D Now!(dest, la_data - head of payload*@nla: netlink attribute, minlen)
575  If count > minlen Then memset(dest + minlen, 0, count - minlen)
578  Return minlen
Caller
NameDescribe
nla_get_u64la_get_u64 - return payload of u64 attribute*@nla: u64 netlink attribute
nla_get_be64la_get_be64 - return payload of __be64 attribute*@nla: __be64 netlink attribute
nla_get_s64la_get_s64 - return payload of s64 attribute*@nla: s64 netlink attribute
nla_get_in6_addrla_get_in6_addr - return payload of IPv6 address attribute*@nla: IPv6 address netlink attribute
nla_get_bitfield32la_get_bitfield32 - return payload of 32 bitfield attribute*@nla: nla_bitfield32 attribute