xt_connlimit 20070707 kernel
Patrick McHardy
kaber at trash.net
Fri Jul 13 17:16:43 CEST 2007
Jan Engelhardt wrote:
> On Jul 13 2007 17:03, Patrick McHardy wrote:
>
>>It works for other extensions, so it will also work for this one.
>>
>
>
> Yes of course.
>
> #define _init __attribute__((constructor)) my_init
>
> That's exactly the same as before (for the NO_SHARED_LIBS=0 case).
> For NO_SHARED_LIBS=1, _init is replaced by connlimit_init instead. Also ok.
> Well, connlimit_init is not that far from libipt_connlimit_init,
> and I'd prefer the latter because the former is already used for
>
> .init = connlimit_init,
Frankly, I'm not too interested in this as long as it works.
So if you have any dislikes with the current code, please
send a patch.
More information about the netfilter-devel
mailing list