Icmpv6SendErrorReq¶
Namespace: inet
class Icmpv6SendErrorReq
Request tag: asks the ICMPv6 module to send an ICMPv6 error message. Attached to a Request sent to ICMPv6 via the MessageDispatcher.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn’t have any fields. |
Fields¶
Name |
Type |
Description |
|---|---|---|
type |
ICMPv6 type (e.g. ICMPv6_DESTINATION_UNREACHABLE) |
|
code |
int |
ICMPv6 code (e.g. PORT_UNREACHABLE) |
originalPacket |
Packet * |
the packet that triggered the error |
Properties¶
Name |
Value |
Description |
|---|---|---|
existingClass |
Source code¶
//
// Request tag: asks the ICMPv6 module to send an ICMPv6 error message.
// Attached to a Request sent to ICMPv6 via the MessageDispatcher.
//
class Icmpv6SendErrorReq extends TagBase
{
Icmpv6Type type; // ICMPv6 type (e.g. ICMPv6_DESTINATION_UNREACHABLE)
int code; // ICMPv6 code (e.g. PORT_UNREACHABLE)
Packet *originalPacket @owned; // the packet that triggered the error
}