Adding opcode in ipfw_opcodes

Andrey V. Elsukov bu7cher at yandex.ru
Tue Sep 19 00:53:12 PDT 2006


rajeshbikram at 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


More information about the freebsd-ipfw mailing list