summaryrefslogtreecommitdiffstats
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-08-24 15:32:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-09 18:15:13 +0200
commit020a8459245c9b1ed707cf36ce3b19c286105748 (patch)
tree4d65d32be744e4b075f249d24b8ced06333f8afa /zebra/rt.h
parentbgpd: Allow connections with no v4|6 addr's in some conditions (diff)
downloadfrr-020a8459245c9b1ed707cf36ce3b19c286105748.tar.xz
frr-020a8459245c9b1ed707cf36ce3b19c286105748.zip
zebra: remove unused code from zebra netlink
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 4515d56a3..46e71fa46 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -30,16 +30,13 @@
extern int kernel_add_ipv4 (struct prefix *, struct rib *);
extern int kernel_update_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);
+
extern int kernel_address_add_ipv4 (struct interface *, struct connected *);
extern int kernel_address_delete_ipv4 (struct interface *, struct connected *);
extern int kernel_neigh_update (int, int, uint32_t, char *, int);
-#ifdef HAVE_IPV6
extern int kernel_add_ipv6 (struct prefix *, struct rib *);
extern int kernel_update_ipv6 (struct prefix *, struct rib *);
extern int kernel_delete_ipv6 (struct prefix *, struct rib *);
-#endif /* HAVE_IPV6 */
-
#endif /* _ZEBRA_RT_H */