diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-27 01:30:01 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-27 01:30:01 +0000 |
commit | 3c9445f6671a8183e4518dd7a8594d6be2886c72 (patch) | |
tree | 0c7a3bf1045313291013af90275bbdb4eb415ad9 /usr.sbin/bgpd/bgpd.h | |
parent | eca79f2ae4a115fa1d76a6126888dffea99102ef (diff) |
provide kroute_fib_couple and _decouple, pumping all bgp routes from the
internal view to the kernel routing table respectively removing them all from
the kernel routing table
kroute_shutdown is now a simple wrapper to kroute_fib_decouple
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index fe69ea7b552..56ee2801280 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.41 2003/12/27 00:53:51 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.42 2003/12/27 01:30:00 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -319,6 +319,8 @@ int kroute_init(int); int kroute_change(int, struct kroute *); int kroute_delete(int, struct kroute *); void kroute_shutdown(int); +void kroute_fib_couple(int); +void kroute_fib_decouple(int); int kroute_dispatch_msg(int); int kroute_nexthop_add(in_addr_t); void kroute_nexthop_delete(in_addr_t); |