From owner-freebsd-ipfw@FreeBSD.ORG Tue Sep 19 06:49:19 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 148A716A412 for ; Tue, 19 Sep 2006 06:49:19 +0000 (UTC) (envelope-from rajeshbikram@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 1290A43D46 for ; Tue, 19 Sep 2006 06:49:14 +0000 (GMT) (envelope-from rajeshbikram@wlink.com.np) Received: (qmail 82720 invoked from network); 19 Sep 2006 06:42:54 -0000 Received: from unknown (HELO smtp8.wlink.com.np) (202.79.32.38) by 0 with SMTP; 19 Sep 2006 06:42:54 -0000 Received: (qmail 28148 invoked by uid 98); 19 Sep 2006 06:49:10 -0000 Received: from 202.79.32.67 by smtp8.wlink.com.np (envelope-from , uid 1010) with qmail-scanner-1.25 (clamdscan: 0.88.4/1879. Clear:RC:1(202.79.32.67):. Processed in 0.041698 secs); 19 Sep 2006 06:49:10 -0000 X-Qmail-Scanner-Mail-From: rajeshbikram@wlink.com.np via smtp8.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.32.67):. Processed in 0.041698 secs) Received: from [202.79.32.67] (HELO webmail.wlink.com.np) by smtp8.wlink.com.np (qmail-smtpd) with SMTP; 19 Sep 2006 06:49:09 -0000 (Tue, 19 Sep 2006 12:34:09 +0545) Received: from 202.79.36.112 (auth. user rajeshbikram@pop3.wlink.com.np) by webmail.wlink.com.np with HTTP; Tue, 19 Sep 2006 11:49:07 +0500 To: freebsd-ipfw@freebsd.org Date: Tue, 19 Sep 2006 11:49:07 +0500 X-Mailer: IlohaMail/0.8.14 (On: webmail.wlink.com.np) Message-ID: From: Bounce-To: Errors-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Check-By: smtp8.wlink.com.np Spam: No ; -1.6 / 5.0 X-Spam-Status-WL: No, hits=-1.6 required=5.0 Subject: 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 06:49:19 -0000 I add the couple of opcodes O_SETIPTOS and O_SETDSCP in enum ipfw_opcodses structure. I did the neccessary changes to enable the opcodes and compile the kernel. 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. What is happening ..... in ip_fw.h with regards Rajes