diff options
author | Bernhard Reutner-Fischer | 2006-01-22 22:55:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-01-22 22:55:11 +0000 |
commit | 86f5c9906beac527f3d7966f24811b571a589e08 (patch) | |
tree | 1c9eba853c728b5d734506e1c66c269d96fe46ea /networking/udhcp/arpping.h | |
parent | 2edf52643d3eb3d13f26d31f9678cf122f2063bc (diff) | |
download | busybox-86f5c9906beac527f3d7966f24811b571a589e08.zip busybox-86f5c9906beac527f3d7966f24811b571a589e08.tar.gz |
- add platform.h.
- use shorter boilerplate while at it.
Diffstat (limited to 'networking/udhcp/arpping.h')
-rw-r--r-- | networking/udhcp/arpping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/arpping.h b/networking/udhcp/arpping.h index 6f27d9f..30959ca 100644 --- a/networking/udhcp/arpping.h +++ b/networking/udhcp/arpping.h @@ -27,7 +27,7 @@ struct arpMsg { uint8_t tHaddr[6]; /* target's hardware address */ uint8_t tInaddr[4]; /* target's IP address */ uint8_t pad[18]; /* pad for min. Ethernet payload (60 bytes) */ -} __attribute__ ((packed)); +} ATTRIBUTE_PACKED; /* function prototypes */ int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); |