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

API for the User Datagram Protocol More...

Topics

 UDP Options
 UDP protocol level options
 
 UDP-Lite Options
 UDP-Lite protocol level options
 

Files

file  udp.h
 Definitions for the User Datagram Protocol.
 
file  udplite.h
 Definitions for UDP-Lite.
 

Data Structures

struct  net_udp_stats_t
 UDP statistics structure. More...
 

Functions

net_udp_stats_t net_udp_get_stats (void)
 Retrieve statistics from the UDP layer.
 
int net_udp_init (void)
 Init UDP.
 
void net_udp_shutdown (void)
 Shutdown UDP.
 

Detailed Description

API for the User Datagram Protocol

Function Documentation

◆ net_udp_get_stats()

net_udp_stats_t net_udp_get_stats ( void )

Retrieve statistics from the UDP layer.

Returns
The global UDP stats struct.

◆ net_udp_init()

int net_udp_init ( void )

Init UDP.

Return values
0On success (no error conditions defined).

◆ net_udp_shutdown()

void net_udp_shutdown ( void )

Shutdown UDP.