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

int nla_put_addr ( struct nl_msg *  n,
int  attrtype,
struct nl_addr *  addr 
)

Add an abstract address netlink attribute to a netlink message

  • n netlink message
  • attrtype attribute type
  • addr abstract address

Definition at line 623 of file attr.c.

References nl_addr_get_binary_addr(), nl_addr_get_len(), and nla_put().

{
      return nla_put(n, attrtype, nl_addr_get_len(addr),
                   nl_addr_get_binary_addr(addr));
}


Generated by  Doxygen 1.6.0   Back to index