net/usrsock: remove the connections limit

replace xid type to uint64_t to avoid connections limit

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2022-01-04 15:53:22 +08:00
committed by Xiang Xiao
parent c6bd160be5
commit cbe9352f41
4 changed files with 26 additions and 83 deletions
+6 -5
View File
@@ -96,8 +96,9 @@ enum usrsock_message_types_e
begin_packed_struct struct usrsock_request_common_s
{
int8_t reqid;
uint8_t xid;
uint64_t xid;
int8_t reqid;
int8_t reserved;
} end_packed_struct;
begin_packed_struct struct usrsock_request_socket_s
@@ -227,9 +228,9 @@ begin_packed_struct struct usrsock_message_req_ack_s
{
struct usrsock_message_common_s head;
uint8_t xid;
uint8_t reserved;
int32_t result;
int16_t reserved;
int32_t result;
uint64_t xid;
} end_packed_struct;
/* Request acknowledgment/completion message */