diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-03-04 12:42:19 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-04 14:06:37 +0000 |
commit | 84b83776d3843b5eaf50dbd40007987d77ad2490 (patch) | |
tree | 500b36e05e21179274755178889596a17bcbe5cb /extras/libmemif/src/memif_private.h | |
parent | 608996d2bdaa0846ce490252fb8579b70350391e (diff) |
libmemif: Connection request APIs
Add APIs that allow changing reconnect timer and request connection.
First connection request is automatically sent once slave interface is created.
Change-Id: Ie3558b7b94a780b046755f7f0ac6c3dcf07633e4
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'extras/libmemif/src/memif_private.h')
-rw-r--r-- | extras/libmemif/src/memif_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/libmemif/src/memif_private.h b/extras/libmemif/src/memif_private.h index deca80c3350..64d5bb80c86 100644 --- a/extras/libmemif/src/memif_private.h +++ b/extras/libmemif/src/memif_private.h @@ -42,6 +42,8 @@ _Static_assert (strlen (MEMIF_DEFAULT_APP_NAME) <= MEMIF_NAME_LEN, #define MEMIF_DEFAULT_RX_QUEUES 1 #define MEMIF_DEFAULT_TX_QUEUES 1 #define MEMIF_DEFAULT_BUFFER_SIZE 2048 +#define MEMIF_DEFAULT_RECONNECT_PERIOD_SEC 2 +#define MEMIF_DEFAULT_RECONNECT_PERIOD_NSEC 0 #define MEMIF_MAX_M2S_RING 255 #define MEMIF_MAX_S2M_RING 255 |