This file is indexed.

/usr/include/infiniband/opensm/osm_errors.h is in libopensm-dev 3.3.20-1.

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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/*
 * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
 *
 * This software is available to you under a choice of one of two
 * licenses.  You may choose to be licensed under the terms of the GNU
 * General Public License (GPL) Version 2, available from the file
 * COPYING in the main directory of this source tree, or the
 * OpenIB.org BSD license below:
 *
 *     Redistribution and use in source and binary forms, with or
 *     without modification, are permitted provided that the following
 *     conditions are met:
 *
 *      - Redistributions of source code must retain the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer.
 *
 *      - Redistributions in binary form must reproduce the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer in the documentation and/or other materials
 *        provided with the distribution.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 */

/*
 * Abstract:
 * 	Declaration of error code ranges for the various OpenSM modules.
 */

#ifndef _OSM_ERRORS_H_
#define _OSM_ERRORS_H_

/*
	Generic Request Controller
	0100 - 01FF

	Node Info Receive Controller
	0200 - 02FF

	Generic Requester
	0300 - 03FF

	Node Info Receiver
	0400 - 04FF

	Node Description Receiver
	0500 - 05FF

	Node Description Receive Controller
	0600 - 06FF

	Port Info Receiver
	0700 - 07FF

	Port Info Receive Controller
	0800 - 08FF

	Mad Pool
	0900 - 09FF

	SM
	1000 - 10FF

	SM MAD Controller
	1100 - 11FF

	VL15 Interface
	1200 - 12FF

	Switch Info Receive Controller
	1300 - 13FF

	Switch Info Receiver
	1400 - 14FF

	State Manager
	1500 - 15FF

	State Manager Controller
	1600 - 16FF

	LID Manager
	1700 - 17FF

	Link Manager
	1800 - 18FF

	Drop Manager
	1900 - 19FF

	Linear Forwarding Receive Controller
	2000 - 20FF

	Linear Forwarding Receiver
	2100 - 21FF

	Vendor Specific
	2200 - 22FF

	SMInfo Receive Controller
	2300 - 23FF

	SMInfo Info Receiver
	2400 - 24FF

	Generic Responder
	2500 - 25FF

	Linear Forwarding Receive Controller
	2600 - 26FF

	Linear Forwarding Receiver
	2700 - 27FF

	SA MAD controller
	2800 - 28FF

	Node Record Controller
	2900 - 29FF

	PortInfo Record Controller
	3000 - 30FF

	Link Record Controller
	3100 - 31FF

	Path Record Controller
	3200 - 32FF

	SMInfo Record Controller
	3300 - 33FF

	Multicast Record Controller
	3400 - 34FF

	Unicast Manager
	3500 - 35FF

	Multicast Manager
	3600 - 36FF

	SA Response
	3700 - 37FF

	Link Record Receiver
	3800 - 38FF

	Multicast Forwarding Receive Controller
	3900 - 39FF

	Multicast Forwarding Receiver
	4000 - 40FF

	SMInfo Record Receiver
	4100 - 41FF

	PortInfo Record Receiver
	4200 - 42FF

	Service Record Receiver
	4300 - 43FF

*/

#endif				/* _OSM_ERRORS_H_ */