Re: Adding opcode in ipfw_opcodes

2006-09-19 Thread Andrey V. Elsukov
[EMAIL PROTECTED] 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/netin

Adding opcode in ipfw_opcodes

2006-09-18 Thread rajeshbikram
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 us