diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 10:23:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 10:23:55 +0200 |
commit | 990a617edfd9040594c0889d2dd23eb7ef91c695 (patch) | |
tree | 25a41246927426fa64ffb10217332bc065df8887 /networking/udhcp/common.h | |
parent | 1d924f59b1854e9638c63a743642e63c1bef38b9 (diff) | |
download | busybox-w32-990a617edfd9040594c0889d2dd23eb7ef91c695.tar.gz busybox-w32-990a617edfd9040594c0889d2dd23eb7ef91c695.tar.bz2 busybox-w32-990a617edfd9040594c0889d2dd23eb7ef91c695.zip |
udhcp: rename giaddr to gateway_nip and server to server_nip
"nip" stands for "IP in network order"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index ca96847a7..fef0b66a8 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -36,7 +36,7 @@ struct dhcpMessage { | |||
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 | uint32_t siaddr; /* IP address of next server to use in bootstrap, |
38 | * returned in DHCPOFFER, DHCPACK by server */ | 38 | * returned in DHCPOFFER, DHCPACK by server */ |
39 | uint32_t giaddr; /* 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) */ |
@@ -88,7 +88,7 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name) FAST_FUNC; | |||
88 | void udhcp_sp_setup(void) FAST_FUNC; | 88 | void udhcp_sp_setup(void) FAST_FUNC; |
89 | int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) FAST_FUNC; | 89 | int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) FAST_FUNC; |
90 | int udhcp_sp_read(const fd_set *rfds) FAST_FUNC; | 90 | int udhcp_sp_read(const fd_set *rfds) FAST_FUNC; |
91 | int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) FAST_FUNC; | 91 | int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *arp) FAST_FUNC; |
92 | int udhcp_raw_socket(int ifindex) FAST_FUNC; | 92 | int udhcp_raw_socket(int ifindex) FAST_FUNC; |
93 | int udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf) FAST_FUNC; | 93 | int udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf) FAST_FUNC; |
94 | /* Returns 1 if no reply received */ | 94 | /* Returns 1 if no reply received */ |