diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-02-26 16:16:42 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-02-26 16:16:42 +0000 |
commit | 892286cd9843a11eba4c3219b764664e7129d166 (patch) | |
tree | d0026e2b88662dc74e6115e2357643330d0f351c /usr.sbin/bgpd/rde_rib.c | |
parent | e913099e805d9aa49ce0bdf297f4c0cf05465549 (diff) |
show rib infrastructure. At least full dumps and per as dumps. Per prefix
dump need some more work. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 31268f03876..cbaac73598f 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.35 2004/02/19 23:07:00 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.36 2004/02/26 16:16:41 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -77,10 +77,7 @@ static void path_unlink(struct rde_aspath *); static struct rde_aspath *path_alloc(void); static void path_free(struct rde_aspath *); -struct path_table { - struct aspath_head *path_hashtbl; - u_int32_t path_hashmask; -} pathtable; +struct path_table pathtable; #define PATH_HASH(x) \ &pathtable.path_hashtbl[aspath_hash((x)) & pathtable.path_hashmask] |