Research Article
A Two-Level Communication Routing Algorithm Based on Vehicle Attribute Information for Vehicular Ad Hoc Network
Algorithm 4
How destination nodes send RREP.
| Operation Flow | | 1: Input: cluster information | | 2: If the is the source of the RREQ it received | | 3: if the and the node are in the same cluster | | 4: node sends RREP | | 5: free this RREQ | | 6: else | | 7: free this RREQ | | 8: else | | 9: if the destination node is the and the is the | | 10: node index sends RREP | | 11: free this RREQ | | 12: else | | 13: if is the | | 14: node sends RREP | | 15: free this RREQ | | 16: End |
|