📄 ospf_mib_helper_update.h
字号:
* pValueBuf = pointer to the ospfExtLsdbAdvertisement read-only object * * ospfExtLsdbTable (reqType = ospfExtLsdbDeleteReqType) * valueBuf[0] = the value of ospfExtLsdbType index object * valueBuf[1] = the value of ospfExtLsdbLsid index object * valueBuf[2] = the value of ospfExtLsdbRouterId index object * valueBuf[3] to valueBuf[14] = not used * pValueBuf = not use * * ospfAreaAggregateTable (reqType = ospfAreaAggregateCreateReq ) * valueBuf[0] = the value of ospfAreaAggregateAreaID index object * valueBuf[1] = the value of ospfAreaAggregateLsdbType index object * valueBuf[2] = the value of ospfAreaAggregateNet index object * valueBuf[3] = the value of ospfAreaAggregateMask index object * valueBuf[4] = the value of ospfAreaAggregateEffect read-only object * valueBuf[5] = the value of ospfAreaAggregateStatus read-only object * valueBuf[6] and valueBuf[14] = not used * pValueBuf = pointer to the ospfExtLsdbAdvertisement read-only object * * interface flag change notification from ospf (reqType = ospfIfChangeReqType) * valueBuf[0] = the value of ospfIfIpAddress index object * valueBuf[1] = the value of ospfAddressLessIf index object * valueBuf[2] = interface index value (from struct ifnet) * valueBuf[3] = interface flags (from struct ifnet) * valueBuf[4] to valueBuf[14] = not use * pValueBuf = not use * * interface address deleted notification from ospf (reqType = ospfIfDeleteReqType) * valueBuf[0] = the value of ospfIfIpAddress index object * valueBuf[1] = the value of ospfAddressLessIf index object * valueBuf[2] = interface index value (from struct ifnet) * valueBuf[3] to valueBuf[14] = not use * pValueBuf = not use * ***************** WRN OSPF Enterprise MIB *************** * wrnOspfGeneralGroup (reqType = wrnOspfGenGroupUpdateReqType ) * valueBuf[0] = the value of wrnOspfOriginateNewOpaqueLsas read-only object * valueBuf[1] = the value of wrnOspfRxNewOpaqueLsas read-only object * valueBuf[2] = the value of wrnOspfType9LsaCount read-only object * valueBuf[3] = the value of wrnOspfType9LsaCksumSum read-only object * valueBuf[4] = the value of wrnOspfType11LsaCount read-only object * valueBuf[5] = the value of wrnOspfType11LsaCksumSum read-only object * valueBuf[6] to valueBuf[14] = not used * pValueBuf = not use * * wrnOspfAreaTable (reqType = wrnOspfAreaUpdateReqType) * valueBuf[0] = the value of wrnOspfAreaId index object * valueBuf[1] = the value of wrnOspfAreaType10LsaCount read-only object * valueBuf[2] = the value of wrnOspfAreaType10LsaCksumSum read-only object * valueBuf[3] to valueBuf[14] = not used * pValueBuf = not use * * wrnOspfLsdbTable:Type-10 Opaque LSA (reqType = wrnOspfLsdbUpdateReqType): * valueBuf[0] = the value of wrnOspfLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLsdbType index object * valueBuf[2] = the value of wrnOspfLsdbLsid index object * valueBuf[3] = the value of wrnOspfLsdbRouterId index object * valueBuf[4] = the value of wrnOspfLsdbSequence read-only object * valueBuf[5] = the value of wrnOspfLsdbAge read-only object * * wrnOspfLsdbTable:Type-10 Opaque LSA (reqType = wrnOspfLsdbCreateReqType): * valueBuf[0] = the value of wrnOspfLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLsdbType index object * valueBuf[2] = the value of wrnOspfLsdbLsid index object * valueBuf[3] = the value of wrnOspfLsdbRouterId index object * valueBuf[4] = the value of wrnOspfLsdbSequence read-only object * valueBuf[5] = the value of wrnOspfLsdbAge read-only object * valueBuf[6] = the value of wrnOspfLsdbChecksum read-only object * valueBuf[7] = the value of lsdbLen (not a MIB object) * valueBuf[8] and valueBuf[14] = not used * pValueBuf = pointer to the wrnOspfLsdbAdvertisement read-only object * * wrnOspfLsdbTable:Type-10 Opaque LSA (reqType = wrnOspfLsdbDeleteReqType) * valueBuf[0] = the value of wrnOspfLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLsdbType index object * valueBuf[2] = the value of wrnOspfLsdbLsid index object * valueBuf[3] = the value of wrnOspfLsdbRouterId index object * valueBuf[4] and valueBuf[14] = not used * pValueBuf = not use * * wrnOspfLocalLsdbTable:Type-9 Opaque LSA (reqType = wrnOspfLocalLsdbUpdateReqType) * valueBuf[0] = the value of wrnOspfLocalLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLocalLsdbIpAddress index object * valueBuf[2] = the value of wrnOspfLocalLsdbType index object * valueBuf[3] = the value of wrnOspfLocalLsdbLsid index object * valueBuf[4] = the value of wrnOspfLocalLsdbRouterId index object * valueBuf[5] = the value of wrnOspfLocalLsdbSequence read-only object * valueBuf[6] = the value of wrnOspfLocalLsdbAge read-only object * * wrnOspfLocalLsdbTable:Type-9 Opaque LSA (reqType = wrnOspfLocalLsdbCreateReqType) * valueBuf[0] = the value of wrnOspfLocalLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLocalLsdbIpAddress index object * valueBuf[2] = the value of wrnOspfLocalLsdbType index object * valueBuf[3] = the value of wrnOspfLocalLsdbLsid index object * valueBuf[4] = the value of wrnOspfLocalLsdbRouterId index object * valueBuf[5] = the value of wrnOspfLocalLsdbSequence read-only object * valueBuf[6] = the value of wrnOspfLocalLsdbAge read-only object * valueBuf[7] = the value of wrnOspfLocalLsdbChecksum read-only object * valueBuf[8] = the value of lsdbLen (not a MIB object) * valueBuf[9] and valueBuf[14] = not used * pValueBuf = pointer to the wrnOspfLocalLsdbAdvertisement read-only object * * wrnOspfLocalLsdbTable:Type-9 Opaque LSA (reqType = wrnOspfLocalLsdbDeleteReqType) * valueBuf[0] = the value of wrnOspfLocalLsdbAreaId index object * valueBuf[1] = the value of wrnOspfLocalLsdbIpAddress index object * valueBuf[2] = the value of wrnOspfLocalLsdbType index object * valueBuf[3] = the value of wrnOspfLocalLsdbLsid index object * valueBuf[4] = the value of wrnOspfLocalLsdbRouterId index object * valueBuf[5] and valueBuf[14] = not used * pValueBuf = not use * * wrnOspfExtLsdbTable:Type-11 Opaque LSA (reqType = wrnOspfExtLsdbUpdateReqType) * valueBuf[0] = the value of wrnOspfExtLsdbType index object * valueBuf[1] = the value of wrnOspfExtLsdbLsid index object * valueBuf[2] = the value of wrnOspfExtLsdbRouterId index object * valueBuf[3] = the value of wrnOspfExtLsdbSequence read-only object * valueBuf[4] = the value of wrnOspfExtLsdbAge read-only object * * wrnOspfExtLsdbTable:Type-11 Opaque LSA (reqType = wrnOspfExtLsdbCreateReqType) * valueBuf[0] = the value of wrnOspfExtLsdbType index object * valueBuf[1] = the value of wrnOspfExtLsdbLsid index object * valueBuf[2] = the value of wrnOspfExtLsdbRouterId index object * valueBuf[3] = the value of wrnOspfExtLsdbSequence read-only object * valueBuf[4] = the value of wrnOspfExtLsdbAge read-only object * valueBuf[5] = the value of wrnOspfExtLsdbChecksum read-only object * valueBuf[6] = the value of lsdbLen (not a MIB object) * valueBuf[7] and valueBuf[14] = not used * pValueBuf = pointer to the wrnOspfExtLsdbAdvertisement read-only object * * wrnOspfExtLsdbTable:Type-11 Opaque LSA (reqType = wrnOspfExtLsdbDeleteReqType) * valueBuf[0] = the value of wrnOspfExtLsdbType index object * valueBuf[1] = the value of wrnOspfExtLsdbLsid index object * valueBuf[2] = the value of wrnOspfExtLsdbRouterId index object * valueBuf[3] and valueBuf[14] = not used * pValueBuf = not use * * wrnOspfIfTable (reqType = wrnOspfIfCreateReqType): * valueBuf[0] = the value of wrnOspfIfDstIpAddress index object * valueBuf[1] = the value of wrnOspfIfIndex index object * valueBuf[3] to valueBuf[14] = not used * pValueBuf = not used. */typedef struct ospf2MapiReqBuf{ NODE node; /* linked list node */ ospf2MapiReqType_t reqType; /* request type issued by ospf protocol */ ulong_t valueBuf[15]; /* value buffer */ char *pValueBuf; /* pointer to data larger than sizeof(ulong_t) */} ospf2MapiReqBuf_t;typedef struct ospf2MapiSysCtl{ ushort_t if_index; /* interface index (from struct ifnet) */ void *pCtlData; /* control data, specific to the request message */} ospf2MapiSysCtl_t;/* prototypes for functions used by MIB API to dynamically reconfigure OSPF */IMPORT STATUS mApi2Ospf_configGenGroup( void *pGenParams );IMPORT STATUS mApi2Ospf_configArea( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configStub( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configHost( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configIf( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configIfMetric( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configVirtIf( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configNbr( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_configAreaAggregate( mApiRequest_t *pRequest );IMPORT STATUS mApi2Ospf_deleteArea( void *pRow );IMPORT STATUS mApi2Ospf_deleteHost( void *pRow );IMPORT STATUS mApi2Ospf_deleteIf( void *pRow );IMPORT STATUS mApi2Ospf_deleteIfMetric( void *pRow );IMPORT STATUS mApi2Ospf_deleteVirtIf( void *pRow );IMPORT STATUS mApi2Ospf_deleteNbr( void *pRow );IMPORT STATUS mApi2Ospf_deleteAreaAggregate( void *pRow );/* prototypes for functions used by OSPF for operational status statistic updates */IMPORT void ospf2Mapi_request( void *pObjInfo, ospf2MapiReqType_t reqType );/* prototypes for functions used by OSPF for registration and de-registration */IMPORT STATUS ospf2Mapi_proto_register( void );IMPORT void ospf2Mapi_proto_deregister( void );/* prototype for function used by OSPF to retrieve ospf configuration from MIB API */IMPORT STATUS ospf2Mapi_query_config( BOOL *readStaticConfig );/* misc prototypes used by MIB API only */IMPORT STATUS ospf2Mapi_init( int numOspfReqBufCnt );IMPORT void ospf2Mapi_shutdown( void );/* Show routine */IMPORT STATUS ospf2Mapi_show( void );#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __INCospf_mib_helper_updateh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -