mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user