From owner-freebsd-net@FreeBSD.ORG Sat Feb 25 07:47:48 2012 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 EA2E5106564A for ; Sat, 25 Feb 2012 07:47:48 +0000 (UTC) (envelope-from iwc2010005@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 685318FC18 for ; Sat, 25 Feb 2012 07:47:48 +0000 (UTC) Received: by lagz14 with SMTP id z14so5206286lag.13 for ; Fri, 24 Feb 2012 23:47:47 -0800 (PST) Received-SPF: pass (google.com: domain of iwc2010005@gmail.com designates 10.152.130.167 as permitted sender) client-ip=10.152.130.167; Authentication-Results: mr.google.com; spf=pass (google.com: domain of iwc2010005@gmail.com designates 10.152.130.167 as permitted sender) smtp.mail=iwc2010005@gmail.com; dkim=pass header.i=iwc2010005@gmail.com Received: from mr.google.com ([10.152.130.167]) by 10.152.130.167 with SMTP id of7mr4383754lab.36.1330156067236 (num_hops = 1); Fri, 24 Feb 2012 23:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=CfVBlvNQCQ+MoygpQAZTW0vSrAt5g/Sa4+I4o46XTt8=; b=opv1gIkXUV2oG1qXjNATa6VC4iKNpxm2AECySR15/+qSvhnFk16hnbEwssB/7GReRY m70gAUZiPYCr0rpA2AlBd7RCX5kpwm5MlbSntp0fe+WWxRxCnzugy6joYew/loX9cAmf UE9N+AFeEjdYA0I7VO4IPSly6iRwWmiss8eQY= MIME-Version: 1.0 Received: by 10.152.130.167 with SMTP id of7mr3569115lab.36.1330154450350; Fri, 24 Feb 2012 23:20:50 -0800 (PST) Received: by 10.112.66.43 with HTTP; Fri, 24 Feb 2012 23:20:50 -0800 (PST) Date: Sat, 25 Feb 2012 12:50:50 +0530 Message-ID: From: Rajneesh Kumar To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ARP module interaction X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 07:47:49 -0000 Hi, I am working on ARP module of FreeBSD and want to modify it to suit my needs. I am trying to prevent ARP cache poisoning by a false reply reply packet. For the same I referred "Rechard Steven's TCP/IP Illustrated vol.-2" to understand how the modules interact and the purpose served by every function. But the reference given in the book is very old and new kernel does differ a lot. So I am in a soup now. I want to understand the working of arpresolve() function in latest kernel. Precisely in the old kernel arpresolve() used to call arplookup() and arpwhohas(), but there is no such function called arplookup() or arpwhohas() in the new kernel. So how those tasks are achieved now?? Any reference from where I can read would be appreciated. Regards, Rajneesh