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

struct nl_data* nla_get_data ( struct nlattr nla  )  [read]

Return payload of abstract data attribute

  • nla abstract data netlink attribute
Returns:
Newly allocated abstract data handle or NULL

Definition at line 755 of file attr.c.

References nl_data_alloc(), nla_data(), and nla_len().

{
      return nl_data_alloc(nla_data(nla), nla_len(nla));
}


Generated by  Doxygen 1.6.0   Back to index