函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:include\net\netlink.h Create Date:2022-07-27 07:04:59
首页 Copyright©Brick

1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
/**
 * nla_get_s64 - return payload of s64 attribute
 * @nla: s64 netlink attribute
 */
static inline s64 nla_get_s64(const struct nlattr *nla)
{
    s64 tmp;
 
    nla_memcpy(&tmp, nla, sizeof(tmp));
 
    return tmp;
}