I'm trying to implement the PACKET_FANOUT_HASH support. The idea is to
have multiple netsniff-ng processes running and each sharing a portion
of flows. The fanout hash mode would send all packets from the same
flow to the same socket and all processes would join the same socket
group.

I tried to do it like this (once the code works I will refactor it,
it's an ugly hack now ;-)

https://gist.github.com/mpurzynski/5be9f5693e66dbe16947

Single process netsniff-ng works with this code, when I start another
one the first crashes.

What I'm doing wrong here?

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to