From owner-freebsd-net@FreeBSD.ORG Tue Dec 27 03:12:54 2011 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 9267F1065670 for ; Tue, 27 Dec 2011 03:12:54 +0000 (UTC) (envelope-from iwc2010005@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 284398FC0A for ; Tue, 27 Dec 2011 03:12:53 +0000 (UTC) Received: by eekc50 with SMTP id c50so13645625eek.13 for ; Mon, 26 Dec 2011 19:12:53 -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=DNC3rX+sanN8D6lF/Z7b8ELu78JQZIfDen6pCsaRoSw=; b=KpG9SoiKlLr3ypI3f+sRTsE2ACBpPLBl4E/3khwqaiaAesCyI9xPHisB3H3g2kMssv DOYqWzElpR2vibl7C4fyEGTqKIUcy8NMLjzU85/iqrwQUWjlEkuqw7Ff948ww5eDx8NO /83agrJy7Ta7fEXy4QuSmOU3JSVFXnxwZtAtE= MIME-Version: 1.0 Received: by 10.213.28.7 with SMTP id k7mr8653296ebc.11.1324955573261; Mon, 26 Dec 2011 19:12:53 -0800 (PST) Received: by 10.14.96.5 with HTTP; Mon, 26 Dec 2011 19:12:52 -0800 (PST) Date: Tue, 27 Dec 2011 08:42:52 +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: Failed to compile kernel because ioctl.h not found 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: Tue, 27 Dec 2011 03:12:54 -0000 Hi list, I did slight modification in ARP module of 4.4FreeBSD-Lite (getting help from the book TCP/IP illustrated vol 2 by Richard Stevens). After that I found this kernel is replaced by a new version. I am trying to incorporate those changes in new kernel but facing problem. There was #include in if_ether.c of old module. But its not there in the new one. While compilation it shows me error ioctl.h is not found, please use xxxio.h instead. Which header I should include in place of ioctl.h ?? Also there was a function called arplookup() in if_ether.c but its not there in the new kernel. Which function is now used to perform the same task in the new kernel? Any help would be appreciated. Thank You. -- Regards, Rajneesh