]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
af-packet: delete design comments
authorEric Leblond <eric@regit.org>
Fri, 20 Jul 2012 07:41:52 +0000 (09:41 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 3 Sep 2012 13:27:38 +0000 (15:27 +0200)
src/source-af-packet.c

index a8783e137c95e28afadcb6a9ad3293b4cb413b89..0ed71e1376c2f309bcc841a375d9e4ec065e8070 100644 (file)
  *
  * AF_PACKET socket acquisition support
  *
- * Fanouts socket from David Miller:
- * we need to support the split of flow in different socket
- * option:
- *  - packet_fanout type
- *  - fanout ID ?? seems it could be useful
- *  - protocol is the IEEE 802.3 protocol number in network order (filtering
- *    is great)
- *  - runmode -> family of threads in parallel (acccount)
- *  - add a new ratio or threads number (overwritten by cpu_affinity)
- *  - add af_max_read_packets for batched reading
- *
- * architecture
- *  loop with read
- *  code needed for iface name to int mapping
- * socket opening
- *   socket call
- *   bind
- *   must switch to promiscous mode -> use PACKET_MR_PROMISC socket option
- *
  * \todo watch other interface event to detect suppression of the monitored
  *       interface
  */