netmap, selective processing.
Adrian Chadd
adrian at freebsd.org
Wed Jul 16 18:05:27 UTC 2014
Hi,
Yes. You can write some matching code to match on what you care about
and reinject the rest back to the netmap "host interface" that you can
create. There's a way to grab both say, em0 for netmap and the host
side of em0 so you can reinject packets back up to the host stack and
get them from the host stack to process.
Luigi would know the details. I just stumbled across it when pecking around. :)
-a
On 16 July 2014 10:48, Daniel Corbe <corbe at corbe.net> wrote:
>
> I hope this it the right place to ask questions about netmap. I'm
> toying with the idea of writing a netmap-based OSPF implementation
> because bird's OSPF implementation isn't as good as its BGP
> implementation, quagga doesn't scale well and openospfd doesn't compile
> on 10-RELEASE or CURRENT.
>
> But I'm only interested in selectively processing packets on the
> netmap-enabled interface. Is there a way to do this? Or alternatively
> if I throw the IF into netmap mode, can I process what I'm interested in
> processing and then somehow throw the rest of the traffic back up to the
> host's IP stack?
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list