From owner-freebsd-net Fri Mar 30 16:45:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from mss.rdc2.nsw.optushome.com.au (ha1.rdc2.nsw.optushome.com.au [203.164.2.50]) by hub.freebsd.org (Postfix) with ESMTP id 8786937B719; Fri, 30 Mar 2001 16:45:09 -0800 (PST) (envelope-from s2209866@cse.unsw.edu.au) Received: from co3038206a ([203.164.177.110]) by mss.rdc2.nsw.optushome.com.au (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010331004508.TRMU17266.mss.rdc2.nsw.optushome.com.au@co3038206a>; Sat, 31 Mar 2001 10:45:08 +1000 Reply-To: From: "Daniel Wong" To: , Subject: RE: How to find the bandwidth between two machines under freeBSD? Date: Sat, 31 Mar 2001 10:45:57 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <200103301741.f2UHfwM56372@bmah-freebsd-0.cisco.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, So if I need to code some traffic control algorithm under the IP layer in the kernel, how do I determine how fast a particular interface goes. ie how much bandwidth the interface has?? Also, what unit will this value be in?? I was considering using MTU in the ifnet struct, but not sure how to use this, and how it can be calculated along with the member baudspeed. Regards and Thanks Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message