Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
sock api: fix registrations and client reads
[vpp.git]
/
src
/
vlibmemory
/
socket_client.h
diff --git
a/src/vlibmemory/socket_client.h
b/src/vlibmemory/socket_client.h
index
5612a98
..
46e2c86
100644
(file)
--- a/
src/vlibmemory/socket_client.h
+++ b/
src/vlibmemory/socket_client.h
@@
-25,8
+25,9
@@
typedef struct
{
int socket_fd;
typedef struct
{
int socket_fd;
- /* Temporarily disable the connection, so we can keep it around... */
- int socket_enable;
+ int socket_enable; /**< Can temporarily disable the connection
+ but still can keep it around... */
+ u32 client_index; /**< Client index allocated by VPP */
clib_socket_t client_socket;
clib_socket_t client_socket;