This file is indexed.

/usr/include/yuma/agt/agt_yuma_arp.h is in libyuma-dev 2.9-1+b2.

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
#ifndef _H_agt_yuma_arp
#define _H_agt_yuma_arp
/* 

 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
 * All Rights Reserved.
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 * Instrumentation Written by Igor Smolyar

*** Generated by yangdump 1.15.1351

    module yuma-arp
    revision 2011-08-25

    namespace http://netconfcentral.org/ns/yuma-arp
    organization Netconf Central

 */

#include <xmlstring.h>

#ifndef _H_dlq
#include "dlq.h"
#endif

#ifndef _H_ncxtypes
#include "ncxtypes.h"
#endif

#ifndef _H_status
#include "status.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

/********************************************************************
*								    *
*			 C O N S T A N T S			    *
*								    *
*********************************************************************/

#define y_yuma_arp_M_yuma_arp (const xmlChar *)"yuma-arp"
#define y_yuma_arp_R_yuma_arp (const xmlChar *)"2012-01-13"

#define y_yuma_arp_N_arp (const xmlChar *)"arp"
#define y_yuma_arp_N_arp_settings (const xmlChar *)"arp-settings"
#define y_yuma_arp_N_dynamic_arp (const xmlChar *)"dynamic-arp"
#define y_yuma_arp_N_dynamic_arps (const xmlChar *)"dynamic-arps"
#define y_yuma_arp_N_ip_address (const xmlChar *)"ip-address"
#define y_yuma_arp_N_mac_address (const xmlChar *)"mac-address"
#define y_yuma_arp_N_maximum_entries (const xmlChar *)"maximum-entries"
#define y_yuma_arp_N_static_arp (const xmlChar *)"static-arp"
#define y_yuma_arp_N_static_arps (const xmlChar *)"static-arps"
#define y_yuma_arp_N_validity_timeout (const xmlChar *)"validity-timeout"

#define MAC_DYNAMIC (const xmlChar *)"0x2"
#define ADDRESS_SIZE	32
#define HW_OCTETS 	6
#define ARP_MAX_ENTRIES	"cache_size"
#define ARP_TIMEOUT	"validity_timeout"
#define TRESH1		"/proc/sys/net/ipv4/neigh/default/gc_thresh1"
#define TRESH2		"/proc/sys/net/ipv4/neigh/default/gc_thresh2"
#define TRESH3		"/proc/sys/net/ipv4/neigh/default/gc_thresh3"
#define NEIGH_DIR	"/proc/sys/net/ipv4/neigh/"

enum { ARP_ADD, ARP_DEL };

/********************************************************************
*								    *
*			     T Y P E S				    *
*								    *
*********************************************************************/

/* container /arp/arp-settings */
typedef struct y_yuma_arp_T_arp_arp_settings_ {
    uint32 maximum_entries;
    uint32 validity_timeout;
} y_yuma_arp_T_arp_arp_settings;

/* list /arp/static-arps/static-arp */
typedef struct y_yuma_arp_T_arp_static_arps_static_arp_ {
    dlq_hdr_t qhdr;
    xmlChar *ip_address;
    xmlChar *mac_address;
} y_yuma_arp_T_arp_static_arps_static_arp;

/* container /arp/static-arps */
typedef struct y_yuma_arp_T_arp_static_arps_ {
    dlq_hdr_t static_arp;
} y_yuma_arp_T_arp_static_arps;

/* list /arp/dynamic-arps/dynamic-arp */
typedef struct y_yuma_arp_T_arp_dynamic_arps_dynamic_arp_ {
    dlq_hdr_t qhdr;
    xmlChar *ip_address;
    xmlChar *mac_address;
} y_yuma_arp_T_arp_dynamic_arps_dynamic_arp;

/* container /arp/dynamic-arps */
typedef struct y_yuma_arp_T_arp_dynamic_arps_ {
    dlq_hdr_t dynamic_arp;
} y_yuma_arp_T_arp_dynamic_arps;

/* container /arp */
typedef struct y_yuma_arp_T_arp_ {
    y_yuma_arp_T_arp_arp_settings arp_settings;
    y_yuma_arp_T_arp_static_arps static_arps;
    y_yuma_arp_T_arp_dynamic_arps dynamic_arps;
} y_yuma_arp_T_arp;


/********************************************************************
*								    *
*			F U N C T I O N S			    *
*								    *
*********************************************************************/

/* yuma-arp module init 1 */
extern status_t
    y_yuma_arp_init (
        const xmlChar *modname,
        const xmlChar *revision);

/* yuma-arp module init 2 */
extern status_t
    y_yuma_arp_init2 (void);

/* yuma-arp module cleanup */
extern void
    y_yuma_arp_cleanup (void);

#ifdef __cplusplus
}  /* end extern 'C' */
#endif

#endif