summaryrefslogtreecommitdiff
path: root/networking/udhcp/packet.h
diff options
context:
space:
mode:
authorRob Landley2006-05-28 01:06:36 +0000
committerRob Landley2006-05-28 01:06:36 +0000
commit3f78561d63290c53ca8bb3cd6314ca7357a617ee (patch)
tree03b3973eeaee9635c77c21028133374d66f2aa18 /networking/udhcp/packet.h
parent8fba99f35e46d234b47d652225bb80846cae369c (diff)
downloadbusybox-3f78561d63290c53ca8bb3cd6314ca7357a617ee.zip
busybox-3f78561d63290c53ca8bb3cd6314ca7357a617ee.tar.gz
My first bout of untangling udhcp. Make lots of gratuitous #defines go
away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do...
Diffstat (limited to 'networking/udhcp/packet.h')
-rw-r--r--networking/udhcp/packet.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/udhcp/packet.h b/networking/udhcp/packet.h
index f5859e8..f595422 100644
--- a/networking/udhcp/packet.h
+++ b/networking/udhcp/packet.h
@@ -29,12 +29,12 @@ struct udp_dhcp_packet {
struct dhcpMessage data;
};
-void init_header(struct dhcpMessage *packet, char type);
-int get_packet(struct dhcpMessage *packet, int fd);
-uint16_t checksum(void *addr, int count);
-int raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
+void udhcp_init_header(struct dhcpMessage *packet, char type);
+int udhcp_get_packet(struct dhcpMessage *packet, int fd);
+uint16_t udhcp_checksum(void *addr, int count);
+int udhcp_raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex);
-int kernel_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
+int udhcp_kernel_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
uint32_t dest_ip, int dest_port);