summaryrefslogtreecommitdiffhomepage
path: root/doc/source/library_pcap.rst
blob: 2eb3fe5e056594c44385d6d7bd247975823b5620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*****************
PCAP file library
*****************

Introduction
============

Ryu 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:: ryu.lib.pcaplib.Reader

Writing PCAP file
=================

For dumping the packet data which your RyuApp received, you can use
pcaplib.Writer.

.. autoclass:: ryu.lib.pcaplib.Writer