From owner-cvs-all Sat Dec 21 11:30:51 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24EF37B401; Sat, 21 Dec 2002 11:30:49 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 695A343ED8; Sat, 21 Dec 2002 11:30:49 -0800 (PST) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id gBLJUm9i005112 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 21 Dec 2002 11:30:49 -0800 (PST)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <129901c2a927$7767df70$52557f42@errno.com> From: "Sam Leffler" To: "Nate Lawson" Cc: , References: Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c Date: Sat, 21 Dec 2002 11:30:48 -0800 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The version in sys/time.h is #ifndef _KERNEL and marked as specifically for compatibility for netbsd. Rather than change the include file and pollute a namespace I added a private definition. If it's ok to do add this pollution then sure, just remove the private definition. Sam ----- Original Message ----- From: "Nate Lawson" To: "Sam Leffler" Cc: ; Sent: Saturday, December 21, 2002 11:22 AM Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c > On Fri, 20 Dec 2002, Sam Leffler wrote: > > Modified files: > > sys/sys time.h > > sys/kern kern_time.c > > Log: > > add generic rate limiting support from netbsd; ratelimit is purely time based, > > ppsratecheck is for controlling packets/second > > > > Obtained from: netbsd > > > > Revision Changes Path > > 1.90 +88 -0 src/sys/kern/kern_time.c > > 1.59 +2 -0 src/sys/sys/time.h > > There's already a timersub in sys/time.h that is identical to this one. > > -Nate > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message