Files
os-ken/doc/source/library_pcap.rst
Hongbin Lu eb94ee01bc Rename "ryu" to "os_ken" everywhere
Change-Id: Id227a6672fb89cd512b17cddfb1fce7bb22fb0c8
2018-11-27 20:48:02 +00:00

28 lines
609 B
ReStructuredText

*****************
PCAP file library
*****************
Introduction
============
OS-Ken PCAP file library helps you to read/write PCAP file which file
format are described in `The Wireshark Wiki`_.
.. _The Wireshark Wiki: https://wiki.wireshark.org/Development/LibpcapFileFormat
Reading PCAP file
=================
For loading the packet data containing in PCAP files, you can use
pcaplib.Reader.
.. autoclass:: os_ken.lib.pcaplib.Reader
Writing PCAP file
=================
For dumping the packet data which your OSKenApp received, you can use
pcaplib.Writer.
.. autoclass:: os_ken.lib.pcaplib.Writer