ipop-project/controllers — pull request #11 by kyuhojeong (2014-06-08 01:43:12+00:00)
Title: Multihop

- New logging level "pktdump" is added. It is more detailed than debug and is for dump packet contents in hexadecimal format.

- Multihop mode is added
- When unknown address is arrived at tap, it is forwarded to controller. Then controller broadcast the "lookup_request" message with a configurable "ttl" field.
- If the network has the address within "ttl" hop count, the destination node reply with "lookup_reply" message with its every hopping nodes address record.
- If the address is not found within "ttl" hop count, after the given multihop time limit expires, the source node broadcast with increased "ttl" count.
- There is a hard limit on hop count ("multihop_hl"), so the "ttl" does not increase indefinitely.
- non-direct peer record is kept at "far_peers"
- lookup_req table keeps the record of pending or ongoing "lookup_request".

- Source route mode and distributed route mode(better naming requires).
- In source route mode, multihop route routing information is kept only at source node. And all the hopping node address is attached at the head of each packet for the multihop routing
- In distributed route mode, routing information distributed in each routing hop, so there is no modification on packet header. But the routing information is distributed across hopping nodes.