datapath-windows/ovsext/Netlink/Netlink.c
/*
 * ---------------------------------------------------------------------------
 * Adds Netlink Header to the NL_BUF.
 * ---------------------------------------------------------------------------
 */
Adds Netlink Header to the NL_BUF.
Adds Netlink Header to the NL_BUF .
BOOLEAN
NlMsgPutNlHdr(PNL_BUFFER buf, PNL_MSG_HDR nlMsg)
{
    if ((NlBufCopyAtOffset(buf, (PCHAR)nlMsg, NLMSG_HDRLEN, 0))) {
        return TRUE;
    }
    return FALSE;
}
BOOLEAN NlMsgPutNlHdr ( PNL_BUFFER buf , PNL_MSG_HDR nlMsg ) { if ( ( NlBufCopyAtOffset ( buf , ( PCHAR ) nlMsg , NLMSG_HDRLEN , 0 ) ) ) { return TRUE ; } return FALSE ; }
Adds Netlink Header to the NL_BUF.
Adds Netlink Header to the NL_BUF .