2015-05-04 17:29 skrev Barney Cordoba via freebsd-net:
It's not faster than "wedging" into the if_input()s. It simply can't
be. Your getting packets at interrupt time as soon as their processed
and you there's no network stack involved, and your able to receive
and transmit without a process s
Nothing freely available. Many commercial companies have done such things. Why
limit the general community by force-feeding a really fast packet generator
into the mainstream by squashing other ideas in their infancy? Anyone who
understands how the kernel works understands what I'm saying. A pa
On Mon, 4 May 2015 15:29:13 +, Barney Cordoba via freebsd-net wrote:
> It's not faster than "wedging" into the if_input()s. It simply can't
> be. Your getting packets at interrupt time as soon as their processed
> and you there's no network stack involved, and your able to receive
> an
It's not faster than "wedging" into the if_input()s. It simply can't be. Your
getting packets at interrupt time as soon as their processed and you there's
no network stack involved, and your able to receive and transmit without a
process switch. At worst it's the same, without the extra plumbin
On Sun, May 3, 2015 at 6:17 PM, Barney Cordoba via freebsd-net <
freebsd-net@freebsd.org> wrote:
> Frankly I'm baffled by netmap. You can easily write a loadable kernel
> module that moves packets from 1 interface to another and hook in the
> firewall; why would you want to bring them up into user
Frankly I'm baffled by netmap. You can easily write a loadable kernel module
that moves packets from 1 interface to another and hook in the firewall; why
would you want to bring them up into user space? It's 1000s of lines of
unnecessary code.
On Sunday, May 3, 2015 3:10 AM, Raimundo S
Clarifying things for the sake of documentation:
To use the host stack, append a ^ character after the name of the interface
you want to use. (Info from netmap(4) shipped with FreeBSD 10.1 RELEASE.)
Examples:
"kipfw em0" does nothing useful.
"kipfw netmap:em0" disconnects the NIC from the usual