3 * - By John Hodge (thePowersGang)
6 * - Internet Control Message Protocol v6
11 #define IPV6PROT_ICMPV6 58
17 } PACKED tICMPv6_Header;
26 Uint16 RouterLifetime; // Seconds, life time as a default router (wtf does that mean?)
28 Uint32 RetransTimer; // Miliseconds, time between transmissions of RAs from this router
47 tIPv6 DestinationAddress;
49 } PACKED tICMPv6_Redirect;
53 Uint8 Length; // Length of field in units of 8 bytes (incl header), typically 1
55 } PACKED tICMPv6_Opt_LinkAddr;
59 Uint8 Length; // Length of field in units of 8 bytes (incl header), typically
61 Uint8 Flags; // L:A:6 -
63 Uint32 PreferredLifetime;
66 } PACKED tICMPv6_Opt_Prefix;
73 Uint8 Data[]; // All or part of the redirected message (not exceeding MTU)
74 } PACKED tICMPv6_Opt_Redirect;
81 } PACKED tICMPv6_Opt_MTU;
84 ICMPV6_ERR_UNREACHABLE,
85 ICMPV6_ERR_PACKET_TOO_BIG,
86 ICMPV6_ERR_TIME_EXCEEDED,
87 ICMPV6_ERR_PARAMETER_PROBLEM,
90 ICMPV6_INFO_ECHO_REQUEST = 128,
91 ICMPV6_INFO_ECHO_REPLY,
93 ICMPV6_INFO_ROUTER_SOLICITATION = 133,
94 ICMPV6_INFO_ROUTER_ADVERTISEMENT,
95 ICMPV6_INFO_NEIGHBOUR_SOLICITATION,
96 ICMPV6_INFO_NEIGHBOUR_ADVERTISMENT,
101 ICMPV6_OPTION_SRCLINK = 1,
102 ICMPV6_OPTION_TGTLINK,
103 ICMPV6_OPTION_PREFIX,
104 ICMPV6_OPTION_REDIRECTED_HDR,