aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/route.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2020-03-16 15:26:41 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2020-03-20 16:51:26 +0100
commitb0d6cebaa0f45735a0c75a6c309aa84b550f12ad (patch)
tree6d2c6ed4519e18919df3cd3845317958342ba28a /hicn-plugin/src/route.h
parent1c15bf737788e31e46efd930d6a2a76253cde29a (diff)
[HICN-549] Refactored pg to use punting through fib
- interest packet generator uses the fib to forward interests. The entry in the fib matching the interest name can be a regular IP fib entry or an hICN fib entry. It is up to who configure the forwarder to chose how the forwarding should be done - the hicnpg-data is used to keep track of the number of data received in order to have statistics corresponding to the number of interests sent and data received (interest satisfied). This node punt packet registers himself as a node for satisfying local tcp packets (ip4_register_protocol or ip6_register_protocol), therefore tcp packets carrying a local address will be forwarded to it. - The hicnpg-server node satisfies interest packets by creating the correspoding data packet. It punts packet by using a feature on the interface that is passed in the configuration. Every packet that arrives on such interface is threated as an hICN interest. Change-Id: I75ffec4ce0a5afeaf321bcc48dd13fd307dd2925 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/route.h')
0 files changed, 0 insertions, 0 deletions