Icmpv6ErrorInd¶
Namespace: inet
class Icmpv6ErrorInd
ICMPv6 error indication. Attached by the Icmpv6 module when an ICMPv6 error message is received. Each layer pops its own header from the original packet and converts it to tags before forwarding the indication upward.
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_PACKET_TOO_BIG) |
|
code |
int |
ICMPv6 code |
mtu |
int |
only relevant for Packet Too Big |
originalPacket |
Packet * |
progressively unwrapped quoted packet |
Properties¶
Name |
Value |
Description |
|---|---|---|
existingClass |
Source code¶
//
// ICMPv6 error indication. Attached by the Icmpv6 module when an ICMPv6 error
// message is received. Each layer pops its own header from the original
// packet and converts it to tags before forwarding the indication upward.
//
class Icmpv6ErrorInd extends TagBase
{
Icmpv6Type type; // ICMPv6 type (e.g. ICMPv6_PACKET_TOO_BIG)
int code; // ICMPv6 code
int mtu = -1; // only relevant for Packet Too Big
Packet *originalPacket @owned; // progressively unwrapped quoted packet
}