summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-05-27 17:52:12 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-05-27 17:52:12 +0000
commitf8a7bd2f4960c3af166fe20b59da361bd1084394 (patch)
tree0d9671db1f88942c742f5dd9bd8643865e2669d2 /usr.sbin/bgpd/bgpd.h
parent5d05f9ab43992c83f5ea86e6f65ba7b0d82ceeac (diff)
kroute6 support, at least partially. Get it in so that Henning can clean it
up more. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 5c01b0c142c..4c4ecccc9ca 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.165 2005/04/28 13:54:45 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.166 2005/05/27 17:52:11 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -276,6 +276,8 @@ enum imsg_type {
IMSG_MRT_CLOSE,
IMSG_KROUTE_CHANGE,
IMSG_KROUTE_DELETE,
+ IMSG_KROUTE6_CHANGE,
+ IMSG_KROUTE6_DELETE,
IMSG_NEXTHOP_ADD,
IMSG_NEXTHOP_REMOVE,
IMSG_NEXTHOP_UPDATE,
@@ -296,6 +298,7 @@ enum imsg_type {
IMSG_CTL_NEIGHBOR_DOWN,
IMSG_CTL_NEIGHBOR_CLEAR,
IMSG_CTL_KROUTE,
+ IMSG_CTL_KROUTE6,
IMSG_CTL_KROUTE_ADDR,
IMSG_CTL_SHOW_NEXTHOP,
IMSG_CTL_SHOW_INTERFACE,
@@ -594,7 +597,7 @@ struct rrefresh {
/* bgpd.c */
void send_nexthop_update(struct kroute_nexthop *);
void send_imsg_session(int, pid_t, void *, u_int16_t);
-int bgpd_redistribute(int, struct kroute *);
+int bgpd_redistribute(int, struct kroute *, struct kroute6 *);
/* buffer.c */
struct buf *buf_open(size_t);
@@ -622,6 +625,7 @@ void fatal(const char *);
void fatalx(const char *);
void fatal_ensure(const char *, int, const char *);
const char *log_addr(const struct bgpd_addr *);
+const char *log_in6addr(const struct in6_addr *);
/* parse.y */
int cmdline_symset(char *);
@@ -647,6 +651,8 @@ int imsg_get_fd(struct imsgbuf *);
int kr_init(int);
int kr_change(struct kroute *);
int kr_delete(struct kroute *);
+int kr6_change(struct kroute6 *);
+int kr6_delete(struct kroute6 *);
void kr_shutdown(void);
void kr_fib_couple(void);
void kr_fib_decouple(void);