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

struct nl_addr* nla_get_addr ( struct nlattr nla,
int  family 
) [read]

Return payload of address attribute

  • nla address netlink attribute
  • family address family
Returns:
Newly allocated address handle or NULL

Definition at line 744 of file attr.c.

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

{
      return nl_addr_build(family, nla_data(nla), nla_len(nla));
}


Generated by  Doxygen 1.6.0   Back to index