#include <omnetpp.h>
#include <CommonMessages_m.h>
#include <GlobalNodeListAccess.h>
#include <GlobalStatisticsAccess.h>
#include <SimpleInfo.h>
#include "UDPPacket.h"
#include "SimpleUDP.h"
#include "IPControlInfo.h"
#include "IPv6ControlInfo.h"
#include "IPAddressResolver.h"
#include "IPDatagram_m.h"
#include "IPv6Datagram_m.h"
Go to the source code of this file.
Defines | |
#define | EPHEMERAL_PORTRANGE_START 1024 |
#define | EPHEMERAL_PORTRANGE_END 5000 |
Functions | |
Define_Module (SimpleUDP) | |
static std::ostream & | operator<< (std::ostream &os, const SimpleUDP::SockDesc &sd) |
static std::ostream & | operator<< (std::ostream &os, const SimpleUDP::SockDescList &list) |
Definition in file SimpleUDP.cc.
#define EPHEMERAL_PORTRANGE_END 5000 |
Definition at line 50 of file SimpleUDP.cc.
#define EPHEMERAL_PORTRANGE_START 1024 |
Definition at line 49 of file SimpleUDP.cc.
Define_Module | ( | SimpleUDP | ) |
static std::ostream& operator<< | ( | std::ostream & | os, | |
const SimpleUDP::SockDescList & | list | |||
) | [static] |
Definition at line 77 of file SimpleUDP.cc.
{ for (SimpleUDP::SockDescList::const_iterator i=list.begin(); i!=list.end(); ++i) os << "sockId=" << (*i)->sockId << " "; return os; }
static std::ostream& operator<< | ( | std::ostream & | os, | |
const SimpleUDP::SockDesc & | sd | |||
) | [static] |
Definition at line 58 of file SimpleUDP.cc.
{ os << "sockId=" << sd.sockId; os << " appGateIndex=" << sd.appGateIndex; os << " userId=" << sd.userId; os << " localPort=" << sd.localPort; if (sd.remotePort!=0) os << " remotePort=" << sd.remotePort; if (!sd.localAddr.isUnspecified()) os << " localAddr=" << sd.localAddr; if (!sd.remoteAddr.isUnspecified()) os << " remoteAddr=" << sd.remoteAddr; if (sd.interfaceId!=-1) os << " interfaceId=" << sd.interfaceId; return os; }