Definition in file SimpleUDP.cc.
#include <omnetpp.h>
#include <CommonMessages_m.h>
#include <GlobalNodeListAccess.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"
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) |
| #define EPHEMERAL_PORTRANGE_END 5000 |
| #define EPHEMERAL_PORTRANGE_START 1024 |
Definition at line 53 of file SimpleUDP.cc.
Referenced by SimpleUDP::getEphemeralPort(), and SimpleUDP::initialize().
| Define_Module | ( | SimpleUDP | ) |
| static std::ostream& operator<< | ( | std::ostream & | os, | |
| const SimpleUDP::SockDescList & | list | |||
| ) | [static] |
Definition at line 79 of file SimpleUDP.cc.
00081 { 00082 for (SimpleUDP::SockDescList::const_iterator i=list.begin(); 00083 i!=list.end(); ++i) 00084 os << "sockId=" << (*i)->sockId << " "; 00085 return os; 00086 }
| static std::ostream& operator<< | ( | std::ostream & | os, | |
| const SimpleUDP::SockDesc & | sd | |||
| ) | [static] |
Definition at line 60 of file SimpleUDP.cc.
00062 { 00063 os << "sockId=" << sd.sockId; 00064 os << " appGateIndex=" << sd.appGateIndex; 00065 os << " userId=" << sd.userId; 00066 os << " localPort=" << sd.localPort; 00067 if (sd.remotePort!=0) 00068 os << " remotePort=" << sd.remotePort; 00069 if (!sd.localAddr.isUnspecified()) 00070 os << " localAddr=" << sd.localAddr; 00071 if (!sd.remoteAddr.isUnspecified()) 00072 os << " remoteAddr=" << sd.remoteAddr; 00073 if (sd.interfaceId!=-1) 00074 os << " interfaceId=" << sd.interfaceId; 00075 00076 return os; 00077 }
1.5.5