Adding opcode in ipfw_opcodes

rajeshbikram at wlink.com.np rajeshbikram at wlink.com.np
Mon Sep 18 23:49:19 PDT 2006


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


More information about the freebsd-ipfw mailing list