src/nl.c
/**
 * \brief Finalize a nested netlink attribute
 * \param[in] m   Netlink message buffer.
 * \param[in] nla Netlink nested attribute
 */
\brief Finalize a nested netlink attribute
\param[in] m   Netlink message buffer.
\param[in] nla Netlink nested attribute
\ brief Finalize a nested netlink attribute \ param [ in ] m Netlink message buffer . \ param [ in ] nla Netlink nested attribute
void nla_end(struct nlmsghdr *m, const struct nlattr *nla)
{
	if (!m || !nla) return;
	m->nlmsg_len += NLMSG_ALIGN(nla->nla_len);
}
void nla_end ( struct nlmsghdr * m , const struct nlattr * nla ) { if ( ! m || ! nla ) return ; m -> nlmsg_len += NLMSG_ALIGN ( nla -> nla_len ) ; }
\brief Finalize a nested netlink attribute
 \param[in] m   Netlink message buffer.
\ brief Finalize a nested netlink attribute \ param [ in ] m Netlink message buffer .