Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2006 11:49:07 +0500
From:      <rajeshbikram@wlink.com.np>
To:        freebsd-ipfw@freebsd.org
Subject:   Adding opcode in ipfw_opcodes
Message-ID:  <wEgQZX0X.1158648547.1603460.rajeshbikram@wlink.com.np>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wEgQZX0X.1158648547.1603460.rajeshbikram>