From owner-freebsd-net Fri Mar 30 16:47:31 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 B5C5F37B71A for ; Fri, 30 Mar 2001 16:47:28 -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 <20010331004727.TSBX17266.mss.rdc2.nsw.optushome.com.au@co3038206a> for ; Sat, 31 Mar 2001 10:47:27 +1000 Reply-To: From: "Daniel Wong" To: Subject: Finding the bandwidth capabilities inside the Kernel space Date: Sat, 31 Mar 2001 10:48:16 +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 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