next up previous contents
Next: The Virtual IP module Up: The Virtual RIP module Previous: The Virtual RIP module   Contents

Inter-layer communications between VRIP and VIF

As mentionned in paragraph 2.2.1 ( the VIF module ) ; when an interface is added we create FIFOs for the interlayers communications. The VRIP module uses one couple of these FIFOs to send and receive messages with the VIF module. To send a VRIP packet, the VRIP module opens the corresponding interface's input FIFO and then writes the packet, This message will be read by the VIF module which continuousely polls messages from its input FIFOs. since there the VIF module will use the VDL primitives to send the message in the link. The reverse way communication ( reception of VRIP packets ) was shown in the VIF module paragraph 2.2.2 and fig. 2.3.

Last changed 2004-08-25.
Zrelli Saber. , Japan Advanced Institute of Science and Technology, Shinoda-lab
zrelli@jasit.ac.jp