/usr/share/snmp/mib2c-data/generic-table-constants.m2c is in libsnmp-base 5.7.2~dfsg-8.1ubuntu3.
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 | ############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id$
########################################################################
@if $m2c_create_fewer_files != 1@
@ foreach $table table@
@ include m2c_setup_table.m2i@
@ run generic-table-oids.m2c@
@ run generic-table-enums.m2c@
@ end@ # table
########################################################################
@else@
@ eval $hack = "Id"@
@ eval $m2c_save = "$name"@
@ eval $name = "${m2c_save}_constants"@
@ open ${name}.h@
/*
* Note: this file originally auto-generated by mib2c using
* $Id$
*
* $$hack:$
*/
########################################################################
@ if $m2c_mark_boundary == 1@
/** START header generated by $RCSfile$ $Revision$ */
@ end@
########################################################################
@ include generic-header-top.m2i@
@ eval $name = "$m2c_save"@
@ foreach $table table@
@ include m2c_setup_table.m2i@
@ include generic-table-oids.m2c@
@ include generic-table-enums.m2c@
@ end@ # table
@ eval $m2c_save = "$name"@
@ eval $name = "${m2c_save}_oids"@
@ include generic-header-bottom.m2i@
@ eval $name = "$m2c_save"@
########################################################################
@ if $m2c_mark_boundary == 1@
/** END header generated by $RCSfile$ $Revision$ */
@ end@
@end@ // m2c_create_fewer_files
|