Skip to content

History / DLT Plugin Developer Guide

Revisions

  • Port and modernize remaining useful content from the legacy Trac wiki Adds Usage Examples, Common Arguments, Using libtcpedit, and Tcpedit Plugin Architecture, ported from tcpreplay.synfin.net (no longer reachable - see DLT-Plugin-Developer-Guide.md for why) and re-verified against the current 4.6.0-beta1 tree, not just copy-pasted: - tcpprep --port classification now uses a /etc/services-derived lookup, not the old docs' fixed "port < 1024" rule. - tcpedit_init()/tcpedit_close() signatures have changed since the 2009 libtcpedit example (DLT-by-int now, tcpedit_t** now). - The original tcpedit plugin design proposed L3 and L4-7 plugin groups; only DLT/Layer2 plugins were ever actually built - L3+ rewriting lives in the core tcpedit_set_*() API instead. Called this out explicitly rather than presenting the old plan as current. - --enet-dmac/--enet-smac and --endpoints/--srcipmap/--dstipmap/ --portmap/--intf1/--intf2 all checked out unchanged against the current *_opts.def files. Cross-linked all pages together and from Home. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

    @galastar galastar committed Jul 21, 2026
  • Add modernized DLT Plugin Developer Guide, fix dead synfin.net link The Home page linked to tcpreplay.synfin.net/wiki/tcpeditDeveloper for DLT plugin development docs. That domain (owned by the original author, not this project) now redirects elsewhere and no longer hosts any of the old Trac wiki content. Recovered the 2009 guide via the Wayback Machine and rewrote it against the current autotools+CMake build (scripts/autoopts, not GNU AutoGen, per #895) and current plugin template (src/tcpedit/plugins/dlt_template.sh). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

    @galastar galastar committed Jul 21, 2026