Asterisk - The Open Source Telephony Project
21.4.1
|
Public Member Functions | |
def | __init__ (self, outfile) |
def | add (self, ifp) |
Data Fields | |
date | |
outfile | |
prev_data | |
seqno | |
udpseqno | |
Static Public Attributes | |
tuple | PCAP_PREAMBLE |
Definition at line 56 of file spandspflow2pcap.py.
def add | ( | self, | |
ifp | |||
) |
Add the IFP packet. T.38 basic format of UDPTL payload section with redundancy: UDPTL_SEQNO - 2 sequence number (big endian) UDPTL_PRIMARY_PAYLOAD (T30?) - 1 subpacket length (excluding this byte) - 1 type of message (e.g. 0xd0 for data(?)) - 1 items in data field (e.g. 0x01) - 2 length of data (big endian) - N data RECOVERY (optional) - 2 count of previous seqno packets (big endian) - N UDPTL_PRIMARY_PAYLOAD of (seqno-1) - N UDPTL_PRIMARY_PAYLOAD of (seqno-2) - ...
Definition at line 71 of file spandspflow2pcap.py.
References FaxPcap._add_garbage(), FaxPcap._add_preamble(), FaxPcap._make_packet(), FaxPcap.add(), FaxPcap.date, FaxPcap.PCAP_PREAMBLE, FaxPcap.prev_data, FaxPcap.seqno, and FaxPcap.udpseqno.
Referenced by FaxPcap.add().
|
static |
Definition at line 57 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().