datapath-windows/ovsext/Netlink/NetlinkBuf.c
/*
 * --------------------------------------------------------------------------
 * NlBufInit --
 *
 *    Initializes NL_BUF with buffer pointer and length.
 * --------------------------------------------------------------------------
 */


Initializes NL_BUF with buffer pointer and length.
Initializes NL_BUF with buffer pointer and length .
VOID
NlBufInit(PNL_BUFFER nlBuf, PCHAR base, UINT32 size)
{
    ASSERT(nlBuf);
    nlBuf->head = nlBuf->tail = base;
    nlBuf->bufLen = nlBuf->bufRemLen = size;
}
VOID NlBufInit ( PNL_BUFFER nlBuf , PCHAR base , UINT32 size ) { ASSERT ( nlBuf ) ; nlBuf -> head = nlBuf -> tail = base ; nlBuf -> bufLen = nlBuf -> bufRemLen = size ; }
NlBufInit
NlBufInit