Server IP : 85.214.239.14 / Your IP : 3.143.17.175 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/3/root/proc/3/root/proc/2/root/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-table-indexes.m2i */ @end@ ######################################################################## ## /* * TODO:120:r: |-> Review $context mib index. * This structure is used to represent the index for $context. */ @eval $m2c_gi_others = (count_indexes($context) - 1)@ @eval $m2c_gi_len = 0@ @eval $m2c_gi_warn = 0@ typedef struct ${context}_mib_index_s { @foreach $node index@ @ include m2c_setup_node.m2i@ ##@ include details-node.m2i@ /* * $m2c_node_summary */ @ if $m2c_node_needlength == 1@ @ eval $m2c_gi_warn = 1@ @ eval $m2c_gi_maxlen = (128 - $node.oidlength - $m2c_gi_others - 1)@ @ if $m2c_node_maxlen > $m2c_gi_maxlen@ @ eval $m2c_node_maxlen = $m2c_gi_maxlen@ /** 128 - $m2c_gi_others(other indexes) - oid length($node.oidlength) = $m2c_node_maxlen */ @ end@ @ eval $m2c_gi_len = $m2c_gi_len + $m2c_node_maxlen + 1@ @ elsif "$node.type" eq "ASN_IPADDRESS"@ @ eval $m2c_gi_len = $m2c_gi_len + 4@ @ else@ @ eval $m2c_gi_len = $m2c_gi_len + 1@ @ end@ # needlength @ include node-storage.m2i@ @end@ # foreach } ${context}_mib_index; /* * TODO:121:r: | |-> Review $context max index length. * If you KNOW that your indexes will never exceed a certain * length, update this macro to that length. @ if $m2c_gi_warn == 1@ * * BE VERY CAREFUL TO TAKE INTO ACCOUNT THE MAXIMUM * POSSIBLE LENGHT FOR EVERY VARIABLE LENGTH INDEX! * Guessing 128 - col/entry(2) - oid len($context.oidlength) @ if $m2c_gi_len > 126@ @ eval $m2c_gi_len = 126 - $context.oidlength@ @ end@ ##@ else@ ##@ eval $m2c_gi_len = count_indexes($context)@ @ end@ */ #define MAX_${context}_IDX_LEN $m2c_gi_len ## ######################################################################## @if $m2c_mark_boundary == 1@ /** END code generated by generic-table-indexes.m2i */ @end@