~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/mibII/var_route.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Template MIB group interface - var_route.h
 
3
 *
 
4
 */
 
5
#ifndef _MIBGROUP_VAR_ROUTE_H
 
6
#define _MIBGROUP_VAR_ROUTE_H
 
7
 
 
8
config_require(mibII/ip util_funcs)
 
9
    config_arch_require(solaris2, kernel_sunos5)
 
10
 
 
11
     void            init_var_route(void);
 
12
#if defined(RTENTRY_4_4) && !defined(hpux11)
 
13
     struct radix_node;
 
14
     void            load_rtentries(struct radix_node *);
 
15
#endif
 
16
#if defined(freebsd2) || defined(netbsd1) || defined(bsdi2) || defined(openbsd2)
 
17
     struct sockaddr_in *klgetsa(struct sockaddr_in *);
 
18
#endif
 
19
 
 
20
     extern FindVarMethod var_ipRouteEntry;
 
21
 
 
22
#if !defined(hpux11) && !defined(solaris2)
 
23
     RTENTRY **netsnmp_get_routes(size_t *out_numroutes);
 
24
#endif
 
25
 
 
26
#endif                          /* _MIBGROUP_VAR_ROUTE_H */