📄 ipsystemstatstable.c
字号:
(*ipSystemStatsHCOutRequests_val_ptr).high = rowreq_ctx->data->stats.HCOutRequests.high; return MFD_SUCCESS;} /* ipSystemStatsHCOutRequests_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsOutNoRoutes * ipSystemStatsOutNoRoutes is subid 22 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.22 * Description:The number of locally generated IP datagrams discarded because no route could be found to transmit them to their destination. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER (based on perltype COUNTER) * The net-snmp type is ASN_COUNTER. The C type decl is u_long (u_long) *//** * Extract the current value of the ipSystemStatsOutNoRoutes data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ipSystemStatsOutNoRoutes_val_ptr * Pointer to storage for a u_long variable * * @retval MFD_SUCCESS : success * @retval MFD_SKIP : skip this node (no value for now) * @retval MFD_ERROR : Any other error */intipSystemStatsOutNoRoutes_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx, u_long * ipSystemStatsOutNoRoutes_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ipSystemStatsOutNoRoutes_val_ptr); DEBUGMSGTL(("verbose:ipSystemStatsTable:ipSystemStatsOutNoRoutes_get", "called\n")); netsnmp_assert(NULL != rowreq_ctx); /* * TODO:231:o: |-> Extract the current value of the ipSystemStatsOutNoRoutes data. * set (* ipSystemStatsOutNoRoutes_val_ptr ) from rowreq_ctx->data */ (*ipSystemStatsOutNoRoutes_val_ptr) = rowreq_ctx->data->stats.OutNoRoutes; return MFD_SUCCESS;} /* ipSystemStatsOutNoRoutes_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsOutForwDatagrams * ipSystemStatsOutForwDatagrams is subid 23 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.23 * Description:The number of datagrams for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination. In entities which do not act as IP routers, this counter will include only those datagrams which were Source-Routed via this entity, and the Source-Route processing was successful. When tracking interface statistics the counter of the outgoing interface is incremented for a successfully forwarded datagram. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER (based on perltype COUNTER) * The net-snmp type is ASN_COUNTER. The C type decl is u_long (u_long) *//** * Extract the current value of the ipSystemStatsOutForwDatagrams data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ipSystemStatsOutForwDatagrams_val_ptr * Pointer to storage for a u_long variable * * @retval MFD_SUCCESS : success * @retval MFD_SKIP : skip this node (no value for now) * @retval MFD_ERROR : Any other error */intipSystemStatsOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx, u_long * ipSystemStatsOutForwDatagrams_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ipSystemStatsOutForwDatagrams_val_ptr); DEBUGMSGTL(("verbose:ipSystemStatsTable:ipSystemStatsOutForwDatagrams_get", "called\n")); netsnmp_assert(NULL != rowreq_ctx); /* * TODO:231:o: |-> Extract the current value of the ipSystemStatsOutForwDatagrams data. * set (* ipSystemStatsOutForwDatagrams_val_ptr ) from rowreq_ctx->data */ (*ipSystemStatsOutForwDatagrams_val_ptr) = rowreq_ctx->data->stats.HCOutForwDatagrams.low; return MFD_SUCCESS;} /* ipSystemStatsOutForwDatagrams_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsHCOutForwDatagrams * ipSystemStatsHCOutForwDatagrams is subid 24 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.24 * Description:The number of datagrams for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination. This object counts the same packets as ipSystemStatsOutForwDatagrams but allows for larger values. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER64 (based on perltype COUNTER64) * The net-snmp type is ASN_COUNTER64. The C type decl is U64 (U64) *//** * Extract the current value of the ipSystemStatsHCOutForwDatagrams data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ipSystemStatsHCOutForwDatagrams_val_ptr * Pointer to storage for a U64 variable * * @retval MFD_SUCCESS : success * @retval MFD_SKIP : skip this node (no value for now) * @retval MFD_ERROR : Any other error */intipSystemStatsHCOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx, U64 * ipSystemStatsHCOutForwDatagrams_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ipSystemStatsHCOutForwDatagrams_val_ptr); /* * TODO:231:o: |-> copy ipSystemStatsHCOutForwDatagrams data. * get (* ipSystemStatsHCOutForwDatagrams_val_ptr ).low and (* ipSystemStatsHCOutForwDatagrams_val_ptr ).high from rowreq_ctx->data */ (*ipSystemStatsHCOutForwDatagrams_val_ptr).low = rowreq_ctx->data->stats.HCOutForwDatagrams.low; (*ipSystemStatsHCOutForwDatagrams_val_ptr).high = rowreq_ctx->data->stats.HCOutForwDatagrams.high; return MFD_SUCCESS;} /* ipSystemStatsHCOutForwDatagrams_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsOutDiscards * ipSystemStatsOutDiscards is subid 25 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.25 * Description:The number of output IP datagrams for which no problem was encountered to prevent their transmission to their destination, but which were discarded (e.g., for lack of buffer space). Note that this counter would include datagrams counted in ipSystemStatsOutForwDatagrams if any such datagrams met this (discretionary) discard criterion. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER (based on perltype COUNTER) * The net-snmp type is ASN_COUNTER. The C type decl is u_long (u_long) *//** * Extract the current value of the ipSystemStatsOutDiscards data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ipSystemStatsOutDiscards_val_ptr * Pointer to storage for a u_long variable * * @retval MFD_SUCCESS : success * @retval MFD_SKIP : skip this node (no value for now) * @retval MFD_ERROR : Any other error */intipSystemStatsOutDiscards_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx, u_long * ipSystemStatsOutDiscards_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ipSystemStatsOutDiscards_val_ptr); DEBUGMSGTL(("verbose:ipSystemStatsTable:ipSystemStatsOutDiscards_get", "called\n")); netsnmp_assert(NULL != rowreq_ctx); /* * TODO:231:o: |-> Extract the current value of the ipSystemStatsOutDiscards data. * set (* ipSystemStatsOutDiscards_val_ptr ) from rowreq_ctx->data */ (*ipSystemStatsOutDiscards_val_ptr) = rowreq_ctx->data->stats.OutDiscards; return MFD_SUCCESS;} /* ipSystemStatsOutDiscards_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsOutFragReqds * ipSystemStatsOutFragReqds is subid 26 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.26 * Description:The number of IP datagrams that would require fragmentation in order to be transmitted. When tracking interface statistics the counter of the outgoing interface is incremented for a successfully fragmented datagram. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER (based on perltype COUNTER) * The net-snmp type is ASN_COUNTER. The C type decl is u_long (u_long) *//** * Extract the current value of the ipSystemStatsOutFragReqds data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ipSystemStatsOutFragReqds_val_ptr * Pointer to storage for a u_long variable * * @retval MFD_SUCCESS : success * @retval MFD_SKIP : skip this node (no value for now) * @retval MFD_ERROR : Any other error */intipSystemStatsOutFragReqds_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx, u_long * ipSystemStatsOutFragReqds_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ipSystemStatsOutFragReqds_val_ptr); DEBUGMSGTL(("verbose:ipSystemStatsTable:ipSystemStatsOutFragReqds_get", "called\n")); netsnmp_assert(NULL != rowreq_ctx); /* * TODO:231:o: |-> Extract the current value of the ipSystemStatsOutFragReqds data. * set (* ipSystemStatsOutFragReqds_val_ptr ) from rowreq_ctx->data */ (*ipSystemStatsOutFragReqds_val_ptr) = rowreq_ctx->data->stats.OutFragReqds; return MFD_SUCCESS;} /* ipSystemStatsOutFragReqds_get *//*--------------------------------------------------------------------- * IP-MIB::ipSystemStatsEntry.ipSystemStatsOutFragOKs * ipSystemStatsOutFragOKs is subid 27 of ipSystemStatsEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.4.31.1.1.27 * Description:The number of IP datagrams that have been successfully fragmented. When tracking interface statistics the counter of the outgoing interface is incremented for a successfully fragmented datagram. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ipSystemStatsDiscontinuityTime. * * Attributes: * accessible 1 isscalar 0 enums 0 hasdefval 0 * readable 1 iscolumn 1 ranges 0 hashint 0 * settable 0 * * * Its syntax is COUNTER (based on perltype COUNTER) * The net-snmp type is ASN_COUNTER. The C type decl is u_long (u_long) *//** * Extract the current val
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -