On Mon, Sep 07, 2015 at 10:42:13AM +0300, Maxim Uvarov wrote: > On 09/04/15 20:37, Bala Manoharan wrote: > >This method of using pcap file to generate packets is fine. > >But why should we use a dedicated interface with "pcap" as the name? > > > >I was imagining something like an ODP application which reads from a > >given pcap file constructs the packet and sends the packet through an > >interface. > > > >The concern I have is this method of creating a dummy interface with > >"pcap" name will work fine in Linux-generic code but if you want to do > >the same in other platforms then the platforms will have to implement > >this virtual pcap interface but if this was an ODP application then > >the platforms can simply run the application over their platform > >without any change. > > > >Regards, > >Bala > > It can be both app and pktio. For linux-generic it useful for > testing. Other platforms can implement > that packet io or not. It's it's up to platform implementers > decision. Anyway different platforms > have different names for packet i/o. > > BR, > Maxim.
Yes, what Maxim said. This is linux-generic specific (unlike the loop interface which is defined in the API), it's really intended for developer testing with existing applications. -- Stuart. _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
