datapath-windows/ovsext/Netlink/NetlinkBuf.c
/*
 * --------------------------------------------------------------------------
 * NlBufCopyAtOffsetUninit --
 *
 *    Memsets the buffer portion of length len at head with zero.
 *
 *    If the offset is earlier then tail end then it first creates
 *    space of size input length at input offset by moving the existing
 *    data forward.
 * --------------------------------------------------------------------------
 */


Memsets the buffer portion of length len at head with zero.

If the offset is earlier then tail end then it first creates
space of size input length at input offset by moving the existing
data forward.
Memsets the buffer portion of length len at head with zero . If the offset is earlier then tail end then it first creates space of size input length at input offset by moving the existing data forward .
PCHAR
NlBufCopyAtOffsetUninit(PNL_BUFFER nlBuf, UINT32 len, UINT32 offset)
{
    PCHAR ret = NULL;
    if ((NlBufCopyAtOffset(nlBuf, NULL, len, offset)) == FALSE) {
        goto done;
    }
    ret = nlBuf->head + offset;
done:
    return ret;
}
PCHAR NlBufCopyAtOffsetUninit ( PNL_BUFFER nlBuf , UINT32 len , UINT32 offset ) { PCHAR ret = NULL ; if ( ( NlBufCopyAtOffset ( nlBuf , NULL , len , offset ) ) == FALSE ) { goto done ; } ret = nlBuf -> head + offset ; done : return ret ; }
NlBufCopyAtOffsetUninit
NlBufCopyAtOffsetUninit