IPT_ENTRY_ITERATE
Swapnil Nagle
swapsn at rediffmail.com
Thu Sep 23 10:07:14 CEST 2004
>>grep shows only one match :
>>
>>libiptc/libip4tc.c:#define ENTRY_ITERATE IPT_ENTRY_ITERATE
>>
>>
>
>These defines are used backwards... the function in libiptc.c is called
>ENTRY_ITERATE() which then gets expanded to IPT_ENTRY_ITERATE() when it's
>compiled for ipv4. This is because most of the libiptc code is shared
>
>
>
...
>You want to look at ENTRY_ITERATE() in libiptc.c
>
>
>
I couldn't find the definition for either ENTRY_ITERATE() or
IPT_ENTRY_ITERATE() in libiptc.c.
Basically I want to see the code that iterates through the entries and
calls the function specified through ENTRY_ITERATE().
Regards,
Swapnil.
More information about the netfilter-devel
mailing list