From owner-freebsd-ipfw@FreeBSD.ORG Tue Sep 19 07:53:12 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74CE716A650 for ; Tue, 19 Sep 2006 07:53:12 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mx18.yandex.ru (smtp2.yandex.ru [213.180.200.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C764543D66 for ; Tue, 19 Sep 2006 07:53:09 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([81.18.142.225]:21511 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S3376616AbWISHxF (ORCPT ); Tue, 19 Sep 2006 11:53:05 +0400 X-Comment: RFC 2476 MSA function at smtp2.yandex.ru logged sender identity as: bu7cher Message-ID: <450FA1DE.4000305@yandex.ru> Date: Tue, 19 Sep 2006 11:53:02 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: rajeshbikram@wlink.com.np References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org Subject: Re: Adding opcode in ipfw_opcodes X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 07:53:12 -0000 rajeshbikram@wlink.com.np wrote: > The problem is, i used this opcodes in ipfw2.c value . When i compile the > ipw2.c the compiler generate the erro undefined value (first use in this > function) for the two added opcodes for the other opcodes gcc doesn't > gives the error. You can try add -I/usr/src/sys/netinet to CFLAGS or replace /usr/include/netinet/ip_fw.h with a new ip_fw.h. -- WBR, Andrey V. Elsukov