summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-11-29 21:11:08 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-11-29 21:11:08 +0000
commit9ba6c7b553a591494444e098862acfc939c83b7b (patch)
tree3996b4db9a742db69cf84ac3e8e8d97e08d02169 /usr.sbin/bgpd/rde.h
parentc7aa2cb78493cd2018b3edc94c4e3686f5f3c4bb (diff)
Add a flags field to struct prefix which will be used shortly. Remove the peer
pointer so that the size does not grow. Adding 4 bytes to struct prefix would result in 64MB more memory usage on one of my systems.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r--usr.sbin/bgpd/rde.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index bf5d1c92d9f..bc1c4ed13c8 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.73 2005/11/02 13:19:30 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.74 2005/11/29 21:11:07 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -232,8 +232,8 @@ struct prefix {
LIST_ENTRY(prefix) prefix_l, path_l;
struct rde_aspath *aspath;
struct pt_entry *prefix;
- struct rde_peer *peer;
time_t lastchange;
+ u_int32_t flags;
};
/* prototypes */