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-w32-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.tar.gz
busybox-w32-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.tar.bz2
busybox-w32-56f2d06c6496e49d7e752d1ee5ac5ea420b4ed11.zip
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 {
34#define BROADCAST_FLAG 0x8000 /* "I need broadcast replies" */ 34#define BROADCAST_FLAG 0x8000 /* "I need broadcast replies" */
35 uint32_t ciaddr; /* client IP (if client is in BOUND, RENEW or REBINDING state) */ 35 uint32_t ciaddr; /* client IP (if client is in BOUND, RENEW or REBINDING state) */
36 uint32_t yiaddr; /* 'your' (client) IP address */ 36 uint32_t yiaddr; /* 'your' (client) IP address */
37 uint32_t siaddr; /* IP address of next server to use in bootstrap, 37 /* IP address of next server to use in bootstrap, returned in DHCPOFFER, DHCPACK by server */
38 * returned in DHCPOFFER, DHCPACK by server */ 38 uint32_t siaddr_nip;
39 uint32_t gateway_nip; /* relay agent IP address */ 39 uint32_t gateway_nip; /* relay agent IP address */
40 uint8_t chaddr[16];/* link-layer client hardware address (MAC) */ 40 uint8_t chaddr[16]; /* link-layer client hardware address (MAC) */
41 uint8_t sname[64]; /* server host name (ASCIZ) */ 41 uint8_t sname[64]; /* server host name (ASCIZ) */
42 uint8_t file[128]; /* boot file name (ASCIZ) */ 42 uint8_t file[128]; /* boot file name (ASCIZ) */
43 uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */ 43 uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */
44 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS]; 44 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS];
45} PACKED; 45} PACKED;
46 46