Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 18:00:18 +0000
From:      Ming Fu <Ming.Fu@esentire.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Netmap: Build a network SPAN/TAP from netmap 
Message-ID:  <c861f08553874dc6b242be45ec6e4ef0@mbx02cmb01p.esentire.local>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to explore the possibility to build a network SPAN/TAP from net=
map. Similar to the bridge sample, but all packet going through the bridge =
also get copied to a SPAN port. How do I duplicate or clone an incoming pac=
ket and send the original to bridge peer and the cloned one to the SPAN por=
t? Is there an API like FreeBsd m_copypacket() for netmap? Would it work fo=
r Linux as well?

Thanks
Ming



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c861f08553874dc6b242be45ec6e4ef0>