head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.54 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.52 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.50 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.48 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.46 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.2 date 99.06.04.23.46.57; author rvb; state dead; branches; next 1.1; 1.1 date 99.04.28.23.57.04; author rvb; state Exp; branches; next ; desc @@ 1.2 log @Sync with 5.2.4 @ text @$NetBSD: patch-dj,v 1.1 1999/04/28 23:57:04 rvb Exp $ diff -u /usr/pkgsrc/net/coda-5.2.2/coda-src/venus/venusrecov.h ./coda-src/venus/venusrecov.h --- /usr/pkgsrc/net/coda-5.2.2/coda-src/venus/venusrecov.h Thu Mar 11 23:17:42 1999 +++ ./coda-src/venus/venusrecov.h Wed Apr 28 13:01:27 1999 @@@@ -92,7 +92,7 @@@@ const int UNSET_MAXTS = -1; const int RecovMagicNumber = 0x8675309; -const int RecovVersionNumber = 28; /* Update this when format changes. */ +const int RecovVersionNumber = 29; /* Update this when format changes. */ /* ***** Types ***** */ @@@@ -119,6 +119,17 @@@@ char *recov_HeapAddr; /* Base of recoverable heap */ unsigned int recov_HeapLength; /* Length of recoverable heap (in bytes) */ + /* We need to have a identifier that is guaranteed to be identical across + * crashes and reboots, but unique with respect to all other venii (that + * do stores to the same server/volume), _and_ venus reinitializations. So + * we cannot use a timestamp, or the local ip/ether-address. This calls + * for a UUID, but using that will require modifications to the RPC2 + * protocol. So for now a random integer is used. */ +#define VenusGenID (*(unsigned int*)&rvg->recov_UUID) + + /* At some point we should start using a real 128-bit UUID, and this space + * is reserved for that purpose */ + unsigned char recov_UUID[16]; int validate(); void print(); @ 1.1 log @stabilize bandwidth calculation @ text @d1 1 a1 1 $NetBSD$ @