From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 9 21:42:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9574716A41C for ; Thu, 9 Jun 2005 21:42:17 +0000 (GMT) (envelope-from french.linuxian@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C88E143D55 for ; Thu, 9 Jun 2005 21:42:16 +0000 (GMT) (envelope-from french.linuxian@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so123369nzp for ; Thu, 09 Jun 2005 14:42:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PILJNZ1v3iTIK9b8juHQNbIrv7yqkcWaSCLBq2MrIm1uBFZLhQMIIYf9FNtTHAFNqD3X+VOaHsO89e4GxtfPxUNnc7M8Jdpb6cRGQjLdjU0rXiihWYOihbRNeTCi9VbcnSgI+dR0ZuOjON8CnydZW9aW18Ur00Gs0V9IrkIFr6w= Received: by 10.36.222.42 with SMTP id u42mr773775nzg; Thu, 09 Jun 2005 14:42:16 -0700 (PDT) Received: by 10.36.58.12 with HTTP; Thu, 9 Jun 2005 14:42:16 -0700 (PDT) Message-ID: <37273927050609144244862086@mail.gmail.com> Date: Thu, 9 Jun 2005 17:42:16 -0400 From: Aziz Kezzou To: freebsd-hackers , freebsd-net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: How to do a routing lookup inside the kernel in FreeBSD ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aziz Kezzou List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2005 21:42:17 -0000 Hi all, I am trying to figure out from the kernel source code (FreeBSD 5.3) how can I perform a routing lookup in a KLD module. Since I am short in time, if anyone knows how do to do this I would appreciate. Any pointers to the right portion of the code are also apperciated. Thanks, -aziz