Question about memory in C

Greg KH greg at kroah.com
Wed Feb 10 18:19:38 EST 2016


On Wed, Feb 10, 2016 at 08:49:30PM -0200, Victor Detoni wrote:
> Hi,
> 
> Thank you for your tip! I really appreciate it. In my situation I will have
> many profiles and for each profile I can have many ip address, for example:
> 
> profile 1:
> 192.168.0.0/24
> 192.168.1.2/32
> 192.168.14/23
> ...
> 
> profile 2:
> 10.10.10.0/24
> 10.11.12.0/23
> ...
> 
> What's your opinion? I'm thinking to use pcap library, but I still haven't the
> key.

I think you have a long way to go before you need to worry about stuff
like this.  Why not test and see exactly _where_ the performance
problems are before trying to solve things you don't know are actually
problems yet.

good luck,

greg k-h



More information about the Kernelnewbies mailing list