diff options
author | 2020-04-22 18:29:52 +0200 | |
---|---|---|
committer | 2020-05-04 11:32:01 +0200 | |
commit | c1b56d5861829a23289f42cecd716e681b520cf0 (patch) | |
tree | 05a78211549d5581c4f50f6e9647467cbebe548a /hicn-plugin/src/hicn.c | |
parent | 0c7f490009e8633e015b5cba48b78cc243254953 (diff) |
[HICN-602] Added bidirectional udp tunnels
- Implemented a udp decapsulation node
- Added a hash table to identify the incoming udp tunnel when
an interest or data packets are received
- Added udp punting through udp_register_dst_port
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Iffea4d81c5ea8ce8ccbbfd749113f06a698a2afe
Diffstat (limited to 'hicn-plugin/src/hicn.c')
-rw-r--r-- | hicn-plugin/src/hicn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-plugin/src/hicn.c b/hicn-plugin/src/hicn.c index e12d6d923..7bcbf5094 100644 --- a/hicn-plugin/src/hicn.c +++ b/hicn-plugin/src/hicn.c @@ -25,7 +25,7 @@ #include "error.h" #include "faces/app/address_mgr.h" #include "face_db.h" -//#include "faces/udp/face_udp.h" +#include "udp_tunnels/udp_tunnel.h" #include "route.h" hicn_main_t hicn_main; @@ -236,6 +236,8 @@ hicn_init (vlib_main_t * vm) /* Init the route module */ hicn_route_init (); + udp_tunnel_init (); + return error; } |