SimpleUDP.cc File Reference

#include <omnetpp.h>
#include <string.h>
#include <BootstrapOracleAccess.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]

00073 {
00074     for (SimpleUDP::SockDescList::const_iterator i=list.begin();
00075          i!=list.end(); ++i)
00076         os << "sockId=" << (*i)->sockId << " ";
00077     return os;
00078 }

static std::ostream& operator<< ( std::ostream &  os,
const SimpleUDP::SockDesc sd 
) [static]

00054 {
00055     os << "sockId=" << sd.sockId;
00056     os << " appGateIndex=" << sd.appGateIndex;
00057     os << " userId=" << sd.userId;
00058     os << " localPort=" << sd.localPort;
00059     if (sd.remotePort!=0)
00060         os << " remotePort=" << sd.remotePort;
00061     if (!sd.localAddr.isUnspecified())
00062         os << " localAddr=" << sd.localAddr;
00063     if (!sd.remoteAddr.isUnspecified())
00064         os << " remoteAddr=" << sd.remoteAddr;
00065     if (sd.interfaceId!=-1)
00066         os << " interfaceId=" << sd.interfaceId;
00067 
00068     return os;
00069 }


Generated on Thu Apr 17 13:19:27 2008 for ITM OverSim by  doxygen 1.5.3