datapath-windows/ovsext/Vport.c
/*
 * --------------------------------------------------------------------------
 *  Command Handler for 'OVS_VPORT_CMD_GET'.
 *
 *  The function handles the initial call to setup the dump state, as well as
 *  subsequent calls to continue dumping data.
 * --------------------------------------------------------------------------
*/
Command Handler for 'OVS_VPORT_CMD_GET'.

The function handles the initial call to setup the dump state, as well as
subsequent calls to continue dumping data.
Command Handler for ' OVS_VPORT_CMD_GET ' . The function handles the initial call to setup the dump state as well as subsequent calls to continue dumping data .
NTSTATUS
OvsGetVportCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
                      UINT32 *replyLen)
{
    *replyLen = 0;
    switch (usrParamsCtx->devOp) {
    case OVS_WRITE_DEV_OP:
        return OvsSetupDumpStart(usrParamsCtx);
    case OVS_READ_DEV_OP:
        return OvsGetVportDumpNext(usrParamsCtx, replyLen);
    case OVS_TRANSACTION_DEV_OP:
        return OvsGetVport(usrParamsCtx, replyLen);
    default:
        return STATUS_INVALID_DEVICE_REQUEST;
    }
}
NTSTATUS OvsGetVportCmdHandler ( POVS_USER_PARAMS_CONTEXT usrParamsCtx , UINT32 * replyLen ) { * replyLen = 0 ; switch ( usrParamsCtx -> devOp ) { case OVS_WRITE_DEV_OP : return OvsSetupDumpStart ( usrParamsCtx ) ; case OVS_READ_DEV_OP : return OvsGetVportDumpNext ( usrParamsCtx , replyLen ) ; case OVS_TRANSACTION_DEV_OP : return OvsGetVport ( usrParamsCtx , replyLen ) ; default : return STATUS_INVALID_DEVICE_REQUEST ; } }
Command Handler for 'OVS_VPORT_CMD_GET'.
Command Handler for ' OVS_VPORT_CMD_GET ' .