From owner-freebsd-stable Tue Jul 6 13:44:12 1999 Delivered-To: freebsd-stable@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (oberon.ntu-kpi.kiev.ua [195.178.136.20]) by hub.freebsd.org (Postfix) with ESMTP id 628C514EE3 for ; Tue, 6 Jul 1999 13:44:06 -0700 (PDT) (envelope-from jar@ptf.ntu-kpi.kiev.ua) Received: from ally.ptf.ntu-kpi.kiev.ua (jar@eth0.ptf.ntu-kpi.kiev.ua [10.0.1.12]) by relay1.ntu-kpi.kiev.ua (8.NYB/8.NYB) with ESMTP id XAA15903 for ; Tue, 6 Jul 1999 23:42:33 +0300 (EEST) (envelope-from jar@ptf.ntu-kpi.kiev.ua) Received: (from jar@localhost) by ally.ptf.ntu-kpi.kiev.ua (8.9.3/PTF-1.0exp) id XAA83619; Tue, 6 Jul 1999 23:42:20 +0300 (EEST) (envelope-from jar) Date: Tue, 6 Jul 1999 23:42:20 +0300 (EEST) From: Yaroslav Halchinsky Message-Id: <199907062042.XAA83619@ally.ptf.ntu-kpi.kiev.ua> To: freebsd-stable@freebsd.org Subject: Re: ipfw In-Reply-To: Organization: Kiev Institute of Physics & Technologies User-Agent: tin/pre-1.4-19990624 ("Dawnrazor") (UNIX) (FreeBSD/3.2-STABLE (i386)) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hristo Grigorov wrote: > Greetings, > I set 'ipfw pipe 11 config bw 3Mbit/sec' > Sample output from 'ipfw pipe show 11': > 00011: 3.000 Mbit/s 0 ms ... > Well, I didn't set default delay but actually there > is a delay ? It just can't be 0 ms ! > At least CISCO routers auto-calculate what the delay is. > So, could you please tell me how to calculate the delay for > each pipe and I'll try to hack ipfw.c myself... ip_dummynet.c in fact. And take a look at struct dn_pkt in ip_dummynet.h -- Regards, Yaroslav Halchinsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message