# ping_cbargs Struct Reference

`#include <icmp.h>`

Collaboration diagram for ping_cbargs:

[legend]

## Data Fields
sockaddr_in6_t | src
int8_t | rssi
uint16_t | delay
uint8_t | len
const char * | ping_reply
int8_t | error
uint8_t | done

## Field Documentation

sockaddr_in6_t ping_cbargs::src

source address of the ping reply

int8_t ping_cbargs::rssi

Received signal strength if src is 1-hop away.

uint16_t ping_cbargs::delay

Ping delay in milliseconds.

uint8_t ping_cbargs::len

Length of the ping reply in bytes.

const char* ping_cbargs::ping_reply

String buffer that contains a user readable text message to show the result of the Reply. For example, "12 bytes from fe80::17:3b00:0:15 rssi=-35 dBm delay=135ms" or "Request timed out".

int8_t ping_cbargs::error

Ping errors: SUCCESS, ETIMEOUT, ENETUNREACH. See ErrnoEnum.

uint8_t ping_cbargs::done

True if this is the last signal for ping

The documentation for this struct was generated from the following file:

- icmp.h