Received: by mail.netbsd.org (Postfix, from userid 605) id 3F26714A4E9; Fri, 5 Jun 2015 14:09:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D438F14A4E8 for ; Fri, 5 Jun 2015 14:09:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6FM-sbJT41oP for ; Fri, 5 Jun 2015 14:09:21 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 287AD14A4DE for ; Fri, 5 Jun 2015 14:09:21 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 25EAE98; Fri, 5 Jun 2015 14:09:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 5 Jun 2015 14:09:21 +0000 From: "Roy Marples" Subject: CVS commit: src/usr.sbin/rtadvd To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150605140921.25EAE98@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roy Marples" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: roy Date: Fri Jun 5 14:09:21 UTC 2015 Modified Files: src/usr.sbin/rtadvd: config.c dump.c rrenum.c rtadvd.c rtadvd.h timer.c timer.h Log Message: Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic clock rather than the wall clock. Use timespec rather than timeval structs to make this transition easier. Kill custom timeval comparison functions in favor of timespeccmp(3). To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/rtadvd/config.c cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/rtadvd/dump.c \ src/usr.sbin/rtadvd/timer.c cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/rtadvd/rrenum.c cvs rdiff -u -r1.46 -r1.47 src/usr.sbin/rtadvd/rtadvd.c cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/rtadvd/rtadvd.h cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/rtadvd/timer.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.