#include <IPv6ControlInfo.h>
Public Member Functions | |
IPv6ControlInfo () | |
~IPv6ControlInfo () | |
IPv6ControlInfo (const IPv6ControlInfo &other) | |
IPv6ControlInfo & | operator= (const IPv6ControlInfo &other) |
virtual void | setOrigDatagram (IPv6Datagram *d) |
virtual IPv6Datagram * | removeOrigDatagram () |
Protected Attributes | |
IPv6Datagram * | dgram |
|
00031 : IPv6ControlInfo_Base() {dgram=NULL;}
|
|
00023 { 00024 delete dgram; 00025 }
|
|
|
|
00034 {IPv6ControlInfo_Base::operator=(other); return *this;}
|
|
00034 { 00035 if (!dgram) 00036 opp_error("IPv6ControlInfo::removeOrigDatagram(): no datagram attached " 00037 "(already removed, or maybe this IPv6ControlInfo does not come " 00038 "from the IPv6 module?)"); 00039 IPv6Datagram *ret = dgram; 00040 dgram = NULL; 00041 return ret; 00042 }
|
|
00027 { 00028 if (dgram) 00029 opp_error("IPv6ControlInfo::setOrigDatagram(): a datagram is already attached"); 00030 dgram = d; 00031 }
|
|
|