Denys
yes you are welcome to contribute. Please make sure that you do not call 
malloc, free but ndpi_malloc ndpi_free so that the code also works in kernel 
space. We are using 
https://svn.ntop.org/svn/ntop/trunk/ntopng/patricia.cpp
https://svn.ntop.org/svn/ntop/trunk/ntopng/patricia.h

that can be easily (I believe) ported into the kernel

Cheers Luca

On 07 Nov 2013, at 00:51, Denys Fedoryshchenko <[email protected]> 
wrote:

> Hi
> 
> I noticed that ip/subnet search somehow hardcoded in 
> ndpi_search_tcp_or_udp_raw.c , and matching only few of subnets, at least 
> google.
> I want to add radix tree based implementation to load IP to ASN mapping 
> (which will cover most of cases) based on libgds.
> My main concern is it acceptable to add third-party dependency there to be 
> accepted in mainline as contribution? And does it worth to do it at all?
> 
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to