#include <omnetpp.h>
#include <string.h>
#include "INETDefs.h"
#include "IPAddress.h"
#include "IPv6Address.h"
Go to the source code of this file.
Classes | |
class | IPvXAddress |
Functions | |
std::ostream & | operator<< (std::ostream &os, const IPvXAddress &ip) |
void | doPacking (cCommBuffer *buf, const IPvXAddress &addr) |
void | doUnpacking (cCommBuffer *buf, IPvXAddress &addr) |
void doPacking | ( | cCommBuffer * | buf, | |
const IPvXAddress & | addr | |||
) | [inline] |
void doUnpacking | ( | cCommBuffer * | buf, | |
IPvXAddress & | addr | |||
) | [inline] |
Definition at line 275 of file IPvXAddress.h.
{ if (buf->checkFlag()) { IPv6Address tmp; doUnpacking(buf, tmp); addr.set(tmp); } else { IPAddress tmp; doUnpacking(buf, tmp); addr.set(tmp); } }
std::ostream& operator<< | ( | std::ostream & | os, | |
const IPvXAddress & | ip | |||
) | [inline] |
Definition at line 262 of file IPvXAddress.h.
{ return os << ip.str(); }