@@ -9,7 +9,6 @@ import inet.common.TagBase;
99import inet.common.packet .chunk.Chunk;
1010import inet.common.packet .Packet;
1111import inet.networklayer.ipv4.IcmpHeader;
12- import inet.networklayer.icmpv6.Icmpv6Header;
1312
1413namespace inet;
1514
@@ -26,19 +25,6 @@ class Icmpv4ErrorInd extends TagBase
2625 Packet *originalPacket @owned ; // progressively unwrapped quoted packet
2726}
2827
29- //
30- // ICMPv6 error indication. Attached by the Icmpv6 module when an ICMPv6 error
31- // message is received. Each layer pops its own header from the original
32- // packet and converts it to tags before forwarding the indication upward.
33- //
34- class Icmpv6ErrorInd extends TagBase
35- {
36- Icmpv6Type type; // ICMPv6 type (e.g. ICMPv6_PACKET_TOO_BIG)
37- int code; // ICMPv6 code
38- int mtu = -1; // only relevant for Packet Too Big
39- Packet *originalPacket @owned ; // progressively unwrapped quoted packet
40- }
41-
4228//
4329// Request tag: asks the ICMP module to send an ICMPv4 error message.
4430// Attached to a Request sent to ICMP via the MessageDispatcher.
@@ -49,14 +35,3 @@ class Icmpv4SendErrorReq extends TagBase
4935 int code; // ICMPv4 code (e.g. ICMP_DU_PORT_UNREACHABLE)
5036 Packet *originalPacket @owned ; // the packet that triggered the error
5137}
52-
53- //
54- // Request tag: asks the ICMPv6 module to send an ICMPv6 error message.
55- // Attached to a Request sent to ICMPv6 via the MessageDispatcher.
56- //
57- class Icmpv6SendErrorReq extends TagBase
58- {
59- Icmpv6Type type; // ICMPv6 type (e.g. ICMPv6_DESTINATION_UNREACHABLE)
60- int code; // ICMPv6 code (e.g. PORT_UNREACHABLE)
61- Packet *originalPacket @owned ; // the packet that triggered the error
62- }
0 commit comments