diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-12-19 17:30:57 +0100 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2020-01-07 17:43:46 +0100 |
commit | a593c64e352c7ffbee8b06b4455b9708a149147e (patch) | |
tree | 19b2368f90a345b1756664566ac3135c5fb6177e /hicn-plugin/src/faces/app | |
parent | 724ca3128c772c76df20571211a77e7566285ff6 (diff) |
[HICN-462] Adding probing protocol to hicn-plugin
Change-Id: I44bc9aed26d35fadf66f65aa33a8d7880e149e59
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/faces/app')
-rw-r--r-- | hicn-plugin/src/faces/app/face_prod.c | 2 | ||||
-rw-r--r-- | hicn-plugin/src/faces/app/face_prod.h | 2 | ||||
-rw-r--r-- | hicn-plugin/src/faces/app/face_prod_node.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/hicn-plugin/src/faces/app/face_prod.c b/hicn-plugin/src/faces/app/face_prod.c index 14e100adc..c183d6589 100644 --- a/hicn-plugin/src/faces/app/face_prod.c +++ b/hicn-plugin/src/faces/app/face_prod.c @@ -307,7 +307,7 @@ hicn_face_prod_del (hicn_face_id_t face_id) hicn_route_del_nhop (&(face_state_vec[face->shared.sw_if].prefix), face_id); - /* + /* * Delete the content in the CS before deleting the face. * Mandatory to prevent hitting the CS and not having the lru list * due to a early deletion of the face. diff --git a/hicn-plugin/src/faces/app/face_prod.h b/hicn-plugin/src/faces/app/face_prod.h index 74c62c3bb..33e2a4199 100644 --- a/hicn-plugin/src/faces/app/face_prod.h +++ b/hicn-plugin/src/faces/app/face_prod.h @@ -54,6 +54,8 @@ typedef struct extern hicn_face_prod_state_t *face_state_vec; +#define DEFAULT_PROBING_PORT 3784 + typedef struct __attribute__ ((packed)) hicn_face_prod_t_ { hicn_face_ip_t ip_face; diff --git a/hicn-plugin/src/faces/app/face_prod_node.c b/hicn-plugin/src/faces/app/face_prod_node.c index c92585624..48e7c4259 100644 --- a/hicn-plugin/src/faces/app/face_prod_node.c +++ b/hicn-plugin/src/faces/app/face_prod_node.c @@ -317,7 +317,6 @@ VLIB_REGISTER_NODE(hicn_face_prod_input_node) = }; /* *INDENT-ON* */ - /* * fd.io coding-style-patch-verification: ON * |