datapath-windows/ovsext/Netlink/Netlink.c
/*
 * ---------------------------------------------------------------------------
 * Adds the header for nested netlink attributes. It
 * returns the offset of this header. If addition of header fails
 * then returned value of offset will be zero.
 * Refer nl_msg_start_nested for more details.
 * ---------------------------------------------------------------------------
 */
Adds the header for nested netlink attributes. It
returns the offset of this header. If addition of header fails
then returned value of offset will be zero.
Refer nl_msg_start_nested for more details.
Adds the header for nested netlink attributes . It returns the offset of this header . If addition of header fails then returned value of offset will be zero . Refer nl_msg_start_nested for more details .
UINT32
NlMsgStartNested(PNL_BUFFER buf, UINT16 type)
{
    UINT32 offset = NlBufSize(buf);
    PCHAR nlaData = NULL;
    nlaData = NlMsgPutTailUnspecUninit(buf, type, 0);
    if (!nlaData) {
        offset = 0;
    }
    return offset;
}
UINT32 NlMsgStartNested ( PNL_BUFFER buf , UINT16 type ) { UINT32 offset = NlBufSize ( buf ) ; PCHAR nlaData = NULL ; nlaData = NlMsgPutTailUnspecUninit ( buf , type , 0 ) ; if ( ! nlaData ) { offset = 0 ; } return offset ; }
Adds the header for nested netlink attributes.
Adds the header for nested netlink attributes .
/* Value zero must be reated as error by the caller.
         * This is because an attribute can never be added
         * at offset zero, it will always come after NL_MSG_HDR,
         * GENL_HDR and OVS_HEADER. */