summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorpaul <paul>2005-11-24 15:15:17 +0000
committerpaul <paul>2005-11-24 15:15:17 +0000
commitec1a428343cad343969d569c56acbe6b02ab8f4f (patch)
treeed693dcea011eccbef34113da3e340ec1290e7b3 /zebra/rt.h
parentb6026073584b855d47a8e2033d2aa3413a3394e9 (diff)
[zebra] Fix mistake in previous commit and further compile warnings/errors.
2005-11-24 Paul Jakma <paul.jakma@sun.com> * kernel_socket.h: New header for functions exported to sysctl methods. * kernel_socket.c: include previous. Remove static qualifier from couple of functions which are used by sysctl methods, incorrectly added in previous commit. Add a workaround for a bogus gcc warning to the RTA_ macros. * Makefile.am: Add kernel_socket.h to noinst_HEADERS * if_sysctl.c: include rt.h and kernel_socket.h and remove redundant prototypes. * rtread_sysctl.c: ditto. (route_read) fix mismatch of return values. * {rt,zserv,rib}.h: Include lib headers depended on.
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index e902b210..82747d3d 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -23,6 +23,9 @@
#ifndef _ZEBRA_RT_H
#define _ZEBRA_RT_H
+#include "prefix.h"
+#include "if.h"
+
extern int kernel_add_ipv4 (struct prefix *, struct rib *);
extern int kernel_delete_ipv4 (struct prefix *, struct rib *);
extern int kernel_add_route (struct prefix_ipv4 *, struct in_addr *, int, int);