The RECEIVE_PACKET component of the user-provided MPCI layer is called when RTEMS needs to obtain a packet which has previously arrived. This component should be adhere to the following prototype:
rtems_mpci_entry user_mpci_receive_packet( rtems_packet_prefix **packet );
where packet is a pointer to the address of a packet to place the message from another node. If a message is available, then packet will contain the address of the message from another node. If no messages are available, this entry packet should contain NULL.
Copyright © 1988-2008 OAR Corporation