datapath-windows/ovsext/Netlink/Netlink.c
/*
 * ---------------------------------------------------------------------------
 * Finalizes the nested netlink attribute by updating the nla_len.
 * offset should be the one returned by NlMsgStartNested.
 * Refer nl_msg_end_nested for more details.
 * ---------------------------------------------------------------------------
 */
Finalizes the nested netlink attribute by updating the nla_len.
offset should be the one returned by NlMsgStartNested.
Refer nl_msg_end_nested for more details.
Finalizes the nested netlink attribute by updating the nla_len . offset should be the one returned by NlMsgStartNested . Refer nl_msg_end_nested for more details .
VOID
NlMsgEndNested(PNL_BUFFER buf, UINT32 offset)
{
    PNL_ATTR attr = (PNL_ATTR)(NlBufAt(buf, offset, sizeof *attr));
    attr->nlaLen = (UINT16)(NlBufSize(buf) - offset);
}
VOID NlMsgEndNested ( PNL_BUFFER buf , UINT32 offset ) { PNL_ATTR attr = ( PNL_ATTR ) ( NlBufAt ( buf , offset , sizeof * attr ) ) ; attr -> nlaLen = ( UINT16 ) ( NlBufSize ( buf ) - offset ) ; }
Finalizes the nested netlink attribute by updating the nla_len.
Finalizes the nested netlink attribute by updating the nla_len .
/* Typecast to keep compiler happy.
     * Attribute length would never exceed MAX UINT16.*/