xt_connlimit 20070707 kernel
jengelh at computergmbh.de
Fri Jul 13 18:09:30 CEST 2007
On Jul 14 2007 00:44, Yasuyuki KOZAKAI wrote:
>> 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,
>It's unnecessary to change it. _init is replaced by ipt_connlimit_init, not
>connlimit_init for NO_SHARED_LIBS=1. That's why I could compile connlimit
>match without error.
Thank you for the NO_SHARED_LIBS test.
More information about the netfilter-devel