ICMPv6 error messages¶
ICMPv6 error message handling and creation.
-
void
gnrc_icmpv6_error_dst_unr_send
(uint8_t code, constinclude/net/gnrc/pkt.h::gnrc_pktsnip_t
* orig_pkt)¶ Sends an ICMPv6 destination unreachable message for sending.
Note
Won’t send if source address of
orig_pkt
is unspecified or multicastParameters
code: The . orig_pkt: The invoking packet.
-
void
gnrc_icmpv6_error_pkt_too_big_send
(uint32_t mtu, constinclude/net/gnrc/pkt.h::gnrc_pktsnip_t
* orig_pkt)¶ Sends an ICMPv6 packet too big message for sending.
Note
Won’t send if source address of
orig_pkt
is unspecified or multicastParameters
mtu: The maximum transission unit of the next-hop link. orig_pkt: The invoking packet.
-
void
gnrc_icmpv6_error_time_exc_send
(uint8_t code, constinclude/net/gnrc/pkt.h::gnrc_pktsnip_t
* orig_pkt)¶ Sends an ICMPv6 time exceeded message for sending.
Note
Won’t send if source address of
orig_pkt
is unspecified or multicastParameters
code: The . orig_pkt: The invoking packet.
-
void
gnrc_icmpv6_error_param_prob_send
(uint8_t code, void * ptr, constinclude/net/gnrc/pkt.h::gnrc_pktsnip_t
* orig_pkt)¶ Sends an ICMPv6 parameter problem message for sending.
Note
Won’t send if source address of
orig_pkt
is unspecified or multicastParameters
code: The . ptr: Pointer to the errorneous octet in orig_pkt
.orig_pkt: The invoking packet.