diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 21:30:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 21:30:21 +0000 |
commit | d3021c5b77e8fe6b89b10e0d5b3c14d80d95ba06 (patch) | |
tree | d71f878396d1c7c2866485462c0cfe79b70e95c5 /usr.sbin/bgpd/rde_rib.c | |
parent | 9b93c3e48f160e98431c3f32dcd00d5b12121fde (diff) |
move struct nexthop definition to rde.h
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index b7115a2c6e0..bdb690159b1 100644 --- a/usr.sbin/bgpd/rde_rib.c +++ b/usr.sbin/bgpd/rde_rib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_rib.c,v 1.9 2003/12/26 18:07:33 henning Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.10 2003/12/26 21:30:20 henning Exp $ */ /* * Copyright (c) 2003 Claudio Jeker <claudio@openbsd.org> @@ -899,18 +899,6 @@ static void nexthop_free(struct nexthop *); * may be passed to the external neighbor if the neighbor and the exit nexthop * reside in the same subnet -- directly connected. */ -struct nexthop { - LIST_ENTRY(nexthop) nexthop_l; - enum nexthop_state state; -#if 0 - u_int32_t costs; -#endif - struct aspath_head path_h; - struct in_addr exit_nexthop; - struct in_addr true_nexthop; - u_int8_t connected; -}; - struct nexthop_table { LIST_HEAD(, nexthop) *nexthop_hashtbl; u_long nexthop_hashmask; |