[Bro-Dev] IP6 addresses

Gregor Maier gregor at icir.org
Tue Jun 21 12:55:22 PDT 2011


On 6/21/11 7:36 , Jonathan Siwek wrote:
>> I'd like to hear if folks agree with that? (1) clearly has impact on
>> memory usage, but I'd say that's ok these days. Alternatively, we
>> could use (2) to do some clever scheme that stores less bytes for
>> IPv4 addresses than for IPv6; but that would then quite likely have in
>> turn an impact on CPU performance and I don't see that that'd be worth it.
> 
> If there's any demand for this alternative, an idea I had was that there could probably be a compile-time flag to switch between the new IPAddr implementations.  But generally I think I'm with you on just doing the consistent 128-bit width at cost of memory.

I wouldn't do any compile time flags. That's what we have right now and
it isn't pretty at all.

cu
gregor
-- 
Gregor Maier
<gregor at icir.org>  <gregor at icsi.berkeley.edu>
Int. Computer Science Institute (ICSI)
1947 Center St., Ste. 600
Berkeley, CA 94704, USA
http://www.icir.org/gregor/


More information about the bro-dev mailing list