]> git.droids-corp.org - dpdk.git/commitdiff
doc: remove reference to pcapng init function
authorCian Ferriter <cian.ferriter@intel.com>
Fri, 27 May 2022 13:21:42 +0000 (13:21 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 1 Jun 2022 14:39:30 +0000 (16:39 +0200)
The rte_pcapng_init function doesn't exist, so remove it from the docs.

Also fix minor mistakes in the file.

Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
doc/guides/prog_guide/pcapng_lib.rst

index cc3eccc7570a56da22412218f088b0dd27d145ea..d18ebdbd1f487dab611cd50e722ab331c7384d40 100644 (file)
@@ -5,14 +5,14 @@ Packet Capture Next Generation Library
 ======================================
 
 Exchanging packet traces becomes more and more critical every day.
-The de facto standard for this is the format define by libpcap;
+The de facto standard for this is the format defined by libpcap;
 but that format is rather old and is lacking in functionality
 for more modern applications.
 The `Pcapng file format`_ is the default capture file format
 for modern network capture processing tools
 such as `wireshark`_ (can also be read by `tcpdump`_).
 
-The Pcapng library is a an API for formatting packet data
+The Pcapng library is an API for formatting packet data
 into a Pcapng file.
 The format conforms to the current `Pcapng RFC`_ standard.
 It is designed to be integrated with the packet capture library.
@@ -20,9 +20,6 @@ It is designed to be integrated with the packet capture library.
 Usage
 -----
 
-Before the library can be used, the function ``rte_pcapng_init``
-should be called once to initialize timestamp computation.
-
 The output stream is created with ``rte_pcapng_fdopen``,
 and should be closed with ``rte_pcapng_close``.