From owner-freebsd-questions Sun Jun 20 22:47: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ucsu.Colorado.EDU (ucsu.Colorado.EDU [128.138.129.83]) by hub.freebsd.org (Postfix) with ESMTP id 22BEB14D7A for ; Sun, 20 Jun 1999 22:47:04 -0700 (PDT) (envelope-from doranj@ucsu.Colorado.EDU) Received: (from doranj@localhost) by ucsu.Colorado.EDU (8.9.3/8.9.3/ITS-5.0/standard) id XAA04444 for freebsd-questions@freebsd.org; Sun, 20 Jun 1999 23:47:04 -0600 (MDT) From: Jonathon Doran Message-Id: <199906210547.XAA04444@ucsu.Colorado.EDU> Subject: Re: API for routing table access To: freebsd-questions@freebsd.org Date: Sun, 20 Jun 1999 23:47:04 -0600 (MDT) In-Reply-To: <1EF0BD7C3645D1118B7D08002BBC039F3F7615@shlexc1.snl.dec.com> from "Vishwanathan, Anand" at Jun 21, 99 12:01:22 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is there any programmable interface (any kernel level call) to > IP routing table in FreeBSD (List routes in sequence etc) ? If you're in a hurry, take a look at the source for netstat, in /usr/src/usr.bin/netstat. I could have swore I used to use an ioctl to get this info... but now people are pulling it out of kernel tables using kvm. Jon Doran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message