|
INET Framework for OMNeT++/OMNEST
|
Classes | |
| class | IPAddress |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const IPAddress &ip) |
| void | doPacking (cCommBuffer *buf, const IPAddress &addr) |
| void | doUnpacking (cCommBuffer *buf, IPAddress &addr) |
Variables | |
| const short | PORT_UNDEF = 0 |
| const short | PORT_MAX = 0x7fff |
| void doPacking | ( | cCommBuffer * | buf, |
| const IPAddress & | addr | ||
| ) | [inline] |
Referenced by doPacking(), and TCPSegment::parsimPack().
{
buf->pack(addr.getInt());
}
| void doUnpacking | ( | cCommBuffer * | buf, |
| IPAddress & | addr | ||
| ) | [inline] |
Referenced by doUnpacking(), and TCPSegment::parsimUnpack().
{
int32 d; buf->unpack(d); addr.set(d);
}
| std::ostream& operator<< | ( | std::ostream & | os, |
| const IPAddress & | ip | ||
| ) | [inline] |
{
return os << ip.str();
}
| const short PORT_MAX = 0x7fff |
| const short PORT_UNDEF = 0 |