亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? download.c

?? hifn ipsec固件下載工具
?? C
?? 第 1 頁 / 共 5 頁
字號:
      /*         Set to do POST Monitor Mode if requested      */      if (param_p->postMonitorMode == HFTC_TRUE)      {         printf("Set to run in POST Monitor Mode.\n");         status = setPostMonitorMode(unit, frameLen, sframe, rframe);         if (status != HFTC_STATUS_OK)         {            printf("Set of POST Monitor Mode failed!  status = %s (%d)\n",                   HFTC_Status_t_text(status), status);            if (status == HFTC_INVALID_ENUM)            {               printf("Option not available for this firmware type,\n");               printf("thus the option is being ignored for this .cdl.\n");               status = HFTC_STATUS_OK;            }            else            {               break;            }         }      }      /*         Run the code (unless told not to.)      */      if (param_p->noRun == HFTC_TRUE)      {         printf("Downloaded code.  Run not issued.  (%s)\n", filename);         break;      }      status = doRunCode(unit, frameLen, sframe, rframe);      if (status != HFTC_STATUS_OK)      {         printf("Run failed!  status = %s (%d)\n",                HFTC_Status_t_text(status), status);         break;      }      if (param_p->longSdramTest != HFTC_TRUE)      {         printf(" ok.\n");      }      if (DL_DEBUG)      {         printf("Downloaded and running code. (%s)\n", filename);      }      /*         Count that we've downloaded the image.      */      ++imagesLoaded;   } while (HFTC_FALSE);   if (socket_fd_fs != HFTC_INVALID_SOCKET_FD)   {      /*         Close socket      */      if (DL_DEBUG)      {         printf("   %s close socket(%s)\n", __func__,                  param_p->interface);      }      closeStatus = HFTC_socket_close(socket_fd_fs);      if (closeStatus != HFTC_STATUS_OK)      {         printf("Socket close failed.  status = %s (%d)\n",                HFTC_Status_t_text(closeStatus), closeStatus);         if (status == HFTC_STATUS_OK)         {            status = closeStatus;         }      }      socket_fd_fs = HFTC_INVALID_SOCKET_FD;   }   /*      Free code buffer and frame.   */   HFTC_free(codeBuffer);   HFTC_free(sframe);   HFTC_free(rframe);   /*      Close the input file.   */   if (fileOpened == HFTC_TRUE)   {      fclose(f);   }   if (DL_DEBUG)   {      printf("<--%s status = %s (%d) loaded %d images.\n", __func__,             HFTC_Status_t_text(status), status, imagesLoaded);   }   return status;} /* download_file *//*----------------------------------------------------------------------------* *   download_ddl *----------------------------------------------------------------------------* * @ingroup CD_API_UTIL * @brief Download a .ddl image. * * This uses the download API to download one .ddl file to the specified * processor. * * @param filename      RO: File to download. * @param processor     RO: Target processor. * @param param_p       RO: Parameters pointer * * @par Externals: *    None. * * @return *    HFTC_STATUS_OK    Download success * * @par Errors: *    HFTC_FILE_ERROR           Couldn't open file, or no file. * * @par Assumptions: *    Assumes the unit table file, if it exists, is the one that was sent to *    the eSC.  Also assumes if the unit table file does not exist, then the *    default PPCI addresses are the correct ones to use. * *    Assumes a single thread doing a download.  This is because of the *    file static socket data, and MII length pad workaround file static *    data. * *----------------------------------------------------------------------------*/HFTC_Status_t download_ddl(char               *filename,                           HFTC_Processor_t    processor,                           download_param_t   *param_p){   HFTC_Status_t           status       = HFTC_STATUS_OK;   HFTC_Status_t           closeStatus  = HFTC_STATUS_OK;   HFTC_Unit_t          unit                    = 0;   HFTC_PPCIAddress_t   destPPCIAddr            = 0;   HFTC_Boolean_t       authenticate            = HFTC_FALSE;   HFTC_AuthData_t      authData                = {0};   uint32_t             maxFrameLen;   uint32_t             dataBlockLen;   FILE                 *f                      = NULL;   HFTC_Boolean_t       fileOpen                = HFTC_FALSE;   uint32_t             numberOfUnits           = NUMBEROFUNITS;   HFTC_UnitData_t      *unitTable_p            = NULL;   HFTC_UnitData_t      *localTable_p           = NULL;   if (DL_DEBUG)   {      printf("-->%s (%s)\n", __func__, filename);   }   do   {      /*         Open the input file.  If there is no file we can just return.      */      if (strlen(filename) == 0)      {         break;      }      f = fopen(filename,"r");      if (f == NULL)      {         status = HFTC_FILE_ERROR;         printf("** ERROR: Can't open %s.\n", filename);         break;      }      fileOpen = HFTC_TRUE;      /*         Open up a socket for send/receive of download config data.       */      socket_fd_fs = HFTC_socket_open(param_p->interface, &socket_addr_fs,                                      HFTC_TRUE,                                      HFTC_PPCI_DEFAULT_TIMEOUT_MILLISECONDS);      if (socket_fd_fs == HFTC_INVALID_SOCKET_FD)      {         printf("** ERROR: socket open on interface '%s' failed!\n",                param_p->interface);         status = HFTC_SOCKET_ERROR;         break;      }      /*         We first do the HFTC_DD_InitCfgDataDownload call.         We skip the authentication phase, it isn't yet supported.      */      /*         In order to do the init call, we first need to know the destination         PPCI address of the target processor.  Since that may have changed         from the configure of the eSC, read the esc unit table file if it         exists and get the information from there.  Otherwise, we can use         the command line parameter values.      */      destPPCIAddr = param_p->destPPCIAddrDpu;      if (processor == HFTC_ESC)      {         destPPCIAddr = param_p->destPPCIAddrEsc;      }      /*         If we've got a unit table, use it.  The esc unit table file uses         unit 0 to reference the DPU and unit 1 to reference the eSC.         See also the load_config_params file.      */      if (strlen(param_p->unitTable) != 0)      {         status = HFTC_ReadUnitFile(param_p->unitTable, &numberOfUnits,                                    &unitTable_p, &localTable_p);         if (status != HFTC_STATUS_OK)         {            break;         }         if (processor == HFTC_DPU)         {            destPPCIAddr = unitTable_p[DPUINDEX].PPCIaddress;         }         else         {            destPPCIAddr = unitTable_p[ESCINDEX].PPCIaddress;         }      }      /*         Call the initialization API (HFTC_DD_InitCfgDataDownload() with         authenticate set to FALSE to begin the download process.      */      if (DL_DEBUG)      {         printf("   %s: Call init, destPPCI = %02x\n", __func__, destPPCIAddr);      }      status = HFTC_DD_InitCfgDataDownload(unit, processor,                                           param_p->srcMACAddr,                                           param_p->destMACAddr,                                           param_p->srcPPCIAddr,                                           destPPCIAddr,                                           authenticate, &authData,                                           &dataBlockLen, &maxFrameLen);      if (status != HFTC_STATUS_OK)      {         printf("Init data config download failed.  status = %s (%d).\n",                HFTC_Status_t_text(status), status);         break;      }      else if (DL_DEBUG)      {         printf("   %s: Called init, success.\n", __func__);      }      /*         If the load is not over an MII, we don't need the MII length         adjust.      */      if (param_p->miiDownload == HFTC_FALSE)      {         MIIAdjust = HFTC_FALSE;      }      /*         Download Config Data.      */      status = doDownloadConfig(f, unit, maxFrameLen, dataBlockLen);      if (status != HFTC_STATUS_OK)      {         printf("Download of configuration failed.  status = %s (%d)\n",                HFTC_Status_t_text(status), status);      }   } while (HFTC_FALSE);   if (fileOpen == HFTC_TRUE)   {      /* Close the input file.  */      fclose(f);   }   if (socket_fd_fs != HFTC_INVALID_SOCKET_FD)   {      /* Close socket */      if (DL_DEBUG)      {         printf("   %s close socket(%s)\n", __func__,                  param_p->interface);      }      closeStatus = HFTC_socket_close(socket_fd_fs);      if (closeStatus != HFTC_STATUS_OK)      {         printf("Terminate of comm link failure.\n");         if (status == HFTC_STATUS_OK)         {            status = closeStatus;         }      }      socket_fd_fs = HFTC_INVALID_SOCKET_FD;   }   if (DL_DEBUG)   {      printf("<--%s (%s) status=%s (%d)\n", __func__, filename,             HFTC_Status_t_text(status), status);   }   return status;} /* download_ddl *//* End download.c *//*----------------------------------------------------------------------------*REV #  DATE       BY    REVISION DESCRIPTION-----  --------  -----  ------------------------------------------------------0001   07/06/05   msz   Created.0002   08/03/05   msz   Code review changes.0003   06/05/06   rlh   V2.0 changes:                        - Changed to use common base porting layer instead of                          PPCI driver.  Now uses socket send/receive wrapper                          functions to send frames to the chip.                        - Uses porting layer for OS calls.                        - Uses new HFTC_Get/SetPPCIInterface calls0004   08/03/06   bac   Translate enums.0005   08/07/06   msz   Adapted jpw's fix "Added statusCommLink to prevent                        error status from being overwritten and hiding                        download failures. Bugzilla 1657".  Also adding                        Viper reset funcitonality to apply the Viper reset                        patch when downloading Viper hardware.0006   08/11/06   msz   Timouts are now based on milliseconds instead of                        seconds.  Use system default timeout.0007   08/22/06   msz   Added download of Data Config (.ddl) files.                        Added support for long-sdram-test and                        post-monitor-mode.0008   08/29/06   msz   Minor changes from mini code review done by Rich.0009   09/07/06   msz   Adjust PPCI frame lengths if using MII on download.                        (Bug 1749).  Fixed a minor problem found where we                        tried to close a socket that was not open (needed to                        mark socket as closed after it was closed).0010   09/14/06   msz   Added a destination PPCI address for eSC so we can                        properly direct things to the eSC without having                        reset it first.  (Bug 1769)0011   09/18/06   msz   Temporarily use register_units_from_param, it will                        reset the unit table so we can apply the viper reset                        patch.0012   09/25/06   rlh   Streamlined startup messages.  Added '** Error: ' to                        error messages.0013   10/06/06   dws   The message displayed when HFTC_CD_CheckCodeVersions                        returns HFTC_INVALID_VERSION more clearly states that                        the code and hardware are not compatible.                        download_file now returns an error status when the call                        to doInfoGathering fails.  The string and the numeric                        value for the error code in the associated error                        message now match.0014   10/09/06   rlh   Renamed configure_esc.[ch] -> load_config_params.[ch]0015   10/19/06   msz   Don't print out error messages on viper_reset for                        writes that may fail anyhow due to the errata.0016   10/25/06   msz   Added back in some messages to print out when DEBUG                        is compiled in.  Moved viper_reset_patch to                        download_configure.h so it can be done every time                        for a viper load.0017   11/02/06   msz   Added RETRANSMIT_RETRY_SECONDS, so we only retry                        for a limited time (rather than loop forever.)0018   11/17/06   msz   Put printf back in for soft reset.  It is valuable                        to know when the hardware has been reset.0019   02/08/07   msz   More explanation on failure to run long sdram test.                        Don't exit on this type error.  Bug-2251                        Check for a reset on an image load other than the                        first, as this indicates a problem.  Bug-22570020   03/28/07   msz   Added a note that SDRAM test can take a while.*-----------------------------------------------------------------------------*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品美女在线观看| 亚洲丰满少妇videoshd| 亚洲制服丝袜在线| 懂色av中文字幕一区二区三区 | 欧美剧在线免费观看网站| 国产欧美日韩不卡| 日本三级韩国三级欧美三级| av中文字幕不卡| 欧美成人a∨高清免费观看| 一区二区三区国产精品| 高清视频一区二区| 日韩欧美色电影| 肉色丝袜一区二区| 在线观看三级视频欧美| 亚洲欧美在线观看| 国产乱一区二区| 欧美mv和日韩mv的网站| 性感美女极品91精品| 91国产丝袜在线播放| 国产精品国产三级国产有无不卡| 九九热在线视频观看这里只有精品 | 色婷婷综合激情| 日韩一区在线看| 成人理论电影网| 国产日本亚洲高清| 国产成人在线免费观看| 精品精品欲导航| 毛片基地黄久久久久久天堂| 欧美电影一区二区三区| 午夜精品久久久久| 欧美精品国产精品| 奇米在线7777在线精品| 日韩视频在线永久播放| 美洲天堂一区二卡三卡四卡视频| 在线成人av网站| 日韩精品视频网站| 日韩欧美二区三区| 久久狠狠亚洲综合| 国产女主播视频一区二区| 极品销魂美女一区二区三区| 精品国产一区二区三区四区四| 久久精品久久99精品久久| 日韩精品一区二区在线| 国产一区二区三区四区在线观看| 日韩欧美成人一区二区| 国产在线观看免费一区| 久久久无码精品亚洲日韩按摩| 高清国产一区二区| 亚洲欧美日韩在线播放| 色婷婷亚洲一区二区三区| 亚洲高清在线视频| 精品美女一区二区三区| 国产成人午夜视频| 亚洲免费视频中文字幕| 欧美日韩一区小说| 美女精品一区二区| 欧美国产在线观看| 欧美亚洲自拍偷拍| 久久99精品视频| 国产精品网站在线播放| 欧美性三三影院| 国产激情一区二区三区桃花岛亚洲| 国产精品久久久一区麻豆最新章节| 色婷婷av一区二区三区之一色屋| 日韩激情中文字幕| 国产午夜精品福利| 在线播放中文一区| 国产v综合v亚洲欧| 日本欧美一区二区| 日韩理论片一区二区| 欧美疯狂性受xxxxx喷水图片| 国产剧情在线观看一区二区| 亚洲精品中文在线影院| 久久综合九色欧美综合狠狠| 欧美系列日韩一区| 国产成人日日夜夜| 蜜桃av噜噜一区| 亚洲精品高清视频在线观看| 久久综合精品国产一区二区三区| 在线一区二区观看| 国产91精品免费| 久久国产精品区| 亚洲国产日韩一级| 亚洲色图欧美激情| 久久久一区二区三区| 欧美视频日韩视频| 国产成人综合视频| 亚洲午夜国产一区99re久久| 日韩欧美国产高清| 在线免费视频一区二区| 看电影不卡的网站| 亚洲国产综合色| 国产色产综合色产在线视频| 色综合中文字幕| 国产91精品一区二区麻豆网站| 午夜视黄欧洲亚洲| 国产精品美女久久久久久久| 777久久久精品| www.在线成人| 蜜桃视频一区二区| 日韩二区三区在线观看| 自拍av一区二区三区| 欧美精品一区二区三| 欧美吞精做爰啪啪高潮| 国产98色在线|日韩| 亚洲综合视频在线| 亚洲乱码国产乱码精品精可以看| 久久色在线观看| 欧美日韩国产高清一区二区三区 | 国产精品久久久久久久久快鸭 | 午夜视频久久久久久| 中文字幕一区二区日韩精品绯色| 日韩午夜av电影| 日本福利一区二区| 成人午夜电影网站| 国产精品小仙女| 六月丁香综合在线视频| 亚洲国产人成综合网站| 亚洲人妖av一区二区| 国产欧美一区二区三区在线看蜜臀| 日韩一级片网址| 欧美一卡2卡三卡4卡5免费| 91国产免费观看| 欧洲一区在线电影| 丁香婷婷深情五月亚洲| 婷婷久久综合九色国产成人| 亚洲免费视频中文字幕| 亚洲人精品一区| 自拍视频在线观看一区二区| 亚洲图片激情小说| 亚洲精品国产a| 亚洲成在线观看| 午夜精彩视频在线观看不卡| 亚洲午夜精品久久久久久久久| 亚洲小说春色综合另类电影| 国产欧美综合在线观看第十页| 一色桃子久久精品亚洲| 成人欧美一区二区三区黑人麻豆| 国产女人18水真多18精品一级做| 国产欧美中文在线| 国产精品毛片久久久久久| 中文字幕成人在线观看| 一区二区在线免费观看| 亚洲综合在线免费观看| 亚洲一区二区精品视频| 午夜精品123| 精品在线播放免费| 丁香激情综合国产| 欧美久久久久久蜜桃| 欧美电影免费观看高清完整版| 久久伊人中文字幕| 国产精品色哟哟网站| 亚洲欧美日韩在线不卡| 性久久久久久久| 成人激情动漫在线观看| 欧美影院精品一区| 日韩欧美一区在线观看| 日本一区二区三区国色天香 | 国产精品99久久不卡二区| 成人黄色片在线观看| 一本一本大道香蕉久在线精品 | 欧美日韩视频在线观看一区二区三区| 在线中文字幕一区二区| 日韩一区二区三区电影在线观看| 精品国产乱码久久| 最近日韩中文字幕| 亚洲一区二区三区四区中文字幕| 亚洲国产aⅴ天堂久久| 亚洲成国产人片在线观看| 精品一区精品二区高清| 99视频有精品| 欧美刺激脚交jootjob| 亚洲欧洲日韩在线| 九九视频精品免费| 欧洲生活片亚洲生活在线观看| 欧美成人一区二区三区片免费| 国产农村妇女毛片精品久久麻豆| 日韩电影在线免费看| 成人爽a毛片一区二区免费| 51精品久久久久久久蜜臀| 欧美高清在线视频| 蜜桃av一区二区| 欧美日韩精品久久久| 国产精品高潮久久久久无| 亚洲视频一区二区在线| 日韩精品亚洲专区| 91丨porny丨最新| 久久精品免费在线观看| 免费看日韩a级影片| 色噜噜偷拍精品综合在线| 久久精品男人的天堂| 免费高清视频精品| 欧美三级蜜桃2在线观看| 亚洲欧美一区二区不卡| 国产成人av电影免费在线观看| 欧美喷水一区二区| 一区二区三区精品视频在线| 成人免费av资源| 7777精品伊人久久久大香线蕉完整版| 亚洲国产精品久久不卡毛片 |