|
INET Framework for OMNeT++/OMNEST
|
#include "inet/common/precompiled_debug.h"#include "inet/opp_defines.h"#include "inet/features.h"#include "inet/common/Compat.h"#include "inet/common/InitStages.h"Namespaces | |
| inet | |
| Copyright (c) 2005 Jan Ringo�, www.ringos.cz. | |
Macros | |
| #define | INET_VERSION 0x0306 |
| #define | INET_PATCH_LEVEL 0x00 |
| #define | INET_API |
| #define | SPEED_OF_LIGHT 299792458.0 |
| #define | RNGCONTEXT (cSimulation::getActiveSimulation()->getContext())-> |
| #define | FINGERPRINT_ADD_EXTRA_DATA(x) { if (cFingerprintCalculator *fpc = getSimulation()->getFingerprintCalculator()) fpc->addExtraData(x); } |
| #define | FINGERPRINT_ADD_EXTRA_DATA2(x, y) { if (cFingerprintCalculator *fpc = getSimulation()->getFingerprintCalculator()) fpc->addExtraData(x, y); } |
| #define | CHK(x) __checknull((x), #x, __FILE__, __LINE__) |
| #define | PK(msg) check_and_cast<cPacket *>(msg) /*XXX temp def*/ |
| #define | TIME(CODE) { long startTime = clock(); CODE; printElapsedTime( #CODE, startTime); } |
Typedefs | |
| typedef unsigned short | inet::ushort |
| typedef unsigned int | inet::uint |
| typedef unsigned long | inet::ulong |
Functions | |
| template<class T > | |
| T * | inet::__checknull (T *p, const char *expr, const char *file, int line) |
| void | inet::printElapsedTime (const char *name, long startTime) |
| #define CHK | ( | x | ) | __checknull((x), #x, __FILE__, __LINE__) |
| #define FINGERPRINT_ADD_EXTRA_DATA | ( | x | ) | { if (cFingerprintCalculator *fpc = getSimulation()->getFingerprintCalculator()) fpc->addExtraData(x); } |
| #define FINGERPRINT_ADD_EXTRA_DATA2 | ( | x, | |
| y | |||
| ) | { if (cFingerprintCalculator *fpc = getSimulation()->getFingerprintCalculator()) fpc->addExtraData(x, y); } |
Referenced by inet::VoIPStreamReceiver::decodePacket().
| #define INET_API |
| #define INET_PATCH_LEVEL 0x00 |
| #define INET_VERSION 0x0306 |
| #define PK | ( | msg | ) | check_and_cast<cPacket *>(msg) /*XXX temp def*/ |
Referenced by inet::Sink::handleMessage(), inet::TCPSinkApp::handleMessage(), inet::EtherMACFullDuplex::handleMessage(), inet::TCPDump::handleMessage(), inet::AbstractQueue::handleMessage(), inet::EtherEncap::handleMessage(), inet::ieee80211::Ieee80211MgmtBase::handleMessage(), inet::Loopback::handleMessage(), inet::ThruputMeter::handleMessage(), inet::EtherLLC::handleMessage(), inet::IPvXTrafGen::handleMessage(), inet::PacketDrillApp::handleMessage(), inet::PPP::handleMessage(), inet::SCTPServer::handleMessage(), inet::SCTPNatPeer::handleMessage(), inet::SCTPPeer::handleMessage(), inet::UDP::handleMessage(), inet::IPv4::handleMessage(), inet::rtp::RTCP::handleMessageFromUDP(), inet::LayeredProtocolBase::handleMessageWhenUp(), inet::UDPEchoApp::handleMessageWhenUp(), inet::UDPVideoStreamCli::handleMessageWhenUp(), inet::UDPSink::handleMessageWhenUp(), inet::UDPBasicApp::handleMessageWhenUp(), inet::UDPBasicBurst::handleMessageWhenUp(), inet::SCTPPeer::handleTimer(), inet::tcp::TCPConnection::process_SEND(), inet::sctp::SCTPAssociation::process_SEND(), inet::sctp::SCTPAssociation::processAddInAndOutResetRequestArrived(), inet::SCTPSocket::processMessage(), inet::TCPSocket::processMessage(), inet::sctp::SCTPAssociation::processOutAndResponseArrived(), inet::sctp::SCTPAssociation::processOutgoingResetRequestArrived(), inet::sctp::SCTPAssociation::processResetResponseArrived(), inet::sctp::SCTPAssociation::sendAddInAndOutStreamsRequest(), inet::sctp::SCTPAssociation::sendAddOutgoingStreamsRequest(), inet::sctp::SCTPAssociation::sendBundledOutgoingResetAndResponse(), inet::SCTPNatServer::sendInfo(), inet::sctp::SCTPAssociation::sendOutgoingRequestAndResponse(), inet::sctp::SCTPAssociation::sendOutgoingResetRequest(), inet::sctp::SCTPAssociation::sendStreamResetRequest(), and inet::PacketDrillApp::syscallRecvFrom().
| #define RNGCONTEXT (cSimulation::getActiveSimulation()->getContext())-> |
Referenced by inet::httptools::rdNormal::draw(), inet::httptools::rdUniform::draw(), inet::httptools::rdExponential::draw(), inet::httptools::rdHistogram::draw(), inet::httptools::rdZipf::draw(), inet::IPv6InterfaceData::generateReachableTime(), inet::ospf::InterfaceStateDown::processEvent(), inet::sctp::SCTPPathVariables::SCTPPathVariables(), inet::sctp::SCTPAssociation::sendInit(), inet::sctp::SCTPAssociation::sendInitAck(), inet::sctp::SCTPAssociation::sendOnAllPaths(), inet::sctp::SCTPAssociation::streamSchedulerRandomPacket(), and inet::physicallayer::ConvolutionalCoder::updateTrellisGraph().
| #define SPEED_OF_LIGHT 299792458.0 |
| #define TIME | ( | CODE | ) | { long startTime = clock(); CODE; printElapsedTime( #CODE, startTime); } |