ledatelescope / bifrost

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

UDP packet capture plugin #195

Open telegraphic opened 1 year ago

telegraphic commented 1 year ago

I've just created a repository on bf-plugins/bf_udpcap that builds the UDP capture code. The hope is to make it easy to add new packet formats.

Still plenty left to do -- so far it compiles into a shared object.

I have opened this issue to use as documentation and for discussion.

jaycedowell commented 1 year ago

I went to look at that repo today and I'm getting a 404.

jaycedowell commented 1 year ago

I've been thinking about this the last couple of weeks. A few thoughts:

On that last point the problem I see is in ibverb-support is with the "callback manager" class. It's easy to drop in a few files to define a new format and compile them but adding the callback requires a change to that manager class. I started trying an idea on ibverb-support-alt but that hasn't yielded anything useful.

There is also the bigger picture question of separate vs dynamic plugins that I'm not sure about. I like the concept of dynamic plugins where there is one class/block that manages everything but that may be harder to achieve. Separate plugins are probably easier to implement but then there are lots of classes/blocks to create. Maybe that isn't so much of an issue since the different file formats that are supported now are different blocks.