removed delentry?!
Rusty Russell
rusty@linuxcare.com.au
Tue, 04 Apr 2000 00:50:02 +0930
In message <Pine.LNX.4.21.0003310955001.9834-100000@stargate.atm.tuke.sk> you w
rite:
> Hello,
Hi Marek,
> I would like to ask, why was `delentry' removed from `struct ipt_target'?
Noone actually used it. I can put it back if you need it.
> I'm writting a new target, which creates an entry in /proc filesystem for
> every rule using my target. How can i release entry from /proc now, if
> there's no `delentry' anymore?
You really want a proc file per rule? Now you've made me curious...
What are you doing? 8)
> And i realised fact, that when new rule was inserted, for every rule's
> target in table `checkentry' was called again. Is it really necessary, to
> check already inserted targets?
Yes. Every operation replaces the entire table. The kernel has no
idea of the relationship between the previous table and the new one.
Rusty.
--
Hacking time.