KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

API for the Internet Control Message Protocol. More...

Modules

 ICMPv4
 API for v4 of the Internet Control Message Protocol.
 
 ICMPv6
 API for v6 of the Internet Control Message Protocol.
 

Functions

int net_icmp_send_time_exceeded (netif_t *net, uint8 code, const uint8 *msg)
 Send an ICMP Time Exceeded packet in reply to the given message.
 

Variables

net_echo_cb net_icmp_echo_cb
 Where will we handle possibly notifying the user of ping replies?
 

Detailed Description

API for the Internet Control Message Protocol.

Function Documentation

◆ net_icmp_send_time_exceeded()

int net_icmp_send_time_exceeded ( netif_t net,
uint8  code,
const uint8 msg 
)

Send an ICMP Time Exceeded packet in reply to the given message.

Parameters
netThe network device to use.
codeThe type of message this is.
msgThe message that caused this error.
Returns
0 on success, <0 on failure.

Variable Documentation

◆ net_icmp_echo_cb

net_echo_cb net_icmp_echo_cb
extern

Where will we handle possibly notifying the user of ping replies?