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

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

?? ospf_mib_wrn_helper.c

?? vxworks下ospf協(xié)議棧
?? C
?? 第 1 頁 / 共 5 頁
字號:
/* wrn_ospf_mApiHelper.c - Management Interface Helper routines for WRN-OSPF MIB *//* Copyright 1998-2003 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------02t,04jun03,asr Changed back to use system memory instead of OSPF memory partition02s,02jun03,ram Changed native memory usage to OSPF memory partition02r,09may03,kc  Fixed SPR#88389 - added wrnOspf_mApi_findExtRouteByProtoId().                Modified mApi2Ospf_configRedistributeOpts() to walk the                ospfExtLsdbTable avl tree when a route redistribution option                is changed from 'true' to 'false'.02q,28may03,agi Changed type of mutexAcquired to STATUS02p,27may03,kc  Fixed SPR#88309 - modified mApi2Ospf_configRedistributeOpts()                to take into account if the ospfASBdrRtrStatus has changed                and to read routing table only if at least one of the route                redistribution is configured.02o,14may03,agi Changed RWOS semaphores to vxWorks semaphores02n,28feb03,kc  Fixed SPR#86505 - modified per new mibApi.h header file updates.                 Renamed MAPI_COMMIT_FORCE and MAPI_GET_NVM mApiReqType_t request type                to MAPI_COMMIT_FORCE and MAPI_GET_FORCE respectively.02m,25feb03,kc  Fixed SPR#86385 - modified all wrnOspf_mApi_xxxRowCreate(),                 wrnOspf_mApi_xxxRowAccess() and wrnOspf_mApi_xxxHelperSet() to                return proper SNMPv2 error code using OSPF_MIB_ERROR_SET() macro.02l,07feb03,kc  Fixed SPR#86144 - removed the mApiReqType_t argument from all the                wrnOspf_mApi_xxxHelperCreate() routines. Also modified all                wrnOspf2Mapi_xxx_create() routines by removing the mApi request type                parameter from the call to the wrnOspf_mApi_xxxHelperCreate().02k,31jan03,kc  Fixed SPR#86006 - modified all the ospf_mApi_xxxHelperSet() routines                 to invoke avlDelete() to remove the row created from the avl tree.02j,19nov02,mwv Merge TMS code SPR 8428402i,08oct02,agi Fixed compiler warnings02h,18aug02,kc  Fixed SPR#79496 - Modified wrnOspf2Mapi_area_update() to convert                 area checksumSum value to host order.02g,09aug02,kc  Fixed wrnOspf_mApi_ifRowCreate() and wrnOspf_mApi_ifHelperCreate()                to correctly handle unnumbered interface configuration.02f,30may02,kc  Fixed PR #2078 - Modified mApi2Ospf_configRedistributeOpts() to                invoke the routine ospf_sysctl_rtableWalk() if necessary.02e,21may02,kc  Fixed wrnOspf_mApi_ifHelperSet() to extract the object cookie data                from the request message. Added the isLastColObject parameter to                the rsRowStatusSet() function call.02d,18apr02,kc  Fixed SPR #74523 - Modified mApi2Ospf_configWrnGenGroup() to                reinitialize all the interfaces whenever the opaque capability                is changed.02c,18apr02,kc  Fixed SPR #74432 - Added mApi2Ospf_configRedistributeOpts().                Simplified mApi2Ospf_configWrnGenGroup() to invoke this function.                Removed ASBR status check for mApiWrnOspfOpaqueLsaSupport in                wrnOspf_mApi_globalParmSet().02b,15apr02,kc  Modified wrnOspf_mApi_globalParmSet() to set the dynamicConfig                flag for (all) route dsitribution option(s) if the router is                configured as ASBR. Modified wrnOspf_mApi_initGenGroup() to                set wrnOspfRedistributeDefaultRoutes to false (default value).02a,10apr02,kc  Changed wrnOspf_mApi_ifHelperSet() to explicitly delete the row                created if error encountered during the validation phase.01z,10apr02,kc  Merged fixes for wrnOspf_mApi_ifHelperCreate() - removed                wrnOspfIfDstIpAddress and wrnOspfIfIndex check.01x,10apr02,kc  Remerged changes for wrnOspfIfTable to support unnumbered interface.01w,02apr02,kc  Removed unnecessary semTake() and semGive() calls from                wrnOspf2Mapi_lsdb_flush(), wrnOspf2Mapi_localLsdb_flush() and                wrnOspf2Mapi_extLsdb_flush().01v,07feb02,kc  Modified wrnOspf_mApi_initGeneralGroup() to set the                ospfRFC1583Compatibility object to true (by default).01u,04feb02,kc  Added configuration for route redistribution capability to                mApi2Ospf_configWrnGenGroup().01t,04feb02,kc  Modified wrnOspf_mApi_globalParmGet(), wrnOspf_mApi_globalParmSet()                and wrnOspf_mApi_initGeneralGroup() to support the                wrnOspfRedistributeDefaultRoutes, wrnOspfRedistributeStaticRoutes,                wrnOspfRedistributeRIPRoutes and wrnOspfRedistributeBGPRoutes                scalar objects.01s,18jan02,kc  Fixed bug in wrnOspf2Mapi_extLsdb_create() - allow instance to be                created if not already existed.01r,16jan02,kc  Added wrnOspf2Mapi_lsdb_create(), wrnOspf2Mapi_localLsdb_create() and                wrnOspf2Mapi_extLsdb_create(). Modified wrnOspf2Mapi_lsdb_update(),                wrnOspf2Mapi_localLsdb_update() and wrnOspf2Mapi_extLsdb_update() to                drop the update request if instance not found.01q,17dec01,kc  Fixed wrnOspf_mApi_flushAllLsas(). Added wrnOspf2Mapi_area_flush(),                wrnOspf2Mapi_lsdb_flush(), wrnOspf2Mapi_localLsdb_flush() and                wrnOspf2Mapi_extLsdb_flush().01p,15dec01,kc  Fixed wrnOspf_mApi_globalParmSet() to set dynamicConfig boolean flag                only if ospf protocol is enabled.01o,14dec01,kc  Fixed wrnOspf_mApi_initGeneralGroup().01m,10dec01,kc  Added wrnOspfMapiAreaCompare(), wrnOspfMapiType11LsaCompare() and                wrnOspfMapiType11LsaCompare() AVL compare routines.01l,10dec01,kc  Fixed index values problems in wrnOspf2Mapi_localLsdb_update() and                wrnOspf2Mapi_localLsdb_delete().01k,07dec01,kc  Really fixed byte ordering problems.01j,06dec01,kc  Changed semTake for semMapiMutex mutex to use timeout (was wait                forever) so that the overrun receive queue can be recovered.01i,12nov01,kc  Fixed byte ordering problems.01h,24oct01,kc  Added explicit typecast when assigning value of valueBuf to                lsdbLen (defined as ushort_t).01g,21oct01,kc  Added mApi2Ospf_configWrnGenGroup() and wrnOspf_mApi_flushAllLsas()                routines.01f,18oct01,kc  Modified wrnOspfMapiType9LsaCompare() routine per changes made to                ospfMapiOidCompare() function.01e,16oct01,kc  Added refgen documentation for module description.01d,15oct01,kc  Modified wrnOspf2Mapi_xxx_update() to allow node to be allocated if                max capacity not reached. No longer preallocate memory pool at init.01c,13oct01,kc  Added various wrnOspf2Mapi_xxx_delete() routines.01b,13oct01,kc  Added various wrnOspf2Mapi_xxx_update() routines.01a,08oct01,kc  Initial file creation.*//*DESCRIPTIONThis module contains various helper routines used to support the ospf_mib_api. Thismodule is specific to WRN OSPF Enterprise MIB and it encapsulates the details for howto access the tabular/scalar objects in the WRN OSPF MIB.  All method routines in thismodules are private to the ospf_mib_api and shall not be used by any other applications.User shall not try to invoke routines in this module from the WindSh.This module assumes that all the tabular objects in the WRN OSPF MIB are stored in theAVL trees which are initialized and created by the ospf_mib_api. It uses the RowStatuslibrary that implements the row access logic to determine if a SET request is allowed.All routines in this module do not have any inherent locking requirements for accessingthe tabular objects in the AVL tree. It is assumed that the ospf_mib_api will providesuch locking mechanism.*//* This include is here to get rid of "empty file" compiler warning */#include <vxWorks.h>#if defined (__OSPF_MIB__)/* VxWorks standard includes */#include <stdio.h>#include <stdlib.h>#include <string.h>#include <semLib.h>#include <lstLib.h>#include <avlLib.h>/* WindNet OSPF includes */#include "ospf.h"#include "ospf_enums.h"#if defined (__OSPF_VIRTUAL_STACK__)#include "ospf_vs_lib.h"#endif /* __OSPF_VIRTUAL_STACK__ *//* management interface includes */#include "mibApi.h"#include "rowStatusLib.h"#include "ospf_mib_helper_update.h"#include "ospf_mib_helper.h"#include "ospf_mib_api.h"#include "ospf_mib_wrn_helper.h"/* SPR#88389 - error code returned by wrnOspf_mApi_findExtRouteByProtoId() if * a self-originated external route matches the given route proto ID is found */#define EXTERNAL_ROUTE_FOUND  -2/* public data */IMPORT mApiOspfTrueValue_t ospf2Mapi_bool2TrueValueGet( BOOL flag );IMPORT void mApi2Ospf_forceIfInit( mApiOspfTrueValue_t lockMutex );IMPORT struct ifnet* dstaddr_to_ifp(struct in_addr addr);/* private data */LOCAL int wrnOspfMapiIfCompare( void * node, GENERIC_ARGUMENT key );/* SPR#88389 - this constant is only used locally and must not be used by  * any other application. */LOCAL const ulong_t M2_ipRouteProto_default = 0;/********** Callback functions invoked by AVL to compare two instances **********//***************************************************************************************** wrnOspfMapiAreaCompare - compare two area instances** This routine is invoked by AVL to compares two area instances index values.* Node is a node on the given AVL tree. Key is the search criteria provided by the* mib api when invoking the avl routines.** RETURNS: An integer greater than, equal to, or less than 0, according*          to whether <s1> is lexicographically greater than, equal to,*          or less than <s2>, respectively.** ERRNO: N/A** NOMANUAL*/LOCAL int wrnOspfMapiAreaCompare( void * node, GENERIC_ARGUMENT key ){    mApiWrnOspfArea_t  *pArea;    ulong_t            mibIndex[OSPF_AREA_INSTANCE_LEN];    int                oidLength;    pArea = (mApiWrnOspfArea_t *)node;    oidLength = OSPF_AREA_INSTANCE_LEN;    /* reconstruct the index values for ospfAreaTable. ospfAreaTable is indexed by     * ospfAreaId     */    memset( mibIndex, 0, sizeof(mibIndex) );    ospf_mApi_ipAddr2IpIndex( pArea->wrnOspfAreaId, &mibIndex[0] );    return ospfMapiOidCompare( oidLength, (ulong_t *)key.p, mibIndex );}/***************************************************************************************** wrnOspfMapiType9LsaCompare - compare two Type-9 Opaque lsa instances** This routine is invoked by AVL to compares two type-9 Opaque lsa instances index* values. Node is a node on the given AVL tree. Key is the search criteria provided by* the mib api when invoking the avl routines.** RETURNS: An integer greater than, equal to, or less than 0, according*          to whether <s1> is lexicographically greater than, equal to,*          or less than <s2>, respectively.** ERRNO: N/A** NOMANUAL*/LOCAL int wrnOspfMapiType9LsaCompare( void * node, GENERIC_ARGUMENT key ){    mApiWrnOspfLocalLsdb_t  *pLocalLsdb;    ulong_t                 mibIndex[OSPF_LOCAL_LSDB_INSTANCE_LEN];    int                     oidLength;    pLocalLsdb = (mApiWrnOspfLocalLsdb_t *)node;    oidLength = OSPF_LOCAL_LSDB_INSTANCE_LEN;    /* reconstruct the index values for wrnOspfLocalLsdbTable. wrnOspfLocalLsdbTable is      * indexed by wrnOspfLocalLsdbAreaId, wrnOspfLocalLsdbType, wrnOspfLocalLsdbLsid and      * wrnOspfLocalLsdbRouterId     */    memset( mibIndex, 0, sizeof(mibIndex) );    ospf_mApi_ipAddr2IpIndex( pLocalLsdb->wrnOspfLocalLsdbAreaId, &mibIndex[0] );    ospf_mApi_ipAddr2IpIndex( pLocalLsdb->wrnOspfLocalLsdbIpAddress, &mibIndex[4] );    mibIndex[8] = pLocalLsdb->wrnOspfLocalLsdbType;    ospf_mApi_ipAddr2IpIndex( pLocalLsdb->wrnOspfLocalLsdbLsid, &mibIndex[9] );    ospf_mApi_ipAddr2IpIndex( pLocalLsdb->wrnOspfLocalLsdbRouterId, &mibIndex[13] );    return ospfMapiOidCompare( oidLength, (ulong_t *)key.p, mibIndex );}/***************************************************************************************** wrnOspfMapiType10LsaCompare - compare two Type-10 Opaque lsa instances** This routine is invoked by AVL to compares two type-10 Opaque lsa instances index* values. Node is a node on the given AVL tree. Key is the search criteria provided by* the mib api when invoking the avl routines.** RETURNS: An integer greater than, equal to, or less than 0, according*          to whether <s1> is lexicographically greater than, equal to,*          or less than <s2>, respectively.** ERRNO: N/A** NOMANUAL*/LOCAL int wrnOspfMapiType10LsaCompare( void * node, GENERIC_ARGUMENT key ){     mApiWrnOspfLsdb_t  *pLsdb;    ulong_t            mibIndex[OSPF_LSDB_INSTANCE_LEN];    int                oidLength;    pLsdb = (mApiWrnOspfLsdb_t *)node;    oidLength = OSPF_LSDB_INSTANCE_LEN;    /* reconstruct the index values for wrnOspfLsdbTable. wrnOspfLsdbTable is indexed by     * wrnOspfLsdbAreaId, wrnOspfLsdbType, wrnOspfLsdbLsid and wrnOspfLsdbRouterId     */    memset( mibIndex, 0, sizeof(mibIndex) );    ospf_mApi_ipAddr2IpIndex( pLsdb->wrnOspfLsdbAreaId, &mibIndex[0] );    mibIndex[4] = pLsdb->wrnOspfLsdbType;    ospf_mApi_ipAddr2IpIndex( pLsdb->wrnOspfLsdbLsid, &mibIndex[5] );    ospf_mApi_ipAddr2IpIndex( pLsdb->wrnOspfLsdbRouterId, &mibIndex[9] );    return ospfMapiOidCompare( oidLength, (ulong_t *)key.p, mibIndex );}/***************************************************************************************** wrnOspfMapiType11LsaCompare - compare two Type-11 Opaque lsa instances** This routine is invoked by AVL to compares two type-10 Opaque lsa instances index* values. Node is a node on the given AVL tree. Key is the search criteria provided by* the mib api when invoking the avl routines.** RETURNS: An integer greater than, equal to, or less than 0, according*          to whether <s1> is lexicographically greater than, equal to,*          or less than <s2>, respectively.** ERRNO: N/A** NOMANUAL*/LOCAL int wrnOspfMapiType11LsaCompare( void * node, GENERIC_ARGUMENT key ){       mApiWrnOspfExtLsdb_t  *pExtLsdb;    ulong_t               mibIndex[OSPF_EXT_LSDB_INSTANCE_LEN];    int                   oidLength;    pExtLsdb = (mApiWrnOspfExtLsdb_t *)node;    oidLength = OSPF_EXT_LSDB_INSTANCE_LEN;    /* reconstruct the index values for wrnOspfExtLsdbTable. wrnOspfExtLsdbTable is indexed     * by wrnOspfExtLsdbType, wrnOspfExtLsdbLsid and wrnOspfExtLsdbRouterId     */    memset( mibIndex, 0, sizeof(mibIndex) );    mibIndex[0] = pExtLsdb->wrnOspfExtLsdbType;    ospf_mApi_ipAddr2IpIndex( pExtLsdb->wrnOspfExtLsdbLsid, &mibIndex[1] );    ospf_mApi_ipAddr2IpIndex( pExtLsdb->wrnOspfExtLsdbRouterId, &mibIndex[5] );    return ospfMapiOidCompare( oidLength, (ulong_t *)key.p, mibIndex );}/*************** Internal WRN-OSPF Enterprise MIB cleanup routines **************//*************************************************************************************** wrnOspf2Mapi_area_flush - flush all area instances from wrnOspfAreaTable*

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩视频在线观看| 国产精品色哟哟网站| 91行情网站电视在线观看高清版| 另类小说图片综合网| 亚洲一区二区在线免费观看视频| 国产三区在线成人av| 日韩欧美一级二级三级| 欧美高清dvd| 欧美中文字幕一区| 91丨porny丨国产| 成人免费视频免费观看| 久久99热国产| 国内精品免费**视频| 男人的天堂亚洲一区| 日本三级亚洲精品| 久久99精品久久久久婷婷| 日韩不卡手机在线v区| 亚洲国产aⅴ天堂久久| 亚洲免费色视频| 一区二区三区毛片| 午夜精品一区二区三区三上悠亚| 亚洲一区二区中文在线| 午夜视频一区二区三区| 免费观看在线综合色| 久久精品国产色蜜蜜麻豆| 国产精品正在播放| 精品系列免费在线观看| 国产精品原创巨作av| 91啪九色porn原创视频在线观看| 在线一区二区三区四区| 在线成人免费观看| 久久日一线二线三线suv| 国产精品理论在线观看| 亚洲第一在线综合网站| 韩国成人在线视频| 波多野结衣中文一区| 欧美色国产精品| 久久久久久久久久电影| 一区二区三区 在线观看视频 | 日韩免费观看高清完整版在线观看| 精品免费一区二区三区| 亚洲女人****多毛耸耸8| 蜜桃视频一区二区三区在线观看| 高清国产午夜精品久久久久久| 欧美片网站yy| 成人免费在线视频| 国产综合一区二区| 777亚洲妇女| 亚洲美女在线一区| 狠狠狠色丁香婷婷综合激情| 欧美日韩一区中文字幕| 国产精品视频观看| 激情丁香综合五月| 在线播放一区二区三区| 亚洲一区中文日韩| 成人午夜看片网址| 久久在线观看免费| 激情图区综合网| 精品国产91久久久久久久妲己| 亚洲成人免费在线观看| 91精品国产日韩91久久久久久| 一卡二卡三卡日韩欧美| 夜夜精品视频一区二区| 色噜噜狠狠成人中文综合| 国产精品传媒在线| 成人亚洲精品久久久久软件| 欧美国产在线观看| 成人综合婷婷国产精品久久蜜臀 | 欧美日韩成人在线一区| 中文字幕一区二区三区在线不卡 | 亚洲免费观看在线观看| 不卡视频在线看| 亚洲欧美激情插| 欧美老肥妇做.爰bbww视频| 三级欧美韩日大片在线看| 欧美一级在线观看| 国产成人精品免费视频网站| 国产精品欧美一级免费| 色猫猫国产区一区二在线视频| 亚洲自拍偷拍综合| 精品va天堂亚洲国产| 成人午夜免费av| 亚洲高清不卡在线| 日韩亚洲欧美在线| 高潮精品一区videoshd| 亚洲精品日韩综合观看成人91| 7777精品伊人久久久大香线蕉经典版下载 | 老司机精品视频导航| 国产精品丝袜在线| 91精品国产欧美日韩| 国产剧情av麻豆香蕉精品| 亚洲欧美日韩国产一区二区三区| 9191成人精品久久| av中文字幕在线不卡| 久久激五月天综合精品| 亚洲精品精品亚洲| 久久久综合网站| 欧美一级日韩一级| 日本高清无吗v一区| 国产在线精品一区二区夜色 | 亚洲大片精品永久免费| 国产精品国产三级国产a| 日韩欧美视频在线| 欧美视频三区在线播放| 粉嫩高潮美女一区二区三区| 蜜桃av一区二区三区| 午夜精彩视频在线观看不卡| 亚洲视频在线一区二区| 国产精品久久久久久亚洲伦| 国产午夜亚洲精品午夜鲁丝片| 91精品国产黑色紧身裤美女| 欧美自拍偷拍一区| 日本韩国一区二区| 在线观看不卡视频| 欧洲国产伦久久久久久久| 99久久精品情趣| 99久久精品免费观看| 一本高清dvd不卡在线观看| av不卡在线观看| 色婷婷激情一区二区三区| 91同城在线观看| 在线影院国内精品| 欧美日韩三级一区| 日韩一级精品视频在线观看| 日韩午夜精品视频| 久久久99精品免费观看不卡| 国产午夜一区二区三区| 国产精品久久久久久久久图文区 | 成人黄色电影在线| av不卡免费在线观看| 欧美日韩一级二级| 日韩一区二区高清| 中文字幕日本不卡| 日韩影院精彩在线| 国产精品资源网站| 日本久久电影网| 精品久久久久久久久久久久久久久久久 | 亚洲青青青在线视频| 首页国产丝袜综合| 成人av电影在线网| 欧美一区日韩一区| 亚洲男人天堂av网| 久久99精品国产.久久久久| 色综合咪咪久久| 精品国产免费视频| 一区二区在线免费| 国产成人精品亚洲777人妖| 欧美日韩一区视频| 亚洲色欲色欲www| 国产精品综合久久| 日韩精品一区二区三区视频| 亚洲制服丝袜av| 97精品久久久久中文字幕| 久久久精品中文字幕麻豆发布| 五月天激情综合| 欧美日韩亚洲综合一区二区三区| 欧美极品xxx| 国产成a人亚洲| 国产欧美一区二区三区沐欲| 韩国三级中文字幕hd久久精品| 91精品国产综合久久久久久久 | 老司机一区二区| 欧美丰满少妇xxxbbb| 一区二区三区日韩| 日本丰满少妇一区二区三区| 综合分类小说区另类春色亚洲小说欧美| 国产老妇另类xxxxx| 欧美精品一区二区高清在线观看| 亚洲h精品动漫在线观看| 日本韩国精品在线| 亚洲第一福利视频在线| 欧美日韩国产一二三| 视频一区中文字幕国产| 91超碰这里只有精品国产| 日韩av一级电影| 久久亚洲精品小早川怜子| 国产在线不卡一区| 亚洲国产成人私人影院tom| 国产91精品一区二区麻豆亚洲| 久久久国产综合精品女国产盗摄| 福利一区二区在线| 亚洲综合清纯丝袜自拍| 91精品婷婷国产综合久久竹菊| 秋霞影院一区二区| 久久久久久久电影| 色综合久久88色综合天天6 | 成人性生交大片| 一区二区三区国产| 日韩三级免费观看| 成人在线视频一区| 亚洲一区在线观看网站| 欧美日韩在线电影| 成人av在线影院| 免费观看在线综合色| 国产欧美精品一区| 日韩欧美国产成人一区二区| 色综合久久综合| 国产成人午夜精品影院观看视频| 亚洲综合另类小说| 日韩一区在线看|