David S. Miller dc99f60069 packet: Add fanout support.
Fanouts allow packet capturing to be demuxed to a set of AF_PACKET
sockets.  Two fanout policies are implemented:

1) Hashing based upon skb->rxhash

2) Pure round-robin

An AF_PACKET socket must be fully bound before it tries to add itself
to a fanout.  All AF_PACKET sockets trying to join the same fanout
must all have the same bind settings.

Fanouts are identified (within a network namespace) by a 16-bit ID.
The first socket to try to add itself to a fanout with a particular
ID, creates that fanout.  When the last socket leaves the fanout
(which happens only when the socket is closed), that fanout is
destroyed.

Signed-off-by: David S. Miller <davem@davemloft.net>
2011-07-05 22:34:52 -07:00
..
2011-05-23 16:29:24 -04:00
2011-06-16 23:19:27 -04:00
2011-04-17 00:48:31 -07:00
2011-07-01 16:11:15 -07:00
2011-03-17 11:59:32 +11:00
2011-01-12 19:00:40 -08:00
2011-07-01 16:11:16 -07:00
2011-07-01 16:11:16 -07:00
2011-03-21 18:16:39 -07:00
2011-06-16 23:19:27 -04:00
2011-07-01 16:11:16 -07:00
2011-06-16 23:19:27 -04:00
2011-07-01 16:11:16 -07:00
2011-07-05 22:34:52 -07:00
2011-07-01 16:16:19 -07:00
2011-06-27 00:14:10 -07:00
2011-07-01 16:11:16 -07:00
2011-07-01 16:11:16 -07:00
2011-05-24 01:13:12 -04:00
2011-03-31 11:26:23 -03:00
2011-07-01 16:11:16 -07:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00
2010-10-15 15:53:27 +02:00