net: Move s_flags to last to avoid the padding added by compiler
@@ -202,10 +202,6 @@ struct socket_conn_s
FAR struct devif_callback_s *list;
FAR struct devif_callback_s *list_tail;
- /* Definitions of 8-bit socket flags */
-
- uint8_t s_flags; /* See _SF_* definitions */
-
/* Socket options */
#ifdef CONFIG_NET_SOCKOPTS
@@ -222,6 +218,10 @@ struct socket_conn_s
# endif
#endif
+ /* Definitions of 8-bit socket flags */
+
+ uint8_t s_flags; /* See _SF_* definitions */
+
/* Connection-specific content may follow */
};
