ledatelescope / bifrost

A stream processing framework for high-throughput applications.
BSD 3-Clause "New" or "Revised" License
66 stars 29 forks source link

Unified packet capture interface #165

Closed jaycedowell closed 2 years ago

jaycedowell commented 2 years ago

This PR provides a unified packet capture interface that makes it easier to add new packet formats to Bifrost and to read packet formats from the network (unicast or multicast) or from disk. This also includes a generalization of the packet writer interface. This PR changes the Bifrost API in a couple of ways:

bifrost.udp_capture.UDPCapture is now bifrost.packet_capture.UDPCapture there is a new PacketCaptureCallback class that wraps the callbacks bifrost.udp_transmit is now bifrost.packet_writer