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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ospf_mib_stub.c

?? vxworks下ospf協(xié)議棧
?? C
?? 第 1 頁 / 共 5 頁
字號:
     */    rc = ospf_envoy_buildSetReq( tcount, tlist, pktp, vbp, pEnvoyReq, &request, reqType,                                 ospfMapiArea_OID_OFFSET  );    if ( rc == ERROR )    {        ospf_envoy_setGenError( pktp, vbp, reqType );        return;    }    /* send the request to OSPF MIB API for processing */    rc = ospfMapiSetArea( &request, reqType );    if ( rc == ERROR )    {        for (group_vbp = vbp; group_vbp != NULL; group_vbp = group_vbp->vb_link )        {            group_vbp->vb_priv = NULL;            if ( reqType == MAPI_TEST )                testproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            else            {                /* tell envoy to start the undo operation. Envoy should call the                 * undo routine immediately once the setproc_error indicates                 * the set process has failed.                 */                group_vbp->undoproc = ospfEnvoy_undo; /* our undo routine */                /* issue a fake undo request to mib api so that it can reset its                 * internal transaction counters.                 */                ospfMapiSetArea( &request, MAPI_UNDO );                setproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            }        }        /* tell MIB API we have completed the transaction */        ospfMapiSetArea( &request, MAPI_COMPLETE );        ospf_envoy_clearBuffer( pEnvoyReq );        return;    }    if ( reqType == MAPI_TEST )    {        /* stash the looked up information here for the setproc. Although Envoy         * provide vb_priv in each varbind, only stash it to the first varbind.         * MIB API only allow one cookie per request, and we only need one anyhow         */        vbp->vb_priv = (void *)request.pReqCookie;    }    /* tell MIB API we have completed the transaction */    if ( reqType == MAPI_COMMIT )        ospfMapiSetArea( &request, MAPI_COMPLETE );    /* make the varbind as done and check for any exception in varbinds */    ospf_envoy_markVarbind( vbp, pktp, &request, reqType );    ospf_envoy_clearBuffer( pEnvoyReq );    return;}/***************************************************************************************** ospfEnvoy_getStub - generic get routine for ospfStubTable** This is the generic get routine for ospfStubTable. It query the mib api for the table* row in which the requested object instances can be found. The behavior of the mib api* is based on request type, either GET or GET_NEXT. If it is a GET_NEXT request, the* smallest instance that is larger than the given tcount/tlist will be returned.** RETURNS: N/A** NOMANUAL*/LOCAL void ospfEnvoy_getStub( int tcount, OIDC_T *tlist, SNMP_PKT_T *pktp, VB_T *vbp,                              mApiReqType_t reqType ){    mApiRequest_t  request;    STATUS         rc;    if ( ospfEnvoy_init_check( pktp, vbp, reqType ) == ERROR )        return;    /* build the MIB API request message */    memset( (char *)&request, 0, sizeof(mApiRequest_t) );    rc = ospf_envoy_buildGetReq( tcount, tlist, vbp, pEnvoyReq, &request,                                 ospfMapiStub_OID_OFFSET );    if ( rc == ERROR )    {        ospf_envoy_clearBuffer( pEnvoyReq );        ospf_envoy_setGenError( pktp, vbp, reqType );        return;    }    /* send the request to MIB API */    rc = ospfMapiGetStub( &request, reqType );    if ( rc == ERROR )    {        ospf_envoy_clearBuffer( pEnvoyReq );        ospf_envoy_processGetRespError( pktp, vbp, reqType, request.error );        return;    }    /* retrieve all the values from the request structure */    ospf_envoy_processGetResp( vbp, pktp, pEnvoyReq, &request, reqType,                               ospfMapiStub_OID_OFFSET );    return;}/**************************************************************************************** ospfEnvoy_setStub - generic set function for ospfStubTable** This routine is a generic set function for ospfStubTable. It invokes by testproc and* setproc to test and set objects in varbinds.** RETURNS: N/A** NOMANUAL*/LOCAL void ospfEnvoy_setStub( int tcount, OIDC_T *tlist, SNMP_PKT_T *pktp, VB_T *vbp,                              mApiReqType_t reqType ){    mApiRequest_t request;    VB_T          *group_vbp;    STATUS        rc;    if ( tcount != ospfStubAreaEntry_INST_LEN )    {        ospf_envoy_setNoSuchNameError( pktp, vbp, reqType );        return;    }    if ( ospfEnvoy_init_check( pktp, vbp, reqType ) == ERROR )        return;    /* use the data provided by the varbinds directly. This eliminates the need     * to copy the data from varbinds to locally allocated buffer.     */    rc = ospf_envoy_buildSetReq( tcount, tlist, pktp, vbp, pEnvoyReq, &request, reqType,                                 ospfMapiStub_OID_OFFSET );    if ( rc == ERROR )    {        ospf_envoy_setGenError( pktp, vbp, reqType );        return;    }    /* send the request to OSPF MIB API for processing */    rc = ospfMapiSetStub( &request, reqType );    if ( rc == ERROR )    {        for (group_vbp = vbp; group_vbp != NULL; group_vbp = group_vbp->vb_link )        {            group_vbp->vb_priv = NULL;            if ( reqType == MAPI_TEST )                testproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            else            {                /* tell envoy to start the undo operation. Envoy should call the                 * undo routine immediately once the setproc_error indicates                 * the set process has failed.                 */                group_vbp->undoproc = ospfEnvoy_undo; /* our undo routine */                /* issue a fake undo request to mib api so that it can reset its                 * internal transaction counters.                 */                ospfMapiSetStub( &request, MAPI_UNDO );                setproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            }        }        /* tell MIB API we have completed the transaction */        ospfMapiSetStub( &request, MAPI_COMPLETE );        return;    }    if ( reqType == MAPI_TEST )    {        /* stash the looked up information here for the setproc. Although Envoy         * provide vb_priv in each varbind, only stash it to the first varbind.         * MIB API only allow one cookie per request, and we only need one anyhow         */        vbp->vb_priv = (void *)request.pReqCookie;    }    /* tell MIB API we have completed the transaction */    if ( reqType == MAPI_COMMIT )        ospfMapiSetStub( &request, MAPI_COMPLETE );    /* make the varbind as done and check for any exception in varbinds */    ospf_envoy_markVarbind( vbp, pktp, &request, reqType );    ospf_envoy_clearBuffer( pEnvoyReq );    return;}/***************************************************************************************** ospfEnvoy_getHost - generic get routine for ospfHostTable** This is the generic get routine for ospfHostTable. It query the mib api for the table* row in which the requested object instances can be found. The behavior of the mib api* is based on request type, either GET or GET_NEXT. If it is a GET_NEXT request, the* smallest instance that is larger than the given tcount/tlist will be returned.** RETURNS: N/A** NOMANUAL*/LOCAL void ospfEnvoy_getHost( int tcount, OIDC_T *tlist, SNMP_PKT_T *pktp, VB_T *vbp,                              mApiReqType_t reqType ){    mApiRequest_t  request;    STATUS         rc;    if ( ospfEnvoy_init_check( pktp, vbp, reqType ) == ERROR )        return;    /* build the MIB API request message */    memset( (char *)&request, 0, sizeof(mApiRequest_t) );    rc = ospf_envoy_buildGetReq( tcount, tlist, vbp, pEnvoyReq, &request,                                 ospfMapiHost_OID_OFFSET );    if ( rc == ERROR )    {        ospf_envoy_clearBuffer( pEnvoyReq );        ospf_envoy_setGenError( pktp, vbp, reqType );        return;    }    /* send the request to MIB API */    rc = ospfMapiGetHost( &request, reqType );    if ( rc == ERROR )    {        ospf_envoy_clearBuffer( pEnvoyReq );        ospf_envoy_processGetRespError( pktp, vbp, reqType, request.error );        return;    }    /* retrieve all the values from the request structure */    ospf_envoy_processGetResp( vbp, pktp, pEnvoyReq, &request, reqType,                               ospfMapiHost_OID_OFFSET );    return;}/**************************************************************************************** ospfEnvoy_setHost - generic set function for ospfHostTable** This routine is a generic set function for ospfHostTable. It invokes by testproc and* setproc to test and set objects in varbinds.** RETURNS: N/A** NOMANUAL*/LOCAL void ospfEnvoy_setHost( int tcount, OIDC_T *tlist, SNMP_PKT_T *pktp, VB_T *vbp,                              mApiReqType_t reqType ){    mApiRequest_t request;    VB_T          *group_vbp;    STATUS        rc;    if ( tcount != ospfHostEntry_INST_LEN )    {        ospf_envoy_setNoSuchNameError( pktp, vbp, reqType );        return;    }    if ( ospfEnvoy_init_check( pktp, vbp, reqType ) == ERROR )        return;    /* use the data provided by the varbinds directly. This eliminates the need     * to copy the data from varbinds to locally allocated buffer.     */    rc = ospf_envoy_buildSetReq( tcount, tlist, pktp, vbp, pEnvoyReq, &request, reqType,                                 ospfMapiHost_OID_OFFSET );    if ( rc == ERROR )    {        ospf_envoy_setGenError( pktp, vbp, reqType );        return;    }    /* send the request to OSPF MIB API for processing */    rc = ospfMapiSetHost( &request, reqType );    if ( rc == ERROR )    {        for (group_vbp = vbp; group_vbp != NULL; group_vbp = group_vbp->vb_link )        {            group_vbp->vb_priv = NULL;            if ( reqType == MAPI_TEST )                testproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            else            {                /* tell envoy to start the undo operation. Envoy should call the                 * undo routine immediately once the setproc_error indicates                 * the set process has failed.                 */                group_vbp->undoproc = ospfEnvoy_undo; /* our undo routine */                /* issue a fake undo request to mib api so that it can reset its                 * internal transaction counters.                 */                ospfMapiSetHost( &request, MAPI_UNDO );                setproc_error( pktp, group_vbp, mApi2EnvoyErrorGet( request.error));            }        }        /* tell MIB API we have completed the transaction */        ospfMapiSetHost( &request, MAPI_COMPLETE );        return;    }    if ( reqType == MAPI_TEST )    {        /* stash the looked up information here for the setproc. Although Envoy         * provide vb_priv in each varbind, only stash it to the first varbind.         * MIB API only allow one cookie per request, and we only need one anyhow         */        vbp->vb_priv = (void *)request.pReqCookie;    }    /* tell MIB API we have completed the transaction */    if ( reqType == MAPI_COMMIT )        ospfMapiSetHost( &request, MAPI_COMPLETE );    /* make the varbind as done and check for any exception in varbinds */    ospf_envoy_markVarbind( vbp, pktp, &request, reqType );    ospf_envoy_clearBuffer( pEnvoyReq );    return;}/***************************************************************************************** ospfEnvoy_getLsdb - generic get routine for ospfLsdbTable** This is the generic get routine for ospfLsdbTable. It query the mib api for the row of* table in which the requested object instances can be found. The behavior of the mib api* is based on request type, either GET or GET_NEXT. If it is a GET_NEXT request, the* smallest instance that is larger than the given tcount/tlist will be returned.** RETURNS: N/A** NOMANUAL*/LOCAL void ospfEnvoy_getLsdb( int tcount, OIDC_T *tlist, SNMP_PKT_T *pktp, VB_T *vbp,                              mApiReqType_t reqType ){    OIDC_T         inst_oid[ospfLsdbEntry_INST_LEN];    mApiRequest_t  request;    mApiObject_t   object;    VB_T           *group_vbp;    STATUS         rc;    unsigned       inst_len;    if ( ospfEnvoy_init_check( pktp, vbp, reqType ) == ERROR )        return;    /* the ospfEnvoy_build_getRequest() expects the buffer for the octet string to

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久免费网| 中文字幕日本乱码精品影院| 成人一区二区三区| 国产精品一品二品| 国产九色sp调教91| 成人性生交大片| 成人做爰69片免费看网站| 日本麻豆一区二区三区视频| 五月天久久比比资源色| 日韩不卡一二三区| 精品一区二区三区久久| 国产成人在线视频网站| 不卡影院免费观看| 欧美曰成人黄网| 在线播放一区二区三区| 日韩久久免费av| 亚洲欧美日韩成人高清在线一区| 中文字幕一区二区三区精华液| 国产精品久久夜| 亚洲图片欧美色图| 日本美女视频一区二区| 国产91色综合久久免费分享| 99久久久无码国产精品| 色悠悠久久综合| 5858s免费视频成人| 久久九九99视频| 亚洲一区二区三区四区在线| 麻豆视频观看网址久久| 国产精品18久久久久久vr| av亚洲精华国产精华精华| 欧美三级三级三级| 久久蜜臀精品av| 一区二区三区国产精品| 久久精品国产99| 99久久精品免费| 欧美一级日韩免费不卡| 国产精品乱码一区二区三区软件| 亚洲免费观看高清在线观看| 日本特黄久久久高潮| 成人在线视频一区| 欧美一级生活片| 亚洲欧美日韩久久精品| 韩国女主播一区二区三区| 欧美在线小视频| 久久精品这里都是精品| 日日摸夜夜添夜夜添精品视频 | 欧美剧情片在线观看| 久久婷婷久久一区二区三区| 一区二区三区精品久久久| 国产真实乱偷精品视频免| 欧美视频一区二区三区在线观看| 久久久精品免费网站| 亚洲国产精品影院| 99热精品一区二区| 欧美精品一区二区三区久久久 | 日韩视频在线一区二区| 亚洲欧美成人一区二区三区| 国产自产v一区二区三区c| 欧美人xxxx| 亚洲午夜电影在线观看| 波多野结衣在线一区| www国产精品av| 久久99国产精品久久99果冻传媒| 欧美午夜精品一区二区三区| 中文字幕亚洲成人| 国产精品中文字幕欧美| 精品sm在线观看| 七七婷婷婷婷精品国产| 欧美日韩色综合| 亚洲福利一区二区三区| 色综合av在线| 夜夜揉揉日日人人青青一国产精品| 成人app下载| 国产精品青草综合久久久久99| 国产一区二区三区四区五区入口| 日韩欧美高清在线| 美国毛片一区二区| 欧美一二三在线| 麻豆中文一区二区| 精品三级在线看| 国产一区二区导航在线播放| 久久综合九色综合97婷婷 | 亚洲国产精品精华液ab| 国产成人一区二区精品非洲| 国产午夜精品美女毛片视频| 国产成人av一区二区三区在线| 久久久www成人免费无遮挡大片| 国产精品乡下勾搭老头1| 欧美激情一区二区三区在线| jlzzjlzz亚洲女人18| 中文字幕亚洲视频| 欧美性三三影院| 日本欧洲一区二区| 欧美精品一区二区精品网| 国产电影一区二区三区| 国产精品久久免费看| 91官网在线观看| 全国精品久久少妇| 国产人成一区二区三区影院| proumb性欧美在线观看| 亚洲一区二区在线视频| 日韩精品一区二区三区视频在线观看 | 欧美无乱码久久久免费午夜一区| 婷婷中文字幕一区三区| 久久久午夜电影| 一本一道久久a久久精品| 婷婷久久综合九色综合绿巨人 | 久久99精品一区二区三区三区| 久久久久99精品国产片| 91福利在线播放| 麻豆视频观看网址久久| 亚洲欧美一区二区视频| 欧美丰满美乳xxx高潮www| 国产成人亚洲精品青草天美| 亚洲成人一区二区在线观看| 久久夜色精品国产噜噜av| 色老头久久综合| 国产一区二区在线视频| 亚洲女人的天堂| 精品成人私密视频| 欧美日韩国产系列| 国产91色综合久久免费分享| 视频一区二区欧美| 亚洲视频在线一区观看| 久久香蕉国产线看观看99| 欧美日韩视频在线第一区| av在线播放成人| 韩国午夜理伦三级不卡影院| 亚洲成a天堂v人片| 中文字幕佐山爱一区二区免费| 日韩小视频在线观看专区| 91麻豆免费看| 国产激情视频一区二区在线观看| 婷婷夜色潮精品综合在线| 一区二区在线观看av| 国产欧美日韩在线| 欧美大片在线观看一区二区| 精品视频1区2区| 欧美又粗又大又爽| 一本一道久久a久久精品综合蜜臀| 国产一区中文字幕| 麻豆精品一区二区三区| 亚洲成人免费在线| 亚洲成人黄色小说| 一区二区三区在线视频播放| 亚洲欧洲性图库| 日韩一区在线免费观看| 国产精品九色蝌蚪自拍| 国产校园另类小说区| 国产日韩欧美高清在线| 国产亚洲欧美日韩俺去了| 久久免费看少妇高潮| 久久综合狠狠综合久久激情| 久久天天做天天爱综合色| 日韩亚洲欧美在线| 91精品国产综合久久蜜臀| 欧美肥大bbwbbw高潮| 欧美日韩视频在线一区二区 | 久久99国内精品| 国产在线观看免费一区| 国产精品自在欧美一区| 国产宾馆实践打屁股91| 国产成人无遮挡在线视频| 成人免费视频app| 99精品国产热久久91蜜凸| 色视频成人在线观看免| 91成人免费在线| 欧美老女人在线| 久久夜色精品一区| 国产精品久久久久久久浪潮网站 | 91精品国产综合久久久久久| 欧美剧情片在线观看| 欧美一区二区精品在线| 精品福利一二区| 亚洲天堂精品在线观看| 亚洲r级在线视频| 美国十次了思思久久精品导航| 国产乱码字幕精品高清av | 国产丝袜欧美中文另类| 国产精品久久久99| 亚洲资源中文字幕| 狠狠v欧美v日韩v亚洲ⅴ| 成人高清免费观看| 欧美日韩免费观看一区二区三区| 精品美女在线观看| 国产精品久久久久久久久果冻传媒| 亚洲一区二区三区视频在线播放| 蜜桃视频在线观看一区| 成人精品免费网站| 欧美日韩三级在线| 国产精品网友自拍| 蜜臀国产一区二区三区在线播放| 成人av在线看| 91精品免费在线| 自拍偷拍亚洲综合| 精品影院一区二区久久久| 色婷婷久久久综合中文字幕| 26uuu久久天堂性欧美| 一区二区三区在线播| 国产成人免费在线|