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

API for Managing the Multicast List. More...

Functions

int net_multicast_add (const uint8 mac[6])
 Add a entry to our multicast list.
 
int net_multicast_del (const uint8 mac[6])
 Delete a entry from our multicast list.
 
int net_multicast_check (const uint8 mac[6])
 Check if an address is on the multicast list.
 
int net_multicast_init (void)
 Init multicast support.
 
void net_multicast_shutdown (void)
 Shutdown multicast support.
 

Detailed Description

API for Managing the Multicast List.

Function Documentation

◆ net_multicast_add()

int net_multicast_add ( const uint8  mac[6])

Add a entry to our multicast list.

This function will auto-commit the multicast list to the network interface in the process.

Parameters
macThe MAC address to add.
Returns
0 on success, <0 on failure.

◆ net_multicast_check()

int net_multicast_check ( const uint8  mac[6])

Check if an address is on the multicast list.

Parameters
macThe MAC address to check for.
Return values
0The address is not in the list.
1The address is in the list.
-1On error.

◆ net_multicast_del()

int net_multicast_del ( const uint8  mac[6])

Delete a entry from our multicast list.

This function will auto-commit the multicast list to the network interface in the process.

Parameters
macThe MAC address to add.
Returns
0 on success, <0 on failure.

◆ net_multicast_init()

int net_multicast_init ( void  )

Init multicast support.

Returns
0 on success, !0 on error.

◆ net_multicast_shutdown()

void net_multicast_shutdown ( void  )

Shutdown multicast support.