#include <omnetpp.h>
#include <CommonMessages_m.h>
#include <BootstrapOracleAccess.h>
#include <GlobalStatisticsAccess.h>
#include <SimpleInfo.h>
#include "SimpleUDPPacket.h"
#include "SimpleUDP.h"
#include "IPControlInfo.h"
#include "IPv6ControlInfo.h"
#include "ICMPAccess.h"
#include "ICMPv6Access.h"
#include "IPAddressResolver.h"
#include "ICMPMessage_m.h"
#include "ICMPv6Message_m.h"
#include "IPDatagram_m.h"
#include "IPv6Datagram_m.h"
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) |
#define EPHEMERAL_PORTRANGE_END 5000 |
Referenced by SimpleUDP::getEphemeralPort().
#define EPHEMERAL_PORTRANGE_START 1024 |
Referenced by SimpleUDP::getEphemeralPort(), and SimpleUDP::initialize().
Define_Module | ( | SimpleUDP | ) |
static std::ostream& operator<< | ( | std::ostream & | os, | |
const SimpleUDP::SockDescList & | list | |||
) | [static] |
static std::ostream& operator<< | ( | std::ostream & | os, | |
const SimpleUDP::SockDesc & | sd | |||
) | [static] |
00058 { 00059 os << "sockId=" << sd.sockId; 00060 os << " appGateIndex=" << sd.appGateIndex; 00061 os << " userId=" << sd.userId; 00062 os << " localPort=" << sd.localPort; 00063 if (sd.remotePort!=0) 00064 os << " remotePort=" << sd.remotePort; 00065 if (!sd.localAddr.isUnspecified()) 00066 os << " localAddr=" << sd.localAddr; 00067 if (!sd.remoteAddr.isUnspecified()) 00068 os << " remoteAddr=" << sd.remoteAddr; 00069 if (sd.interfaceId!=-1) 00070 os << " interfaceId=" << sd.interfaceId; 00071 00072 return os; 00073 }