next up previous contents
Next: The Virtual RIP module Up: The Virtual ARP module Previous: The VARP module functionality   Contents

Inter-layer communications between VARP 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 VARP module uses one couple of these FIFOs to send and receive messages with the VIF module. To send a VARP packet, the VARP 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 VARP 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