ICMPv6 error message handling and creation.
More...
ICMPv6 error message handling and creation.
|
file | error.h |
| ICMPv6 error message definitions.
|
|
◆ gnrc_icmpv6_error_dst_unr_send()
void gnrc_icmpv6_error_dst_unr_send |
( |
uint8_t |
code, |
|
|
const gnrc_pktsnip_t * |
orig_pkt |
|
) |
| |
Sends an ICMPv6 destination unreachable message for sending.
- Precondition
orig_pkt
contains a packet snip of type GNRC_NETTYPE_IPV6
- Note
- Won't send if source address of
orig_pkt
is unspecified or multicast
- Parameters
-
◆ gnrc_icmpv6_error_param_prob_send()
void gnrc_icmpv6_error_param_prob_send |
( |
uint8_t |
code, |
|
|
void * |
ptr, |
|
|
const gnrc_pktsnip_t * |
orig_pkt |
|
) |
| |
Sends an ICMPv6 parameter problem message for sending.
- Precondition
orig_pkt
is in receive order.
-
orig_pkt
contains a packet snip of type GNRC_NETTYPE_IPV6
- Note
- Won't send if source address of
orig_pkt
is unspecified or multicast
- Parameters
-
[in] | code | The code for the message. |
[in] | ptr | Pointer to the erroneous octet in orig_pkt . |
[in] | orig_pkt | The invoking packet. |
◆ gnrc_icmpv6_error_pkt_too_big_send()
void gnrc_icmpv6_error_pkt_too_big_send |
( |
uint32_t |
mtu, |
|
|
const gnrc_pktsnip_t * |
orig_pkt |
|
) |
| |
Sends an ICMPv6 packet too big message for sending.
- Precondition
orig_pkt
contains a packet snip of type GNRC_NETTYPE_IPV6
- Note
- Won't send if source address of
orig_pkt
is unspecified or multicast
- Parameters
-
[in] | mtu | The maximum transission unit of the next-hop link. |
[in] | orig_pkt | The invoking packet. |
◆ gnrc_icmpv6_error_time_exc_send()
void gnrc_icmpv6_error_time_exc_send |
( |
uint8_t |
code, |
|
|
const gnrc_pktsnip_t * |
orig_pkt |
|
) |
| |
Sends an ICMPv6 time exceeded message for sending.
- Precondition
orig_pkt
contains a packet snip of type GNRC_NETTYPE_IPV6
- Note
- Won't send if source address of
orig_pkt
is unspecified or multicast
- Parameters
-