summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-02-24 16:28:44 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-02-24 16:28:44 +0000
commit0dc2242ac2299c17740d3b2295bb404c1a22478b (patch)
tree4d127622d8ba4d73d9ab053d4ef46e35f11fa494 /usr.sbin/ospfd/ospfd.h
parenta93a28e3a32f3a451c5dc8070525da257893f12a (diff)
Remove the kroute nexthop specific code as there is no need for this in
ospfd. While there clean up some other no longer needed stuff. OK norby@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.h')
-rw-r--r--usr.sbin/ospfd/ospfd.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/usr.sbin/ospfd/ospfd.h b/usr.sbin/ospfd/ospfd.h
index 6f6837dc028..fafaf3e8e2f 100644
--- a/usr.sbin/ospfd/ospfd.h
+++ b/usr.sbin/ospfd/ospfd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.h,v 1.9 2005/02/16 15:23:33 norby Exp $ */
+/* $OpenBSD: ospfd.h,v 1.10 2005/02/24 16:28:43 claudio Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -44,12 +44,9 @@
#define F_OSPFD_INSERTED 0x0001
#define F_KERNEL 0x0002
#define F_CONNECTED 0x0004
-#define F_NEXTHOP 0x0008
#define F_DOWN 0x0010
#define F_STATIC 0x0020
#define F_LONGER 0x0040
-#define F_REJECT 0x0080
-#define F_BLACKHOLE 0x0100
/* buffer */
struct buf {
@@ -98,9 +95,6 @@ enum imsg_type {
IMSG_CTL_FIB_DECOUPLE,
IMSG_CTL_AREA,
IMSG_CTL_END,
- IMSG_NEXTHOP_ADD,
- IMSG_NEXTHOP_REMOVE,
- IMSG_NEXTHOP_UPDATE,
IMSG_IFINFO,
IMSG_NEIGHBOR_UP,
IMSG_NEIGHBOR_DOWN,
@@ -294,14 +288,6 @@ struct kroute {
u_short ifindex;
};
-struct kroute_nexthop {
- struct in_addr nexthop;
- u_int8_t valid;
- u_int8_t connected;
- struct in_addr gateway;
- struct kroute kr;
-};
-
struct kif {
u_short ifindex;
int flags;
@@ -418,9 +404,5 @@ int kr_nexthop_add(struct in_addr);
void kr_nexthop_delete(struct in_addr);
void kr_show_route(struct imsg *);
void kr_ifinfo(char *);
-void send_nexthop_update(struct kroute_nexthop *);
-
-/* ospfd.c */
-void send_nexthop_update(struct kroute_nexthop *);
#endif /* _OSPFD_H_ */