datapath-windows/ovsext/Netlink/Netlink.c
/*
 * ---------------------------------------------------------------------------
 * Adds Genl Header to the NL_BUF.
 * ---------------------------------------------------------------------------
 */
Adds Genl Header to the NL_BUF.
Adds Genl Header to the NL_BUF .
BOOLEAN
NlMsgPutGenlHdr(PNL_BUFFER buf, PGENL_MSG_HDR genlMsg)
{
    if ((NlBufCopyAtOffset(buf, (PCHAR)genlMsg, GENL_HDRLEN, NLMSG_HDRLEN))) {
        return TRUE;
    }
    return FALSE;
}
BOOLEAN NlMsgPutGenlHdr ( PNL_BUFFER buf , PGENL_MSG_HDR genlMsg ) { if ( ( NlBufCopyAtOffset ( buf , ( PCHAR ) genlMsg , GENL_HDRLEN , NLMSG_HDRLEN ) ) ) { return TRUE ; } return FALSE ; }
Adds Genl Header to the NL_BUF.
Adds Genl Header to the NL_BUF .