openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/attr.c
uint64_t nla_get_u64(const struct nlattr* nla)
{
    uint64_t tmp = 0;

    if (nla && nla_len(nla) >= sizeof(tmp))
        memcpy(&tmp, nla_data(nla), sizeof(tmp));

    return tmp;
}
/**
 * Return payload of u64 attribute
 * @arg nla		u64 netlink attribute
 *
 * @return Payload as 64 bit integer.
 */
Return payload of u64 attribute
@arg nla             u64 netlink attribute

@return Payload as 64 bit integer.
Return payload of u64 attribute @arg nla u64 netlink attribute @return Payload as 64 bit integer .
uint64_t nla_get_u64(const struct nlattr* nla)
{
    uint64_t tmp = 0;
    if (nla && nla_len(nla) >= sizeof(tmp))
        memcpy(&tmp, nla_data(nla), sizeof(tmp));
    return tmp;
}
uint64_t nla_get_u64 ( const struct nlattr * nla ) { uint64_t tmp = 0 ; if ( nla && nla_len ( nla ) >= sizeof ( tmp ) ) memcpy ( & tmp , nla_data ( nla ) , sizeof ( tmp ) ) ; return tmp ; }
Return payload of u64 attribute
 @arg nla             u64 netlink attribute
Return payload of u64 attribute @arg nla u64 netlink attribute