Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

uint64_t nla_get_u64 ( struct nlattr *  nla  ) 

Return payload of u64 attribute

  • nla u64 netlink attribute
Payload as 64 bit integer.

Definition at line 986 of file attr.c.

References nla_memcpy().

Referenced by nla_get_msecs().

      uint64_t tmp;

      nla_memcpy(&tmp, nla, sizeof(tmp));

      return tmp;

Generated by  Doxygen 1.6.0   Back to index