File: library_pcap.rst

package info (click to toggle)
python-os-ken 3.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,280 kB
  • sloc: python: 100,620; erlang: 14,517; ansic: 594; sh: 338; makefile: 136
file content (27 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (3)
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
============

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