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

609 B

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.

Reading PCAP file

For loading the packet data containing in PCAP files, you can use pcaplib.Reader.

os_ken.lib.pcaplib.Reader

Writing PCAP file

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

os_ken.lib.pcaplib.Writer