Date: Thu, 5 Sep 2002 15:55:18 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: budsz <budsz@kumprang.or.id> Cc: FBSDQ <freebsd-questions@FreeBSD.ORG> Subject: Re: Decimals or fractions in dummynet Message-ID: <20020905205518.GF59085@dan.emsphone.com> In-Reply-To: <20020905185250.GA72051@kumprang.kumprang.or.id> References: <20020904154736.GA67509@kumprang.kumprang.or.id> <009701c2545a$9da94060$0200000a@perimeter.co.za> <20020905172703.GA71145@kumprang.kumprang.or.id> <20020905174957.GE59085@dan.emsphone.com> <20020905185250.GA72051@kumprang.kumprang.or.id>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 06), budsz said: > On Thu, Sep 05, 2002 at 12:49:57PM -0500, Dan Nelson wrote: > >> Opss..I give wrong example :), I mean without "K": > >> > >> ipfw pipe 1 config bw 3.432bit/s > >> ipfw pipe 2 config bw 3.432bit/s > > > > Do you realize how slow 3 bits/second is? That's one character > > every 2.6 seconds. Are you simulating one of those "TCP/IP over > > carpet static" networks? :) > > Actually, the '3.432' figures are just an example. I want to know if > it's ok to write "Decimals or fractions" format in dummynet. Is my > example valid?, because I didn't find it in any manual. The code uses strtoul to parse the number, so fractions are not processed. In general, you can assume that numeric arguments to unix commands are integer unless the documentation says otherwise. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020905205518.GF59085>