The setup is -
+-----------+ +------------+ +------+
| Streamer |-----------| Switch |----------| Host |
+-----------+ +------------+ +------+
The switching functionality is implemented in function netif_rx(). Based
on the list of outgoing interfaces, I am doing the following things.
* Cloning the packets.
* Obtaining outgoing device from outgoing interface index.
* Calling dev_queue_xmit() to send the packet on outgoing device.