Package dpkt :: Module pcap
[hide private]
[frames] | no frames]

Module pcap

source code

Libpcap file format.

Classes [hide private]
  PktHdr
pcap packet header.
  LEPktHdr
  FileHdr
pcap file header.
  LEFileHdr
  Writer
Simple pcap dumpfile writer.
  Reader
Simple pypcap-compatible pcap file reader.
Variables [hide private]
  TCPDUMP_MAGIC = 2712847316
  PMUDPCT_MAGIC = 3569595041
  PCAP_VERSION_MAJOR = 2
  PCAP_VERSION_MINOR = 4
  DLT_NULL = 0
  DLT_EN10MB = 1
  DLT_EN3MB = 2
  DLT_AX25 = 3
  DLT_PRONET = 4
  DLT_CHAOS = 5
  DLT_IEEE802 = 6
  DLT_ARCNET = 7
  DLT_SLIP = 8
  DLT_PPP = 9
  DLT_FDDI = 10
  DLT_PFSYNC = 18
  DLT_IEEE802_11 = 105
  DLT_LINUX_SLL = 113
  DLT_PFLOG = 117
  DLT_IEEE802_11_RADIO = 127
  DLT_LOOP = 108
  DLT_RAW = 12
  dltoff = {0: 4, 1: 14, 6: 22, 7: 6, 8: 16, 9: 4, 10: 21, 18: 4...
  __package__ = 'dpkt'
Variables Details [hide private]

dltoff

Value:
{0: 4,
 1: 14,
 6: 22,
 7: 6,
 8: 16,
 9: 4,
 10: 21,
 18: 4,
...