diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2018-09-05 12:11:35 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-07 07:28:17 +0000 |
commit | 568cc4674e91bf1a4b6c7bf2a5889f38d08135a9 (patch) | |
tree | dcc2e8fc4b6cc8daac58b00bddfd9b43b5c8aa61 /extras/libmemif/src/libmemif.h | |
parent | 66bff59f7c8873e7f959e147cb69a731b4914edb (diff) |
libmemif: slave connecting bugfix
in case first connecting slave fails continue connecting others
add disconnect string to memif details
Change-Id: I9d83db4724de1cab60786dca566e004016cf1e59
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'extras/libmemif/src/libmemif.h')
-rw-r--r-- | extras/libmemif/src/libmemif.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/libmemif/src/libmemif.h b/extras/libmemif/src/libmemif.h index 32fda2ab386..1a5be01a99f 100644 --- a/extras/libmemif/src/libmemif.h +++ b/extras/libmemif/src/libmemif.h @@ -35,6 +35,7 @@ typedef enum MEMIF_ERR_SUCCESS = 0, /*!< success */ /* SYSCALL ERRORS */ MEMIF_ERR_SYSCALL, /*!< other syscall error */ + MEMIF_ERR_CONNREFUSED, /*!< connection refused */ MEMIF_ERR_ACCES, /*!< permission denied */ MEMIF_ERR_NO_FILE, /*!< file does not exist */ MEMIF_ERR_FILE_LIMIT, /*!< system open file limit */ @@ -354,6 +355,7 @@ typedef struct @param tx_queues_num - number of transmit queues @param rx_queues - struct containing receive queue details @param tx_queues - struct containing transmit queue details + @param error - error string @param link_up_down - 1 = up (connected), 2 = down (disconnected) */ typedef struct @@ -375,6 +377,7 @@ typedef struct memif_queue_details_t *rx_queues; memif_queue_details_t *tx_queues; + uint8_t *error; uint8_t link_up_down; /* 1 = up, 0 = down */ } memif_details_t; /** @} */ |