Loading...
Searching...
No Matches

ICMPv6 echo message definitions. More...

Detailed Description

ICMPv6 echo message definitions.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file echo.h.

#include <inttypes.h>
#include "byteorder.h"
#include "net/gnrc/netif.h"
#include "net/gnrc/netif/hdr.h"
#include "net/ipv6/hdr.h"
#include "net/icmpv6.h"
+ Include dependency graph for echo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* gnrc_icmpv6_echo_rsp_handle_cb_t) (gnrc_pktsnip_t *pkt, int corrupt, uint32_t rtt_us, void *ctx)
 ICMPv6 echo response callback.
 

Functions

gnrc_pktsnip_tgnrc_icmpv6_echo_build (uint8_t type, uint16_t id, uint16_t seq, uint8_t *data, size_t data_len)
 Builds an ICMPv6 echo message of type type for sending.
 
void gnrc_icmpv6_echo_req_handle (gnrc_netif_t *netif, ipv6_hdr_t *ipv6_hdr, icmpv6_echo_t *echo, uint16_t len)
 ICMPv6 echo request handler.
 
int gnrc_icmpv6_echo_send (const gnrc_netif_t *netif, const ipv6_addr_t *addr, uint16_t id, uint16_t seq, uint8_t ttl, size_t len)
 Send out ICMPv6 echo request.
 
int gnrc_icmpv6_echo_rsp_handle (gnrc_pktsnip_t *pkt, size_t len, gnrc_icmpv6_echo_rsp_handle_cb_t cb, void *ctx)
 Parse ICMPv6 echo response.