This file is indexed.

/usr/share/snmp/mib2c-data/details-node.m2i is in libsnmp-base 5.4.3~dfsg-2.4ubuntu1.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
#############################################################  -*- c -*-
## Generic include for columns. Do not use directly.
##
## $Id: details-node.m2i 13790 2005-12-02 18:12:52Z rstory $
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision: 13790 $ */
@end@
########################################################################
/*---------------------------------------------------------------------
 * $node.module::$node.parent.$node
 * $node is subid $node.subid of $node.parent.
 * Its status is $node.status, and its access level is $node.access.
 * OID: $node.objectID
 * Description:
$node.description
 *
@if $m2c_node_detail == 1@
 * node          -- name                 $node
 * node.parent   -- label of the parent  $node.parent
 * node.objectID -- dotted full OID      $node.objectID
 * node.commaoid -- comma separated OID  $node.commaoid
 * node.subid    -- last oid component   $node.subid
 * node.oidlength-- length of the oid    $node.oidlength
 * node.syntax   -- node's syntax        $node.syntax
 * node.perltype -- node's perl type     $node.perltype
 * node.type     -- node's ASN_XXX type  $node.type
 * node.decl     -- C data type          $m2c_decl ($node.decl)
 * node.settable -- 1 if it's writable   $node.settable
 * node.noaccess -- 1 if not-accessible  $node.noaccess
 * node.access   -- node's access type   $node.access
 * node.status   -- node's status        $node.status
 * node.isscalar -- returns 1 if scalar  $node.isscalar
 * node.iscolumn -- returns 1 if column  $node.iscolumn
 * node.enums    --                      $node.enums
 *
@end@
 * Attributes:
 *   accessible $node.accessible     isscalar $node.isscalar     enums  $node.enums      hasdefval $node.hasdefval
 *   readable   $node.readable     iscolumn $node.iscolumn     ranges $node.ranges      hashint   $node.hashint
 *   settable   $node.settable
@if $node.hasdefval == 1@
 *   defval: $node.defval
@end@
@if $node.hashint == 1@
 *   hint: $node.hint
@end@
 *
@if $node.enums == 1@
@    eval $m2c_evals = ""@
@    eval $m2c_first = 1@
@    foreach $e $v enum@
@        if $m2c_first == 1@
@            eval $m2c_first = 0@
@        else@
@            eval $m2c_evals = "$m2c_evals,"@
@        end@
@        eval $m2c_evals = "$m2c_evals $e($v)"@
@    end@
 * Enum range: $node.enumrange. Values: $m2c_evals
@elsif $node.ranges == 1@
@    eval $m2c_range_max = 0@
@    eval $m2c_evals = ""@
@    eval $m2c_first = 1@
@    foreach $a $b range $node@
@        if $m2c_first == 1@
@            eval $m2c_first = 0@
@        else@
@            eval $m2c_evals = "$m2c_evals,"@
@        end@
@        if $a == $b@
@            eval $m2c_evals = "$m2c_evals $a"@
@        else@
@            eval $m2c_evals = "$m2c_evals $a - $b"@
@        end@
@        eval $m2c_range_max = max($m2c_range_max,$b)@
@    end@
 * Ranges: $m2c_evals;
@end@ #ranges
 *
 * Its syntax is $node.syntax (based on perltype $node.perltype)
 * The net-snmp type is $node.type. The C type decl is $node.decl ($m2c_decl)
@if $node.needlength == 1@
@   if $node.ranges == 1@
 * This data type requires a length.  (Max $m2c_range_max)
@   else@
 * This data type requires a length.
@   end@
@end@
@if $node.noaccess@
 *
 *
 *
 * NOTE: NODE $node IS NOT ACCESSIBLE
 *
 *
@end@
 */
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision: 13790 $ */
@end@