/* ospf_mib_helper.c - Management Interface Helper routines for OSPFv2 MIB */
/* Copyright 1998-2003 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
modification history
--------------------
05g,10jun03,mwv SPR#88878 fixed compiler warnings related to (char *) references
05f,04jun03,asr Changed back to use system memory instead of OSPF memory partition
05e,02jun03,agi Added #include "ospf.h"
05d,02jun03,ram Changed native memory usage to OSPF memory partition
05c,08may03,kc Fixed SPR#88258 - changed the way Area ID is validated and
commit in ospf_mApi_ifRowAccess() so that the Area ID
changes can be detected correctly.
05b,21mar03,kkz SPR 88613 - fixed areaAggregateDelete to tell OSPF to delete, before
deregistering from area. Also, allow setting of agEffect to doNotAdvertiseMatching
05a,28feb03,kc Fixed SPR#86505 - modified per new mibApi.h header file updates.
Renamed MAPI_COMMIT_NVM and MAPI_GET_NVM mApiReqType_t request type
to MAPI_COMMIT_FORCE and MAPI_GET_FORCE respectively.
04z,24feb03,kc Fixed SPR#86385 - modified all ospf_mApi_xxxRowCreate(),
ospf_mApi_xxxRowAccess() and ospf_mApi_xxxHelperSet() to return
proper SNMPv2 error code using OSPF_MIB_ERROR_SET() macro.
04y,21feb03,kc Fixed SPR#86346 - modified ospf_mApi_areaRowAccess() to accept
sendAreaSummary(2) as the valid value for ospfAreaSummary object
and to dynamically configured OSPF for changes to the ospfAreaSummary
only if the area is configured as stub.
04x,21feb03,kc Fixed SPR#86134 - modified ospf_mApi_areaAggregateRowAccess() to
return error for ospfAreaAggregateEffect object validation if
set to the unsupported doNotAdvertiseMatching(2).
04w,18feb03,kc Fixed SPR#86135 - modified ospf_mApi_stubDelete() to reinitialize
the OSPF Area using the default metric value when the stub entry
is deleted from the ospfStubTable.
04v,07feb03,kc Fixed SPR#86144 - removed the mApiReqType_t argument from all the
ospf_mApi_xxxHelperCreate() routines. These routine no longer attempt
to reconfigure OSPF if the reqType type is not MAPI_COMMIT_NVM. Also
removed the dynamicConfig argument from ospf_mApi_ifRowSet() and
ospf_mApi_virtIfRowSet() routines.
04u,03feb03,kc Fixed SPR#85865 - modified ospf_mApi_configurationGet() to update
the ABR status if necessary.
04t,01feb03,kc Fixed SPR#86017 - modified ospf_mApi_areaDelete to set the rowStatus
for the attached interface to notReady regardless if the OSPF protocol
is running. Also reset all the read-only operational status and stats
objects if interface is successfully removed from OSPF.
04s,31jan03,kc Fixed SPR#86009 - modified ospf_mApi_ifRowCreate() to assign the
actual value of the Area ID from mApiObject_t to the ospfIfAreaId
columnar object during the MAPI_TEST phase.
04r,31jan03,kc Fixed SPR#86006 - modified all the ospf_mApi_xxxHelperSet() routines
to invoke avlDelete() to remove the row created from the avl tree.
04q,12dec02,mwv Fix compiler warning
04p,19nov02,kc Modified ospf_mApi_ifHelperCreate() and ospf_mApi_ifConfigAccess()
to explicitly invoke the ospf_mApi_ifInfoGet() when ospf is reinitialized.
SPR 84478, 84485, 84486
04o,19nov02,mwv Merge TMS code SPR 84284
04n,12nov02,kc Fixed SPR#75884 - Added ospf_mApi_nbrHelperDeregister().
04m,08oct02,agi Fixed compiler warnings
04l,15aug02,kc Modified ospf_mApi_virtIfRowStatusAccess() to place the return
statement at the correct spot.
04k,09aug02,kc Modified ospf_mApi_ifRowCreate() to correctly validate the index
value for unnumbered interface.
04j,17jun02,kc Modified ospf_mApi_xxxHelperSet() to handle possible pObjCookie
not implemented, thus corrected possible NULL pointer access.
04i,25may02,kc Fixed PR #2700 - Added deleteFromOspf boolean flag function argument
to ospf_mApi_ifDelete().
04h,21may02,kc Fixed ospf_mApi_xxxHelperSet() to extract the object cookie data
from the request message. Added the isLastColObject parameter to
the rsRowStatusSet() function call.
04g,23apr02,kc Fixed ospf_mApi_areaRegisterIf() to correctly increment the active
interface counter for MAPI_COMMIT_NVM request.
04f,18apr02,kc Don't trigger ospf_mApi_avlTreeWalk() for ospfNbrTable in
ospf_mApi_reset(). The ospfNbrTable and ospfVirtNbrTable will be
explicitly flushed by ospf2Mapi_shutdown().
04e,16apr02,kc Modified authentication type and key set request in
ospf_mApi_ifRowAccess() and ospf_mApi_virtIfRowAccess() to
allow dynamic configuration only if both the authentication
type and key have been defined.
04d,16apr02,kc Modified ospf_mApi_md5KeyIdValidate() to make sure md5 key id is
indeed within 1 to 255 and to return the md5 key id. Modified
ospf_mApi_ifHelperGet() and ospf_mApi_virtIfHelperGet() to return
the actual authentication key if request is MAPI_GET_NVM.
Modified ospf_mApi_md5AuthKeyParsing() to correctly track the
md5 authentication key and key id length from the given buffer.
04c,15apr02,kc Renamed EmapiOspfAuthType_simplePasswd mApiOspfAuthType_t to
EmApiOspfAuthType_simplePasswd. Renamed MAPI_NVM_SET to
MAPI_COMMIT_NVM and pCookie pointer to pReqCookie pointer per
mibApi.h update.
04b,13apr02,kc Fixed PR #2611 - corrected simple authentication key processing for
ospfIfAuthKey and ospfVirtIfAuthKey.
04a,11apr02,kc Added ospf_mApi_ifHelperDelete() routine. Fixed ospf_mApi_ifDelete()
to also check if interface row status is active and administrative
status is enabled before deleting the interface from OSPF.
03z,10apr02,kc Moved AVL_WALK_FUNC to ospf_mib_helper.h. Made ospf_mApi_avlTreeWalk()
public. Added splnet() call in ospf_mApi_ifInfoGet() to lock spl
semaphore so to allow ifa_ifwithaddr() to have exclusive access to
the system interface list.
03y,05apr02,kc Fixed ospf_mApi_xxxHelperSet() to delete the row if error occurs
during validation phase. Corrected the area registration process
for area aggregation. Fixed RS_ACCESS_COL_VALID for
ospf_mApi_ifRowAccess() to return error if changing an interface
area id breaks the virtual interface(s).
03x,04apr02,kc Modified ospf_mApi_walkxxxTree() to force the row status transition
only if the request is not NVM_SET. Invoke ospf_mApi_areaConfig()
in ospf_mApi_areaRowStatusAccess() when the row is first created.
03w,03apr02,kc Fixed ospf_mApi_areaAggregateRowCreate() to correctly lookup the
area using the appropriate area id. Fixed ospf_mApi_areaStatusUpdate()
to correctly decrement the numActiveArea counter when an area is
deleted (or when the interface state has changed).
03v,02apr02,kc Modified ospf_mApi_ifInfoGet() to locate the interface based on the
complete interface address.
03u,01apr02,kc Modified ospf_mApi_areaAggregateRowCreate() to look for the area
to which the area aggregation instance is configured for prior
memory is allocated for the instance.
03t,29mar02,kc Fixed up virtual link configuration. Only allow virtual link to go
active if there is at least one active interface in the transit area.
Fixed area configuration so that if
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
vxworks ospf路由协议实现 (107个子文件)
ospf_mib_helper.c 570KB
ospf_mib_helper_update.c 347KB
ospf_link_state_advertisements.c 214KB
ospf_mib_wrn_helper.c 145KB
ospf_mib_stub.c 119KB
ospf_mib_api.c 117KB
ospf_link_state_database.c 106KB
ospf_mib_utilities.c 104KB
ospf_opaque_lsa.c 93KB
ospf_mib_helper_show.c 90KB
ospf_dynamic_config.c 82KB
ospf_show_lsdb.c 79KB
ospf_initialization.c 79KB
ospf_dijkstra.c 71KB
ospf_routing_table.c 60KB
ospf_hello.c 58KB
ospf_external_route_calculation.c 57KB
ospf_mib_wrn_stub.c 57KB
ospf_vs_lib.c 55KB
ospf_utilities.c 51KB
ospf_receive_update.c 50KB
ospf_timer.c 49KB
ospf_list_utilities.c 48KB
ospf_shortest_path_calculation.c 46KB
ospf_mib.c 41KB
ospf_flood.c 39KB
ospf_mib_envoy_api.c 38KB
ospf_print_utilities.c 38KB
ospf_transmit_update.c 37KB
ospf_neighbor_events.c 35KB
ospf_sysctl.c 35KB
ospf_routing_table_lookups.c 35KB
ospf_receive_database.c 33KB
ospf_system.c 32KB
ospf_routing_table_updates.c 31KB
ospf_receive_packet.c 29KB
ospf_vx_ip_adaptation.c 29KB
ospf_linked_list.c 28KB
ospf_database_summary.c 24KB
ospf_inter_area_route_calculation.c 23KB
ospf_interface_events.c 21KB
ospf_mib_wrn.c 19KB
ospf_designated_router_election.c 19KB
ospf_configuration.c 18KB
ospf_nvram.c 18KB
ospf_transmit.c 18KB
ospf_to_rtm.c 15KB
ospf_transmit_database.c 14KB
ospf_netinet_interface.c 14KB
ospf_external_routes.c 13KB
ospf_receive_request.c 12KB
ospf_show_routines.c 12KB
ospf_control.c 12KB
ospf_interface.c 12KB
ospf_container.c 11KB
ospf_cfg_routines.c 11KB
ospf_init.c 11KB
ospf_receive_acknowledgement.c 8KB
ospf_show_routing_table.c 8KB
ospf_transmit_acknowledgement.c 7KB
ospf_transmit_request.c 7KB
ospf_cfg.c 7KB
ospf_checksum.c 6KB
ospf_nvrmutil.c 6KB
ospf_transmit_utilities.c 6KB
ospf_neighbor_state_machine.c 5KB
ospf_interface_state_machine.c 4KB
ospf_ky_driver.c 4KB
ospf_entry_initialize.c 3KB
ospf_old_ip_dependencies.c 3KB
ospf_receive_utilities.c 3KB
ospf_mib_wrsmaster.c 2KB
ospf_structures.h 72KB
ospf_prototypes.h 47KB
ospf_mib_helper.h 35KB
ospf_configuration.h 32KB
ospf_mib_helper_update.h 31KB
ospf_mib_api.h 27KB
ospf_neighbor_state_machine.h 14KB
ospf_constants.h 13KB
ospf_mib_wrn_helper.h 12KB
ospf_mib_leaf.h 12KB
ospf_enums.h 9KB
ospf_interface_state_machine.h 8KB
ospf_ip_structures.h 7KB
ospf_mib_envoy_api.h 7KB
ospf_mib_wrn_leaf.h 5KB
ospf_container.h 5KB
ospf_container_functions.h 5KB
ospf_mib_helper_show.h 4KB
ospf.h 4KB
ospf_mib_skel.h 4KB
ospf_globals.h 3KB
ospf_mib_wrn_skel.h 2KB
ospf_memory.h 2KB
ospf_kernel_interface.h 2KB
ospf_vs.h 2KB
ospf_linked_list_structures.h 1KB
ospf_vs_lib.h 1KB
ospf_kernel_callback_def.h 898B
共 107 条
- 1
- 2
资源评论
- WILLVSNICK2013-07-23里面全都是源代码。。。貌似比较老了。。。
- Super_Influencer2013-10-03最近实验室要学习ospf协议的实现,看下还可以
- 杨子锋2013-06-02确定是VX的源码,现在的VX似乎不提供OSPF协议转而只支持RIP协议了,该代码的版本可能老一点吧,也有研究生论文是写这个代码的实现的
- liuruomsdn2013-12-12可以学习下,最好可以看下Zebra OS相关的代码,功能更完善
- li12332110671992632016-11-01全部都是源码,做相关研究的可以参考下
曾家河
- 粉丝: 13
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis 动态 SQL:灵活而强大的查询构建器.pdf
- com.accordion.prettyo.apk
- 毕业设计:基于SSM的mysql-ssm软件bug管理系统(源码 + 数据库 + 说明文档)
- MTSQL8.0.35windows(64bit)-mysql-installer-community-8.0.35.0
- 人工智能引领音乐创作新时代之Suno AI
- Public-bicycle-usage-forecast-master.zip
- 通道处理过程模拟:从理论到实践.pdf
- 数据库第七次作业E-R图第一题
- 大厂面试真题Java语法基础面试专题及答案
- IMG20240428211124.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功