<< >>

Multicast Address Allocation

void avb_1722_maap_request_addresses(int num_addresses, char ?start_address[])

Request a range of multicast addresses.

This function requests a range of multicast addresses to use as destination addresses for IEEE 1722 streams. It starts the reservation process according to the 1722 MAAP protocol. If the reservation is successful it is reported via the status return value of avb_periodic().

Parameters:
  • num_addresses – number of addresses to try and reserve; will be reserved in a contiguous range
  • start_address – an optional six byte array specifying the required start address of the range; if argument is null then the start address will be picked at random
void avb_1722_maap_get_base_address(unsigned char addr[6])

Get the base address of the reserved range.

This function returns the first address of the reserved multicast address range.

Parameters:
  • addr – array to be filled with the 6-byte MAC address
void avb_1722_maap_get_offset_address(unsigned char addr[6], int offset)

Get the address offset into the reserved range.

This function returns a specific address within the reserved multicast address range.

Parameters:
  • addr – array to be filled with the 6-byte MAC address
  • offset – the offset into that range required