#include <omnetpp.h>#include <iostream>#include <string>#include "INETDefs.h"Go to the source code of this file.
Classes | |
| class | IPAddress |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const IPAddress &ip) |
| void | doPacking (cCommBuffer *buf, const IPAddress &addr) |
| void | doUnpacking (cCommBuffer *buf, IPAddress &addr) |
Variables | |
| const short | PORT_UNDEF = 0 |
| const short | PORT_MAX = 0x7fff |
| void doPacking | ( | cCommBuffer * | buf, | |
| const IPAddress & | addr | |||
| ) | [inline] |
Definition at line 258 of file IPAddress.h.
Referenced by doPacking(), and TCPSegment::parsimPack().
{
buf->pack(addr.getInt());
}
| void doUnpacking | ( | cCommBuffer * | buf, | |
| IPAddress & | addr | |||
| ) | [inline] |
Definition at line 263 of file IPAddress.h.
Referenced by doUnpacking(), and TCPSegment::parsimUnpack().
{
int32 d; buf->unpack(d); addr.set(d);
}
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const IPAddress & | ip | |||
| ) | [inline] |
Definition at line 253 of file IPAddress.h.
{
return os << ip.str();
}
| const short PORT_MAX = 0x7fff |
Definition at line 39 of file IPAddress.h.
| const short PORT_UNDEF = 0 |
TCP/UDP port numbers
Definition at line 38 of file IPAddress.h.
Referenced by RTPProfile::initialize(), RTCP::processIncomingRTCPPacket(), RTCP::processIncomingRTPPacket(), RTP::profileInitialized(), RTPInnerPacket::RTPInnerPacket(), RTPInterfacePacket::RTPInterfacePacket(), and RTPParticipantInfo::RTPParticipantInfo().
1.7.1