aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 13:22:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 13:22:35 +0000
commitaf1c84360f08f2ee32799ba266b0c384dde68173 (patch)
tree4272fbe921bc693c52197ac5d227fcbc42b3c154 /networking/udhcp/common.h
parent5a142025d372ae5dff7d7cf98f442edaafd1dc30 (diff)
downloadbusybox-w32-af1c84360f08f2ee32799ba266b0c384dde68173.tar.gz
busybox-w32-af1c84360f08f2ee32799ba266b0c384dde68173.tar.bz2
busybox-w32-af1c84360f08f2ee32799ba266b0c384dde68173.zip
Move udhcp to new NOMMU helpers.
Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :)
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index a80691b4a..00890ac1c 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -60,16 +60,12 @@ int udhcp_kernel_packet(struct dhcpMessage *payload,
60 60
61/**/ 61/**/
62 62
63void udhcp_background(const char *pidfile); 63void udhcp_make_pidfile(const char *pidfile);
64void udhcp_start_log_and_pid(const char *pidfile);
65 64
66void udhcp_run_script(struct dhcpMessage *packet, const char *name); 65void udhcp_run_script(struct dhcpMessage *packet, const char *name);
67 66
68// Still need to clean these up... 67// Still need to clean these up...
69 68
70/* from pidfile.h */
71#define pidfile_acquire udhcp_pidfile_acquire
72#define pidfile_write_release udhcp_pidfile_write_release
73/* from options.h */ 69/* from options.h */
74#define get_option udhcp_get_option 70#define get_option udhcp_get_option
75#define end_option udhcp_end_option 71#define end_option udhcp_end_option
@@ -91,8 +87,6 @@ int udhcp_sp_read(fd_set *rfds);
91int raw_socket(int ifindex); 87int raw_socket(int ifindex);
92int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp); 88int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
93int listen_socket(uint32_t ip, int port, const char *inf); 89int listen_socket(uint32_t ip, int port, const char *inf);
94int pidfile_acquire(const char *pidfile);
95void pidfile_write_release(int pid_fd);
96int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); 90int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface);
97 91
98#if ENABLE_FEATURE_UDHCP_DEBUG 92#if ENABLE_FEATURE_UDHCP_DEBUG