datapath-windows/ovsext/Netlink/Netlink.c
/*
 * ---------------------------------------------------------------------------
 * Adds OVS Header to the NL_BUF.
 * ---------------------------------------------------------------------------
 */
Adds OVS Header to the NL_BUF.
Adds OVS Header to the NL_BUF .
BOOLEAN
NlMsgPutOvsHdr(PNL_BUFFER buf, POVS_HDR ovsHdr)
{
    if ((NlBufCopyAtOffset(buf, (PCHAR)ovsHdr, OVS_HDRLEN,
                           GENL_HDRLEN + NLMSG_HDRLEN))) {
        return TRUE;
    }
    return FALSE;
}
BOOLEAN NlMsgPutOvsHdr ( PNL_BUFFER buf , POVS_HDR ovsHdr ) { if ( ( NlBufCopyAtOffset ( buf , ( PCHAR ) ovsHdr , OVS_HDRLEN , GENL_HDRLEN + NLMSG_HDRLEN ) ) ) { return TRUE ; } return FALSE ; }
Adds OVS Header to the NL_BUF.
Adds OVS Header to the NL_BUF .