aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/packet.h
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-22 15:07:33 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-22 15:07:33 +0000
commit2f9c30a2d567ba7bdb6351e0167eb0b59735b898 (patch)
treee811a2285654327b344c1fb242683acb2782f2b8 /networking/udhcp/packet.h
parentac9731704a03d08b061ee02853e7cebe36964aba (diff)
downloadbusybox-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.tar.gz
safe exported namespace for udhcp. Not full, bore :-(
Diffstat (limited to 'networking/udhcp/packet.h')
-rw-r--r--networking/udhcp/packet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/networking/udhcp/packet.h b/networking/udhcp/packet.h
index f5859e824..b2be5d7f7 100644
--- a/networking/udhcp/packet.h
+++ b/networking/udhcp/packet.h
@@ -29,6 +29,12 @@ struct udp_dhcp_packet {
struct dhcpMessage data;
};
+#define init_header udhcp_init_header
+#define get_packet udhcp_get_packet
+#define checksum udhcp_checksum
+#define raw_packet udhcp_raw_packet
+#define kernel_packet udhcp_kernel_packet
+
void init_header(struct dhcpMessage *packet, char type);
int get_packet(struct dhcpMessage *packet, int fd);
uint16_t checksum(void *addr, int count);