SimpleUDP.cc File Reference

#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 Documentation

#define EPHEMERAL_PORTRANGE_END   5000

#define EPHEMERAL_PORTRANGE_START   1024


Function Documentation

Define_Module ( SimpleUDP   ) 

static std::ostream& operator<< ( std::ostream &  os,
const SimpleUDP::SockDescList list 
) [static]

00077 {
00078     for (SimpleUDP::SockDescList::const_iterator i=list.begin();
00079          i!=list.end(); ++i)
00080         os << "sockId=" << (*i)->sockId << " ";
00081     return os;
00082 }

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 }


Generated on Fri Sep 19 13:05:05 2008 for ITM OverSim by  doxygen 1.5.5