summaryrefslogtreecommitdiffstats
path: root/src/vcl/sock_test.h
diff options
context:
space:
mode:
authorKeith Burns (alagalah) <alagalah@gmail.com>2018-03-23 13:42:49 -0700
committerFlorin Coras <florin.coras@gmail.com>2018-04-12 20:33:02 +0000
commit410bcca41c1a3e7c3d4b4c2940120f9b21732d49 (patch)
treee79249ffbad91f744d15261b2003eea64bff9e2c /src/vcl/sock_test.h
parentba1e158082048640686ec0b7791126c9e5c4e0fc (diff)
VCL IOEvent external API callback
Change-Id: I417357b00c43b27872aa3f681335bdc1ef574eca Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vcl/sock_test.h')
-rw-r--r--src/vcl/sock_test.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vcl/sock_test.h b/src/vcl/sock_test.h
index f9f5c7070b2..26dc3f1e653 100644
--- a/src/vcl/sock_test.h
+++ b/src/vcl/sock_test.h
@@ -65,6 +65,7 @@ typedef enum
typedef struct __attribute__ ((packed))
{
uint32_t magic;
+ uint32_t seq_num;
uint32_t test;
uint32_t ctrl_handle;
uint32_t num_test_sockets;
@@ -215,6 +216,7 @@ sock_test_cfg_dump (sock_test_cfg_t * cfg, uint8_t is_client)
printf (" test config (%p):\n"
SOCK_TEST_SEPARATOR_STRING
" magic: 0x%08x\n"
+ " seq_num: 0x%08x\n"
"%-5s test: %s (%d)\n"
" ctrl handle: %d (0x%x)\n"
"%-5s num test sockets: %u (0x%08x)\n"
@@ -224,7 +226,7 @@ sock_test_cfg_dump (sock_test_cfg_t * cfg, uint8_t is_client)
"%-5s num writes: %lu (0x%08lx)\n"
" client tx bytes: %lu (0x%08lx)\n"
SOCK_TEST_SEPARATOR_STRING,
- (void *) cfg, cfg->magic,
+ (void *) cfg, cfg->magic, cfg->seq_num,
is_client && (cfg->test == SOCK_TEST_TYPE_UNI) ?
"'"SOCK_TEST_TOKEN_RUN_UNI"'" :
is_client && (cfg->test == SOCK_TEST_TYPE_BI) ?