Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2006 11:53:02 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        rajeshbikram@wlink.com.np
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: Adding opcode in ipfw_opcodes
Message-ID:  <450FA1DE.4000305@yandex.ru>
In-Reply-To: <wEgQZX0X.1158648547.1603460.rajeshbikram@wlink.com.np>
References:  <wEgQZX0X.1158648547.1603460.rajeshbikram@wlink.com.np>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450FA1DE.4000305>