This file is indexed.

/usr/include/net-snmp/system/dynix.h is in libsnmp-dev 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
 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
/*
 * dynix.h
 * 
 * Date Created: Sat Jan 12 10:50:50 BST 2002
 * Author:       Patrick Hess  <phess@hds.com>
 */

#include <net-snmp/system/generic.h>

/*
 * from s/sysv.h 
 */
#define SYSV 1

/*
 * to make these changes work... 
 */
/*
 * maybe I should have used _SEQUENT_ in all this code..  dunno 
 */
#define dynix dynix

#undef TOTAL_MEMORY_SYMBOL
#undef MBSTAT_SYMBOL

/*
 * Not enough alcohool in bloodstream [fmc] 
 */
#ifdef NPROC_SYMBOL
#undef NPROC_SYMBOL
#endif
/*
 * there might be a way to get NPROC...  this might work..  might not 
 */
/*
 * #define NPROC_SYMBOL "procNPROC" 
 */
#ifdef PROC_SYMBOL
#undef PROC_SYMBOL
#endif

/*
 * These definitions date from early BSD-based headers,
 *   and are included in modern NetBSD and OpenBSD distributions.
 * As such, the relevant copyright probably resides with UCB.
 */
#ifndef TCPTV_MIN
#define TCPTV_MIN       (1*PR_SLOWHZ)   /* minimum allowable value */
#endif
#ifndef TCPTV_REXMTMAX
#define TCPTV_REXMTMAX  (64*PR_SLOWHZ)  /* max allowable REXMT value */
#endif

/*
 * some of the system headers wanna include asm code...  let's not 
 */
#define __NO_ASM_MACRO 1

/*
 * Dynix doesn't seem to set this.  Guess I'll set it here 
 */
#ifndef L_SET
#define L_SET   SEEK_SET
#endif


/*
 * configure fails to detect these properly 
 */
/*
 * lives in libnsl.so 
 */
#define HAVE_GETHOSTNAME 1

/*
 * outta place...  lives in /usr/include/sys 
 */
#define  HAVE_NET_IF_DL_H 1

/*
 * got this library...  dunno why configure didn't find it 
 */
#define HAVE_LIBNSL 1

/*
 * My Dynix box has nearly 400 filesystems and well over 50 disks 
 */
/*
 * #define MAXDISKS 500  
 */

/*
 * lives in libsocket.so 
 */
#define HAVE_GETHOSTBYNAME 1

/*
 * Might as well include this here, since a significant
 * number of files seem to need it.  DTS 
 */
#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif

/* define the extra mib modules that are supported */
#define NETSNMP_INCLUDE_HOST_RESOURCES