aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 10:25:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-16 10:25:35 +0200
commit56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11 (patch)
tree2f972e9026ee995e1ebe146b05e608af3b2785ee /networking/udhcp/common.h
parent990a617edfd9040594c0889d2dd23eb7ef91c695 (diff)
downloadbusybox-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.tar.gz
udhcp: rename sprintip to sprint_nip, siaddr to siaddr_nip
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index fef0b66a8..de784adf5 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -34,13 +34,13 @@ struct dhcpMessage {
#define BROADCAST_FLAG 0x8000 /* "I need broadcast replies" */
uint32_t ciaddr; /* client IP (if client is in BOUND, RENEW or REBINDING state) */
uint32_t yiaddr; /* 'your' (client) IP address */
- uint32_t siaddr; /* IP address of next server to use in bootstrap,
- * returned in DHCPOFFER, DHCPACK by server */
+ /* IP address of next server to use in bootstrap, returned in DHCPOFFER, DHCPACK by server */
+ uint32_t siaddr_nip;
uint32_t gateway_nip; /* relay agent IP address */
- uint8_t chaddr[16];/* link-layer client hardware address (MAC) */
- uint8_t sname[64]; /* server host name (ASCIZ) */
- uint8_t file[128]; /* boot file name (ASCIZ) */
- uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */
+ uint8_t chaddr[16]; /* link-layer client hardware address (MAC) */
+ uint8_t sname[64]; /* server host name (ASCIZ) */
+ uint8_t file[128]; /* boot file name (ASCIZ) */
+ uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */
uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS];
} PACKED;