libnetdude is the packet manipulation backend of
the Netdude trace file editing framework. It
allows you to perform trace file manipulations at
a much higher level of abstraction than code
written directly for the pcap interface. It also
supports plugins (dynamically loaded libraries)
that can essentially do whatever the programmer
desires. When developers write their packet
manipulation code as libnetdude plugins, this
instantly allows other developers to use their
tools. It provides data types and APIs for the
most common situations when dealing with libpcap
trace files: trace files of arbitrary size,
packets, network protocols, packet iterators, and
packet filters, just to name a few.