#include <omnetpp.h>
#include <string.h>
#include "INETDefs.h"
#include "IPAddress.h"
#include "IPv6Address.h"
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] |
00264 { 00265 if (buf->checkFlag()) { 00266 IPv6Address tmp; 00267 doUnpacking(buf, tmp); 00268 addr.set(tmp); 00269 } 00270 else { 00271 IPAddress tmp; 00272 doUnpacking(buf, tmp); 00273 addr.set(tmp); 00274 } 00275 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const IPvXAddress & | ip | |||
) | [inline] |