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

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

?? 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*

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
九一久久久久久| 色婷婷激情一区二区三区| 国内精品久久久久影院色 | 色综合中文字幕| 91久久一区二区| 欧美mv日韩mv国产网站app| 国产精品久久久久久户外露出| 国产精品18久久久久久久久久久久 | 亚洲一级不卡视频| 日韩va欧美va亚洲va久久| 国产精品自产自拍| 91黄色激情网站| 精品国产亚洲在线| 亚洲久本草在线中文字幕| 久久国产免费看| 91国模大尺度私拍在线视频| 精品少妇一区二区| 亚洲天堂精品视频| 久久国产麻豆精品| 日本道精品一区二区三区| 久久众筹精品私拍模特| 亚洲制服丝袜在线| 国产精品综合二区| 欧美日韩视频在线第一区| 国产视频一区在线播放| 亚洲成a人在线观看| 成人少妇影院yyyy| 日韩一区二区在线看片| 亚洲丝袜另类动漫二区| 久久国产精品一区二区| 欧洲国产伦久久久久久久| 国产亚洲精品bt天堂精选| 丝袜美腿一区二区三区| 99精品偷自拍| 久久久国产精品不卡| 日本欧美在线观看| 色综合久久久久网| 国产欧美一区二区精品久导航 | 欧美酷刑日本凌虐凌虐| 欧美国产亚洲另类动漫| 三级亚洲高清视频| 日本黄色一区二区| 日本一区二区不卡视频| 美女一区二区视频| 欧美视频一区二| 亚洲欧洲日韩一区二区三区| 麻豆成人免费电影| 欧美高清一级片在线| 亚洲女女做受ⅹxx高潮| 成人丝袜高跟foot| 国产亚洲婷婷免费| 久久精品二区亚洲w码| 欧美精选一区二区| 亚洲线精品一区二区三区| 91丨九色丨黑人外教| 中文字幕不卡在线观看| 国产在线精品免费av| 欧美大白屁股肥臀xxxxxx| 视频一区国产视频| 欧美日韩不卡一区| 亚洲国产精品久久艾草纯爱| 91丨porny丨户外露出| 亚洲视频中文字幕| www.亚洲人| 国产精品国产三级国产普通话蜜臀| 国产一区二区三区在线观看免费 | 国内精品伊人久久久久av影院| 7777精品伊人久久久大香线蕉超级流畅| 亚洲激情av在线| 色中色一区二区| 一区二区三区日韩欧美精品| 97精品超碰一区二区三区| 亚洲国产精品v| 成人性生交大片免费看中文| 中文字幕免费不卡| 成人高清在线视频| 亚洲色图一区二区| 在线观看一区不卡| 亚洲超碰精品一区二区| 91精品欧美福利在线观看| 日韩电影一区二区三区四区| 91.com在线观看| 免费人成网站在线观看欧美高清| 欧美一区二区女人| 激情综合色综合久久综合| www国产精品av| 国产高清不卡二三区| 中文字幕亚洲区| 91国产视频在线观看| 舔着乳尖日韩一区| 欧美大片拔萝卜| 顶级嫩模精品视频在线看| 国产精品高潮呻吟久久| 一本一道综合狠狠老| 亚洲成人福利片| 精品国产91洋老外米糕| 高清日韩电视剧大全免费| 亚洲婷婷综合久久一本伊一区| 欧美丝袜丝交足nylons| 欧美aaa在线| 国产精品天干天干在线综合| 91免费国产在线| 丝袜诱惑制服诱惑色一区在线观看 | 国产丝袜欧美中文另类| 91在线精品一区二区| 亚洲自拍偷拍av| 日韩欧美一级二级三级| 国产suv一区二区三区88区| 最新热久久免费视频| 欧美日韩一级二级三级| 九九精品视频在线看| 中文字幕日本乱码精品影院| 欧美日韩免费高清一区色橹橹| 蜜臀av亚洲一区中文字幕| 中文字幕精品综合| 欧美日韩一区二区在线观看| 精品一区二区综合| 亚洲精品视频在线看| 日韩精品一区二| 一本一本久久a久久精品综合麻豆| 天天影视网天天综合色在线播放| 国产网站一区二区三区| 欧美性感一类影片在线播放| 久久99精品一区二区三区| 亚洲欧美国产高清| 精品久久久久久亚洲综合网| 97久久精品人人做人人爽50路| 欧美a级理论片| 亚洲精品一二三区| 久久午夜电影网| 欧美日韩国产大片| 成人激情小说乱人伦| 男女男精品视频网| 一区二区三区在线视频免费观看| 欧美变态tickle挠乳网站| 一本久久a久久精品亚洲| 捆绑调教美女网站视频一区| 一区二区三区四区激情| 日本一二三不卡| 精品日韩av一区二区| 欧美视频在线播放| 99久久精品情趣| 国产一区二区在线免费观看| 亚洲国产精品久久久久秋霞影院| 欧美国产精品一区二区三区| 日韩一区二区电影网| 在线免费视频一区二区| 成人黄色软件下载| 国产一区 二区 三区一级| 日韩电影在线免费看| 亚洲综合精品久久| 国产精品久久久久三级| 精品久久久久久久久久久院品网| 欧美丝袜丝交足nylons| 91麻豆视频网站| k8久久久一区二区三区| 国产综合色产在线精品| 免费国产亚洲视频| 亚洲第一狼人社区| 亚洲视频综合在线| 国产精品久久久久久久久图文区 | 国产一区二区导航在线播放| 青青草91视频| 首页亚洲欧美制服丝腿| 亚洲一级在线观看| 夜夜嗨av一区二区三区四季av| 国产精品久久三| 国产色产综合色产在线视频 | 国产高清不卡二三区| 精品午夜一区二区三区在线观看| 亚洲成人免费观看| 亚洲亚洲人成综合网络| 一区二区三区四区不卡在线 | 色婷婷亚洲综合| 成人黄色免费短视频| 国产.欧美.日韩| 国产一区二区成人久久免费影院| 久久精品国产**网站演员| 日本特黄久久久高潮| 五月婷婷色综合| 亚洲成人av中文| 午夜久久久久久| 偷窥国产亚洲免费视频| 亚洲超丰满肉感bbw| 天天色天天操综合| 男人操女人的视频在线观看欧美| 蜜桃免费网站一区二区三区 | 久久久91精品国产一区二区三区| 欧美成人r级一区二区三区| 日韩亚洲欧美成人一区| 4438成人网| 日韩欧美在线网站| 精品国产乱码久久久久久夜甘婷婷| 欧美刺激午夜性久久久久久久| 精品久久国产老人久久综合| 久久综合久久久久88| 国产精品视频一二| 亚洲精品欧美专区| 亚洲电影第三页| 久久成人免费网|