From ed8982bfc0e9895fe707a5f6152cf184e06f2052 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 16 Jun 2009 12:05:21 +0200 Subject: udhcp: add a few TODOs Signed-off-by: Denys Vlasenko --- networking/udhcp/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'networking/udhcp/common.h') diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 91e8ccc53..0f12be063 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h @@ -23,6 +23,7 @@ extern const uint8_t MAC_BCAST_ADDR[6]; /* six all-ones */ #define DHCP_OPTIONS_BUFSIZE 308 +//TODO: rename to dhcp_packet; rename ciaddr/yiaddr/chaddr struct dhcpMessage { uint8_t op; /* 1 = BOOTREQUEST, 2 = BOOTREPLY */ uint8_t htype; /* hardware address type. 1 = 10mb ethernet */ @@ -44,6 +45,7 @@ struct dhcpMessage { uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS]; } PACKED; +//TODO: rename to ip_udp_dhcp_packet? struct udp_dhcp_packet { struct iphdr ip; struct udphdr udp; -- cgit v1.2.3