This file is indexed.

/usr/share/snmp/mib2c-data/generic-table-enums.m2c 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
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id: generic-table-enums.m2c 12526 2005-07-15 22:41:16Z rstory $
########################################################################
@if $m2c_create_fewer_files != 1@
@eval $hack = "Id"@
@eval $m2c_save = "$name"@
@eval $name = "${name}_enums"@
@open ${name}.h@
/*
 * Note: this file originally auto-generated by mib2c using
 *  $Id: generic-table-enums.m2c 12526 2005-07-15 22:41:16Z rstory $
 *
 * $$hack:$
 */
@include generic-header-top.m2i@
@eval $name = "$m2c_save"@
@end@ // m2c_create_fewer_files
########################################################################
@if $m2c_mark_boundary == 1@
/** START header generated by $RCSfile$ $Revision: 12526 $ */
@end@
##
 /*
 * NOTES on enums
 * ==============
 *
 * Value Mapping
 * -------------
 * If the values for your data type don't exactly match the
 * possible values defined by the mib, you should map them
 * below. For example, a boolean flag (1/0) is usually represented
 * as a TruthValue in a MIB, which maps to the values (1/2).
 *
 */
##
##
/*************************************************************************
 *************************************************************************
 *
 * enum definitions for table $context
 *
 *************************************************************************
 *************************************************************************/

@    foreach $node column@
@        include m2c_setup_node.m2i@
@        if $node.enums == 1@
@            include details-enums.m2i@
@        end@
@    end@ # column

@if $m2c_create_fewer_files != 1@
@eval $m2c_save = "$name"@
@eval $name = "${name}_enums"@
@include generic-header-bottom.m2i@
@eval $name = "$m2c_save"@
@end@
########################################################################
@if $m2c_mark_boundary == 1@
/** END header generated by $RCSfile$ $Revision: 12526 $ */
@end@