Re: Example of using virtio network interfaces from application code

2017-04-18 Thread Rick Payne (Offshore)
> On 13 Apr 2017, at 05:46, Nadav Har'El wrote: > > It's not exactly what Rick asked for (virtio), but maybe it's good enough. The pfil_add_hook() functionality may be sufficient, thanks! I’ll give it a go. Cheers, Rick -- You received this message because you are

Re: Example of using virtio network interfaces from application code

2017-04-13 Thread Nadav Har'El
On Wed, Apr 12, 2017 at 8:36 PM, Dor Laor wrote: > We did hack memcache to get packets directly from the device. You can > search for this example, it might be good enough for you > > What Dor is referring to is https://github.com/vladzcloudius/osv-memcached (you can build it

Re: Example of using virtio network interfaces from application code

2017-04-12 Thread Dor Laor
We did hack memcache to get packets directly from the device. You can search for this example, it might be good enough for you On Apr 12, 2017 7:12 AM, "Nadav Har'El" wrote: > > On Mon, Apr 10, 2017 at 1:05 AM, Rick Payne (Offshore) < > ri...@rossfell.co.uk> wrote: > >> Hi,

Re: Example of using virtio network interfaces from application code

2017-04-12 Thread Nadav Har'El
On Mon, Apr 10, 2017 at 1:05 AM, Rick Payne (Offshore) wrote: > Hi, > > Is there a good example that uses the virtio network interfaces direct? > ie. an application that uses ‘assign-net’ and talks directly to the network > interface code in OSv? > > I’m looking for a

Re: Example of using virtio network interfaces from application code

2017-04-10 Thread Dor Laor
On Sun, Apr 9, 2017 at 3:05 PM, Rick Payne (Offshore) wrote: > Hi, > > Is there a good example that uses the virtio network interfaces direct? > ie. an application that uses ‘assign-net’ and talks directly to the network > interface code in OSv? > Not that I know of. It

Example of using virtio network interfaces from application code

2017-04-09 Thread Rick Payne (Offshore)
Hi, Is there a good example that uses the virtio network interfaces direct? ie. an application that uses ‘assign-net’ and talks directly to the network interface code in OSv? I’m looking for a sample I can learn from. Cheers, Rick -- You received this message because you are subscribed to