|
OPAL
Version 3.10.10
|
#include <pcapfile.h>
Data Structures | |
| struct | DiscoveredRTPInfo |
| class | DiscoveredRTPMap |
| struct | FileHeader |
| struct | RecordHeader |
Public Member Functions | |
| OpalPCAPFile () | |
| bool | Open (const PFilePath &filename) |
| bool | Restart () |
| void | PrintOn (ostream &strm) const |
| bool | ReadRawPacket (PBYTEArray &payload) |
| int | GetDataLink (PBYTEArray &payload) |
| int | GetIP (PBYTEArray &payload) |
| int | GetUDP (PBYTEArray &payload) |
| int | GetRTP (RTP_DataFrame &rtp) |
| const PTime & | GetPacketTime () const |
| const PIPSocket::Address & | GetSrcIP () const |
| const PIPSocket::Address & | GetDstIP () const |
| unsigned | IsFragmentated () const |
| WORD | GetSrcPort () const |
| WORD | GetDstPort () const |
| void | SetFilterSrcIP (const PIPSocket::Address &ip) |
| const PIPSocket::Address & | GetFilterSrcIP () const |
| void | SetFilterDstIP (const PIPSocket::Address &ip) |
| const PIPSocket::Address & | GetFilterDstIP () const |
| void | SetFilterSrcPort (WORD port) |
| WORD | GetFilterSrcPort () const |
| void | SetFilterDstPort (WORD port) |
| WORD | GetFilterDstPort () const |
| bool | DiscoverRTP (DiscoveredRTPMap &discoveredRTPMap) |
| void | SetFilters (const DiscoveredRTPInfo &rtp, int dir) |
| bool | SetFilters (const DiscoveredRTPMap &rtp, size_t index) |
| bool | SetPayloadMap (RTP_DataFrame::PayloadTypes pt, const OpalMediaFormat &format) |
| OpalMediaFormat | GetMediaFormat (const RTP_DataFrame &rtp) const |
Protected Member Functions | |
| PINDEX | GetNetworkLayerHeaderSize () |
Protected Attributes | |
| FileHeader | m_fileHeader |
| bool | m_otherEndian |
| PBYTEArray | m_rawPacket |
| PTime | m_packetTime |
| PIPSocket::Address | m_filterSrcIP |
| PIPSocket::Address | m_filterDstIP |
| PIPSocket::Address | m_packetSrcIP |
| PIPSocket::Address | m_packetDstIP |
| PBYTEArray | m_fragments |
| bool | m_fragmentated |
| unsigned | m_fragmentProto |
| WORD | m_filterSrcPort |
| WORD | m_filterDstPort |
| WORD | m_packetSrcPort |
| WORD | m_packetDstPort |
| std::map< RTP_DataFrame::PayloadTypes, OpalMediaFormat > | m_payloadType2mediaFormat |
Class for a reading RTP from an Ethernet Capture (PCAP) file.
| OpalPCAPFile::OpalPCAPFile | ( | ) |
| bool OpalPCAPFile::DiscoverRTP | ( | DiscoveredRTPMap & | discoveredRTPMap | ) |
| int OpalPCAPFile::GetDataLink | ( | PBYTEArray & | payload | ) |
|
inline |
References m_packetDstIP.
|
inline |
References m_packetDstPort.
|
inline |
References m_filterDstIP.
|
inline |
References m_filterDstPort.
|
inline |
References m_filterSrcIP.
|
inline |
References m_filterSrcPort.
| int OpalPCAPFile::GetIP | ( | PBYTEArray & | payload | ) |
| OpalMediaFormat OpalPCAPFile::GetMediaFormat | ( | const RTP_DataFrame & | rtp | ) | const |
|
protected |
|
inline |
References m_packetTime.
| int OpalPCAPFile::GetRTP | ( | RTP_DataFrame & | rtp | ) |
|
inline |
References m_packetSrcIP.
|
inline |
References m_packetSrcPort.
| int OpalPCAPFile::GetUDP | ( | PBYTEArray & | payload | ) |
|
inline |
References m_fragmentated.
| bool OpalPCAPFile::Open | ( | const PFilePath & | filename | ) |
| void OpalPCAPFile::PrintOn | ( | ostream & | strm | ) | const |
| bool OpalPCAPFile::ReadRawPacket | ( | PBYTEArray & | payload | ) |
| bool OpalPCAPFile::Restart | ( | ) |
|
inline |
References m_filterDstIP.
|
inline |
References m_filterDstPort.
| void OpalPCAPFile::SetFilters | ( | const DiscoveredRTPInfo & | rtp, |
| int | dir | ||
| ) |
| bool OpalPCAPFile::SetFilters | ( | const DiscoveredRTPMap & | rtp, |
| size_t | index | ||
| ) |
|
inline |
References m_filterSrcIP.
|
inline |
References m_filterSrcPort.
| bool OpalPCAPFile::SetPayloadMap | ( | RTP_DataFrame::PayloadTypes | pt, |
| const OpalMediaFormat & | format | ||
| ) |
|
protected |
|
protected |
Referenced by GetFilterDstIP(), and SetFilterDstIP().
|
protected |
Referenced by GetFilterDstPort(), and SetFilterDstPort().
|
protected |
Referenced by GetFilterSrcIP(), and SetFilterSrcIP().
|
protected |
Referenced by GetFilterSrcPort(), and SetFilterSrcPort().
|
protected |
Referenced by IsFragmentated().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by GetDstIP().
|
protected |
Referenced by GetDstPort().
|
protected |
Referenced by GetSrcIP().
|
protected |
Referenced by GetSrcPort().
|
protected |
Referenced by GetPacketTime().
|
protected |
|
protected |