On Wed, Jun 05, 2002 at 01:02:44PM +0200, Jozsef Kadlecsik wrote:
> On Wed, 5 Jun 2002, Balazs Scheidler wrote:
> 
> > ok, should I simply add fields somewhere in struct ip_conntrack, or there's
> > a bitfield I can add a flag to?
> 
> There is no such bitfield you could use at the moment.
> 
> > Looking at the struct I can't see a place general enough, so I can add a new
> > field just to hold a single bit, or a general "flags" field, which can be
> > used by other matches later.
> 
> This is a good question. Probably it is better to add a (general) 'flags'
> field. But I have no idea for what else we could use it :-)

As I added a flags argument to ip_nat_setup_info() (currently with a single
bit specifying that NAT helpers are to be bypassed), this flags could be
stored in ct->nat.flags

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1

Reply via email to