You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/04 10:04:59 UTC

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #5154: net/usrsock: replace xid type to uint64_t to avoid limitation of connections

anchao commented on a change in pull request #5154:
URL: https://github.com/apache/incubator-nuttx/pull/5154#discussion_r777959547



##########
File path: include/nuttx/net/usrsock.h
##########
@@ -96,8 +96,8 @@ enum usrsock_message_types_e
 
 begin_packed_struct struct usrsock_request_common_s
 {
-  int8_t reqid;
-  uint8_t xid;
+  uint64_t xid;
+  int32_t  reqid;

Review comment:
       restore the reqid type to int8_t, and add reserved byte to keep the aligned access




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org