DLT plugin API now ready!

So during the superbowl, I finished up the final touches on the DLT plugin API and got the first plugin fully working (ethernet of course). Why should you care?

If you’re not interested in adding support for a DLT to tcprewrite, you probaby care only because it makes it easier for others to write plugins. If it’s easy to write a plugin, there’s a greater chance that someone has written a plugin for the DLT you care about.

If you are interested in adding support for another DLT, then plugins are really nice because:

  • The plugin API is well documented and clean, so it’s easy to use.
  • There is a template for you to fill out, so you know exactly what you need to do.
  • The template generation script also saves you a TON of typing.
  • Plugins make it easy to debug.
  • The old monolithic code really sucked. It was almost impossible to add support for more DLT types.
  • There is a nice developer guide to help you get started.

Anyways, you can track the status of your favorite DLT types.

Anyways, I’m hoping to add support for Linux SLL and Cisco HDLC and then release beta12. I’ll worry about 802.11 and other’s later.

Leave a Reply