anchao commented on code in PR #14535:
URL: https://github.com/apache/nuttx/pull/14535#discussion_r1820098987


##########
include/netinet/arp.h:
##########
@@ -72,6 +72,7 @@ struct arpreq
   struct sockaddr arp_netmask;           /* Netmask of protocol address */
   uint8_t         arp_flags;             /* Flags */
   uint8_t         arp_dev[IFNAMSIZ + 1]; /* Device name (zero terminated) */
+  uint8_t         arp_pad[2];            /* Make a four-byte alignment */
 };

Review Comment:
   ```suggestion
   } __attribute__((aligned(sizeof(FAR void *))));
   ```



-- 
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]

Reply via email to