Napatech

Napatech

Home

Napatech Software Suite: API Interfaces

Napatech Application Programming Interface (NTAPI)

To take full advantage of all of the features available in Napatech Network Adapters, it is recommended to use NTAPI. NTAPI provides a simple interface, designed to make programming and integration quick and easy. It is packet-based and also supports a segment-based mode.

LibPCAP API (PCAP API)

You can reuse existing application software based on LibPCAP. This provides an excellent starting point for development of network monitoring and analysis appliances, with a standard interface supported by open-source applications, such as Snort, Suricata, YAF, Ostinato, Tcpdump, Tcpreplay, Ethereal and Wireshark. The PCAP API uses the NTAPI for access to Napatech Network Adapters. The PCAP API is based on Napatech's extended LibPCAP library implementation.


PCAP API vs. NTAPI Feature Support

Feature  LibPCAP NTAPI
Zero copy transfer to host (OS bypass) Yes Yes
Zero copy transfer between adapters Yes
Merging of port data from a single adapter Yes Yes
Merging of port data from multiple adapers Yes
Data sharing between multiple applications Yes
Packet classification Yes Yes
Advanced filters Yes Yes
Packet coloring / tagging Yes
Hash key generation Yes
Intelligent multi-CPU distribution Yes Yes
Deduplication Yes Yes
Local retransmit Yes
Host-based transmit Yes
Statistics Yes
© Napatech A/S, all rights reserved. Terms & Conditions