package/libs/libnl-tiny/src/include/netlink/attr.h
/**
 * 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 .
static inline 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));
}
static inline 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 .