# Learning the PF_RING API | ntop

> Since the initial version, PF_RING has supported the pcap API that is familiar to many developers. This has allowed people to seamlessly port existing apps on

[Blog](https://www.ntop.org/blog/)[PF\_RING](https://www.ntop.org/category/pf_ring/)

# Learning the PF\_RING API

February 2, 20141 min read

Since the initial version, PF\_RING has supported the pcap API that is familiar to many developers. This has allowed people to seamlessly port existing apps on top of PF\_RING, simply relinking their apps using the [PF\_RING-aware version of libpcap](https://github.com/ntop/PF_RING). Unfortunately the pcap API is able to exploit just a subset of the features available in the native PF\_RING API as demonstrated by the [various apps](https://github.com/ntop/PF_RING) we have coded to show how to the native API works.

In order to ease the development of new native PF\_RING applications, we acknowledge it was time to properly document the API. In particular those functions that are part of  DNA and libzero. For this reason, we have created an [HTML documentation](https://www.ntop.org/guides/pf_ring/api/) of the API that describes not just the functions but also all the various datatypes. We hope this will enable the development of new native applications.

This said we have just released [PF\_RING 5.6.2](http://sourceforge.net/projects/ntop/files/PF_RING/PF_RING-5.6.2.tar.gz/download), the last before the major revision 6.x that we will start rolling out in a few weeks. Beside the addition of many new features, on 6.x we have cleaned the API that in 5.x is a bit “fragmented” in “classic” PF\_RING, DNA and libzero. In the new version everything will be easy and smooth. We believe you will appreciate hoping that this will further ease the development of new native applications.

## Keep reading

centoJan 25, 2026

### [nProbe Cento at Scale: Flow Offload Acceleration on Napatech](https://www.ntop.org/nprobe-cento-at-scale-flow-offload-acceleration-on-napatech/)

High-speed networks continue to push the limits of software-based monitoring and security applications. As link speeds grow and traffic patterns become more complex, efficiently analyzing packets while maintaining per-flow state, for updating…

AnnounceApr 28, 2025

### [Released PF\_RING 9.0.0: Fully Fledged Hardware Flow Tracking](https://www.ntop.org/released-pf_ring-9-0-0-fully-fledged-hardware-flow-tracking/)

This is to announce a new PF\_RING release 9.0.0! This release brings significant improvements for a deeper flow tracking integrations, making PF\_RING even more powerful for building high-performance flow processing networking applications…

PF\_RINGAug 6, 2024

### [Released PF\_RING 8.8.0: Flow Table Offload and nVidia BlueField Support](https://www.ntop.org/released-pf_ring-8-8-flow-table-offload-and-nvidia-bluefield-support/)

This is to announce a new PF\_RING release 8.8.0! This release adds generic support for flow table offload, which is currently supported on Napatech adapters with Flow Manager enabled. This new technology…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/learning-the-pf_ring-api/