📄 ifxtable.c
字号:
*/ (*ifHCInUcastPkts_val_ptr).high = rowreq_ctx->data.ifHCInUcastPkts.high; (*ifHCInUcastPkts_val_ptr).low = rowreq_ctx->data.ifHCInUcastPkts.low; return MFD_SUCCESS;} /* ifHCInUcastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCInMulticastPkts * ifHCInMulticastPkts is subid 8 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.8 * Description:The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast address at this sub-layer. For a MAC layer protocol, this includes both Group and Functional addresses. This object is a 64-bit version of ifInMulticastPkts. 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 ifCounterDiscontinuityTime. * * 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 ifHCInMulticastPkts data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCInMulticastPkts_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 */intifHCInMulticastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCInMulticastPkts_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCInMulticastPkts_val_ptr); /* * TODO:231:o: |-> copy ifHCInMulticastPkts data. * get (* ifHCInMulticastPkts_val_ptr ).low and (* ifHCInMulticastPkts_val_ptr ).high from rowreq_ctx->data */ (*ifHCInMulticastPkts_val_ptr).high = rowreq_ctx->data.ifHCInMulticastPkts.high; (*ifHCInMulticastPkts_val_ptr).low = rowreq_ctx->data.ifHCInMulticastPkts.low; return MFD_SUCCESS;} /* ifHCInMulticastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCInBroadcastPkts * ifHCInBroadcastPkts is subid 9 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.9 * Description:The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a broadcast address at this sub-layer. This object is a 64-bit version of ifInBroadcastPkts. 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 ifCounterDiscontinuityTime. * * 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 ifHCInBroadcastPkts data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCInBroadcastPkts_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 */intifHCInBroadcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCInBroadcastPkts_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCInBroadcastPkts_val_ptr); /* * TODO:231:o: |-> copy ifHCInBroadcastPkts data. * get (* ifHCInBroadcastPkts_val_ptr ).low and (* ifHCInBroadcastPkts_val_ptr ).high from rowreq_ctx->data */ (*ifHCInBroadcastPkts_val_ptr).high = rowreq_ctx->data.ifHCInBroadcastPkts.high; (*ifHCInBroadcastPkts_val_ptr).low = rowreq_ctx->data.ifHCInBroadcastPkts.low; return MFD_SUCCESS;} /* ifHCInBroadcastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCOutOctets * ifHCOutOctets is subid 10 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.10 * Description:The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets. 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 ifCounterDiscontinuityTime. * * 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 ifHCOutOctets data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCOutOctets_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 */intifHCOutOctets_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCOutOctets_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCOutOctets_val_ptr); /* * TODO:231:o: |-> copy ifHCOutOctets data. * get (* ifHCOutOctets_val_ptr ).low and (* ifHCOutOctets_val_ptr ).high from rowreq_ctx->data */ (*ifHCOutOctets_val_ptr).high = rowreq_ctx->data.ifHCOutOctets.high; (*ifHCOutOctets_val_ptr).low = rowreq_ctx->data.ifHCOutOctets.low; return MFD_SUCCESS;} /* ifHCOutOctets_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCOutUcastPkts * ifHCOutUcastPkts is subid 11 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.11 * Description:The total number of packets that higher-level protocols requested be transmitted, and which were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. This object is a 64-bit version of ifOutUcastPkts. 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 ifCounterDiscontinuityTime. * * 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 ifHCOutUcastPkts data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCOutUcastPkts_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 */intifHCOutUcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCOutUcastPkts_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCOutUcastPkts_val_ptr); /* * TODO:231:o: |-> copy ifHCOutUcastPkts data. * get (* ifHCOutUcastPkts_val_ptr ).low and (* ifHCOutUcastPkts_val_ptr ).high from rowreq_ctx->data */ (*ifHCOutUcastPkts_val_ptr).high = rowreq_ctx->data.ifHCOutUcastPkts.high; (*ifHCOutUcastPkts_val_ptr).low = rowreq_ctx->data.ifHCOutUcastPkts.low; return MFD_SUCCESS;} /* ifHCOutUcastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCOutMulticastPkts * ifHCOutMulticastPkts is subid 12 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.12 * Description:The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a multicast address at this sub-layer, including those that were discarded or not sent. For a MAC layer protocol, this includes both Group and Functional addresses. This object is a 64-bit version of ifOutMulticastPkts. 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 ifCounterDiscontinuityTime. * * 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 ifHCOutMulticastPkts data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCOutMulticastPkts_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 */intifHCOutMulticastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCOutMulticastPkts_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCOutMulticastPkts_val_ptr); /* * TODO:231:o: |-> copy ifHCOutMulticastPkts data. * get (* ifHCOutMulticastPkts_val_ptr ).low and (* ifHCOutMulticastPkts_val_ptr ).high from rowreq_ctx->data */ (*ifHCOutMulticastPkts_val_ptr).high = rowreq_ctx->data.ifHCOutMulticastPkts.high; (*ifHCOutMulticastPkts_val_ptr).low = rowreq_ctx->data.ifHCOutMulticastPkts.low; return MFD_SUCCESS;} /* ifHCOutMulticastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifHCOutBroadcastPkts * ifHCOutBroadcastPkts is subid 13 of ifXEntry. * Its status is Current, and its access level is ReadOnly. * OID: .1.3.6.1.2.1.31.1.1.1.13 * Description:The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. This object is a 64-bit version of ifOutBroadcastPkts. 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 ifCounterDiscontinuityTime. * * 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 ifHCOutBroadcastPkts data. * * Set a value using the data context for the row. * * @param rowreq_ctx * Pointer to the row request context. * @param ifHCOutBroadcastPkts_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 */intifHCOutBroadcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx, U64 * ifHCOutBroadcastPkts_val_ptr){ /** we should have a non-NULL pointer */ netsnmp_assert(NULL != ifHCOutBroadcastPkts_val_ptr); /* * TODO:231:o: |-> copy ifHCOutBroadcastPkts data. * get (* ifHCOutBroadcastPkts_val_ptr ).low and (* ifHCOutBroadcastPkts_val_ptr ).high from rowreq_ctx->data */ (*ifHCOutBroadcastPkts_val_ptr).high = rowreq_ctx->data.ifHCOutBroadcastPkts.high; (*ifHCOutBroadcastPkts_val_ptr).low = rowreq_ctx->data.ifHCOutBroadcastPkts.low; return MFD_SUCCESS;} /* ifHCOutBroadcastPkts_get *//*--------------------------------------------------------------------- * IF-MIB::ifXEntry.ifLinkUpDownTrapEnable * ifLinkUpDownTrapEnable is subid 14 of ifXEntry. * Its status is Current, and its access level is ReadWrite. * OID: .1.3.6.1.2.1.31.1.1.1.14 * Description:Indicates whether linkUp/linkDown traps should be generated for this interface.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -