Zephyr API 3.6.99
Loading...
Searching...
No Matches

Struct presents parameters that are needed when sending Echo-Request (ping) messages. More...

#include <icmp.h>

Data Fields

uint16_t identifier
 An identifier to aid in matching Echo Replies to this Echo Request.
 
uint16_t sequence
 A sequence number to aid in matching Echo Replies to this Echo Request.
 
uint8_t tc_tos
 Can be either IPv4 Type-of-service field value, or IPv6 Traffic Class field value.
 
int priority
 Network packet priority.
 
const void * data
 Arbitrary payload data that will be included in the Echo Reply verbatim.
 
size_t data_size
 Size of the Payload Data in bytes.
 

Detailed Description

Struct presents parameters that are needed when sending Echo-Request (ping) messages.

Field Documentation

◆ data

const void* net_icmp_ping_params::data

Arbitrary payload data that will be included in the Echo Reply verbatim.

May be NULL.

◆ data_size

size_t net_icmp_ping_params::data_size

Size of the Payload Data in bytes.

May be zero. In case data pointer is NULL, the function will generate the payload up to the requested size.

◆ identifier

uint16_t net_icmp_ping_params::identifier

An identifier to aid in matching Echo Replies to this Echo Request.

May be zero.

◆ priority

int net_icmp_ping_params::priority

Network packet priority.

◆ sequence

uint16_t net_icmp_ping_params::sequence

A sequence number to aid in matching Echo Replies to this Echo Request.

May be zero.

◆ tc_tos

uint8_t net_icmp_ping_params::tc_tos

Can be either IPv4 Type-of-service field value, or IPv6 Traffic Class field value.

Represents combined DSCP and ECN values.


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