aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-30 23:43:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-30 23:43:35 +0200
commite58c6e2e13030bea91f7cd41a62229b0f5927d51 (patch)
treee4920f7b45a5c0705342594983253186ecff03e6 /networking
parentb7d19cc400f14ccd64a1fedebe14022fe115029a (diff)
downloadbusybox-e58c6e2e13030bea91f7cd41a62229b0f5927d51.tar.gz
dhcp: indicate IP network order in prototypes too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 75b787a80..ce81d1807 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -280,13 +280,13 @@ void udhcp_init_header(struct dhcp_packet *packet, char type) FAST_FUNC;
int udhcp_recv_kernel_packet(struct dhcp_packet *packet, int fd) FAST_FUNC;
int udhcp_send_raw_packet(struct dhcp_packet *dhcp_pkt,
- uint32_t source_ip, int source_port,
- uint32_t dest_ip, int dest_port, const uint8_t *dest_arp,
+ uint32_t source_nip, int source_port,
+ uint32_t dest_nip, int dest_port, const uint8_t *dest_arp,
int ifindex) FAST_FUNC;
int udhcp_send_kernel_packet(struct dhcp_packet *dhcp_pkt,
- uint32_t source_ip, int source_port,
- uint32_t dest_ip, int dest_port) FAST_FUNC;
+ uint32_t source_nip, int source_port,
+ uint32_t dest_nip, int dest_port) FAST_FUNC;
void udhcp_sp_setup(void) FAST_FUNC;
int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) FAST_FUNC;