| Server IP : 85.214.239.14 / Your IP : 216.73.216.189 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/proc/2/cwd/proc/3/task/3/cwd/usr/share/snmp/mib2c-data/ |
Upload File : |
############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by generic-value-map.m2i */
@end@
########################################################################
## }
@if $m2c_node_skip_mapping == 1@
/** no mapping */
@ include generic-ctx-get.m2i@
@else@ // mapping
/*
* TODO:246:r: |-> Define $node mapping.
* Map values between raw/native values and MIB values
*
@ if $m2c_node_needlength == 1@
* if(MFD_SUCCESS !=
* ${node}_map(&$m2c_ctx_lh, &$m2c_ctx_lhs,
* $m2c_ctx_rh, $m2c_ctx_rhs, $m2c_node_realloc)) {
* return MFD_ERROR;
* }
*/
@ include generic-ctx-get.m2i@
##
@ elsif ($node.enums == 1) && ("$node.perltype" eq "INTEGER")@
##
* enums usually need mapping.
*/
if(MFD_SUCCESS !=
${node}_map(&${m2c_ctx_lh}, ${m2c_ctx_rh} )) {
return MFD_ERROR;
}
@ else@ // enums
* Integer based value can usually just do a direct copy.
*/
@ include generic-ctx-get.m2i@
@ end@
@end@ // mapping
##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by generic-value-map.m2i */
@end@