xiaoxiang781216 commented on code in PR #8285: URL: https://github.com/apache/nuttx/pull/8285#discussion_r1088892565
########## include/sys/socket.h: ########## @@ -279,6 +279,12 @@ #define SCM_CREDENTIALS 0x02 /* rw: struct ucred */ #define SCM_SECURITY 0x03 /* rw: security label */ +/* Desired design of maximum size and alignment (see RFC2553) */ + +#define SS_MAXSIZE 128 /* Implementation specific max size */ +#define SS_ALIGNSIZE (sizeof(FAR struct sockaddr *)) + /* Implementation specific desired alignment */ + Review Comment: Don't need the compiler will stop and complain that the array length is negative. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
