From owner-freebsd-net@FreeBSD.ORG Tue Sep 2 07:17:53 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F33106566B for ; Tue, 2 Sep 2008 07:17:53 +0000 (UTC) (envelope-from debarshi.ray@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 435688FC13 for ; Tue, 2 Sep 2008 07:17:52 +0000 (UTC) (envelope-from debarshi.ray@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1890594fkk.11 for ; Tue, 02 Sep 2008 00:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=o9/+XI6x0cKcb2xBoUzia1c3HvdR2Rtp03dHr4W4O5Q=; b=mOGA/PP0wMM3KNfn+MSNz+uOk0UiQ5TX8yU+mU59txZqp3VnCyYHDIJ9/sOcpkU29L SUwK2crKcxWj3kkkmkv2ip2U4YI19VZ858DK8SDYUytYogywEBJYzd/J2sZDp+epPj/j M5bOTJ8KUG0/vK2j57sY9ndp+jzeN5zheEIWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=sz2y1L3qXLmkVPpNDtG8A62kiV0vkNqodTDgweXVI8mLAP3APZnSrW0DCKuKqyJVz3 G1fIBJNGuboahsmRl+GAQjKXHBZ5xDQc19V886Co7wLJeda+pEZnoXgYKpZeZxF0GCU6 Me1oM4x696sa7c2NAN4CFQCqgkHhdL3fhgnPc= Received: by 10.187.182.10 with SMTP id j10mr2009755fap.39.1220339871811; Tue, 02 Sep 2008 00:17:51 -0700 (PDT) Received: by 10.187.245.8 with HTTP; Tue, 2 Sep 2008 00:17:51 -0700 (PDT) Message-ID: <3170f42f0809020017k643180efte155a5b5701a40cf@mail.gmail.com> Date: Tue, 2 Sep 2008 12:47:51 +0530 From: "Debarshi Ray" To: "Julian Elischer" In-Reply-To: <48BCE4AA.6050807@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3170f42f0809010507q6c37a9d5q19649bc261d7656d@mail.gmail.com> <48BBE7B2.4050409@FreeBSD.org> <48BCE4AA.6050807@elischer.org> Cc: FreeBSD networking and TCP/IP list , "Bruce M. Simpson" Subject: Re: reading routing table X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: debarshi.ray@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 07:17:53 -0000 > unfortunatly netstat -rn uses /dev/kmem Yes. I also found that FreeBSD's route(8) implementation does not have an equivalent of 'netstat -r'. NetBSD and GNU/Linux implementations have such an option. Any reason for this? Is it because you did not want to muck with /dev/kmem in route(8) and wanted it to work with PF_ROUTE only? I have not yet gone through NetBSD's route(8) code though. Happy hacking, Debarshi