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
int nla_put_addr(struct nl_msg* msg, int attrtype, struct nl_addr* addr)
{
    return nla_put(msg, attrtype, nl_addr_get_len(addr),
                   nl_addr_get_binary_addr(addr));
}
/**
 * Add abstract address as unspecific attribute to netlink message.
 * @arg msg		Netlink message.
 * @arg attrtype	Attribute type.
 * @arg addr		Abstract address object.
 *
 * @see nla_put
 * @return 0 on success or a negative error code.
 */
Add abstract address as unspecific attribute to netlink message.
@arg msg             Netlink message.
@arg attrtype        Attribute type.
@arg addr            Abstract address object.

@see nla_put
@return 0 on success or a negative error code.
Add abstract address as unspecific attribute to netlink message . @arg msg Netlink message . @arg attrtype Attribute type . @arg addr Abstract address object . @see nla_put @return 0 on success or a negative error code .
int nla_put_addr(struct nl_msg* msg, int attrtype, struct nl_addr* addr)
{
    return nla_put(msg, attrtype, nl_addr_get_len(addr),
                   nl_addr_get_binary_addr(addr));
}
int nla_put_addr ( struct nl_msg * msg , int attrtype , struct nl_addr * addr ) { return nla_put ( msg , attrtype , nl_addr_get_len ( addr ) , nl_addr_get_binary_addr ( addr ) ) ; }
Add abstract address as unspecific attribute to netlink message.
Add abstract address as unspecific attribute to netlink message .