Libnids - NIDS E-component, based on Linux kernel. This library provides IP defragmentation, TCP reassembly and port scan detection.
libnids is fast and easy to use
Very usefull lib when you need to reconstruct TCP "on the fly". I would say "A MUST HAVE" as libpcap / Wireshark