Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:la_memcmp - Compare an attribute with sized memory area*@nla: netlink attribute*@data: memory area*@size: size of memory area

Proto:int nla_memcmp(const struct nlattr *nla, const void *data, size_t size)

Type:int

Parameter:

TypeParameterName
const struct nlattr *nla
const void *data
size_tsize
591  d = la_len - length of payload*@nla: netlink attribute - size
593  If d == 0 Then d = memcmp(la_data - head of payload*@nla: netlink attribute, data, size)
596  Return d