aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/packet.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-26 16:29:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-26 16:29:12 +0000
commitc321b51dc61f975625a0bfc67cf159f159ee2612 (patch)
tree3a857514e6779c4c00bf157ff29cfa24d5828e1a /networking/udhcp/packet.c
parent1a89133caf043d553d866cd6e707e687e914a013 (diff)
downloadbusybox-w32-c321b51dc61f975625a0bfc67cf159f159ee2612.tar.gz
busybox-w32-c321b51dc61f975625a0bfc67cf159f159ee2612.tar.bz2
busybox-w32-c321b51dc61f975625a0bfc67cf159f159ee2612.zip
udhcp: added some FIXMEs; code shrink. -49 bytes
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r--networking/udhcp/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index 58f45e54e..4eedbb53a 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -118,7 +118,8 @@ uint16_t FAST_FUNC udhcp_checksum(void *addr, int count)
118/* Construct a ip/udp header for a packet, send packet */ 118/* Construct a ip/udp header for a packet, send packet */
119int FAST_FUNC udhcp_send_raw_packet(struct dhcpMessage *payload, 119int FAST_FUNC udhcp_send_raw_packet(struct dhcpMessage *payload,
120 uint32_t source_ip, int source_port, 120 uint32_t source_ip, int source_port,
121 uint32_t dest_ip, int dest_port, const uint8_t *dest_arp, int ifindex) 121 uint32_t dest_ip, int dest_port, const uint8_t *dest_arp,
122 int ifindex)
122{ 123{
123 struct sockaddr_ll dest; 124 struct sockaddr_ll dest;
124 struct udp_dhcp_packet packet; 125 struct udp_dhcp_packet packet;