diff options
author | 2020-01-08 13:49:16 +0000 | |
---|---|---|
committer | 2020-01-08 13:49:16 +0000 | |
commit | 61d8e9f5bd21cc621451123796bc0bb6aa1946a8 (patch) | |
tree | 36e1c85ff53fa3b3a523ddef64bce61e8308bf47 /hicn-plugin/src/faces/app | |
parent | da609e6596731cc2455f9f18c8ed47ec475c5224 (diff) | |
parent | a593c64e352c7ffbee8b06b4455b9708a149147e (diff) |
Merge "[HICN-462] Adding probing protocol to hicn-plugin"
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 * |