29 Commits (2494625702c08e2e76252e1a7d94f1bf6c48d43a)

Author SHA1 Message Date
  Michael Brown 60a3f77711 Close UDP connection when DHCP completes. 17 years ago
  Michael Brown 04c09823bd Request all the options that we're prepared to do anything with. 17 years ago
  Michael Brown a1af111a87 Also request root-path. 17 years ago
  Michael Brown 88e38fa148 We don't actually have a stdio.h header file. Our printf() functions are 18 years ago
  Marty Connor 6ac78f6aff added stdio.h to includes for DBG compilation 18 years ago
  Michael Brown cab3f4502b Correct option number for DHCP_DNS_SERVERS, and add it to the request 18 years ago
  Michael Brown e9561aafc0 Derive xid dynamically from the netdev, so that we can call 18 years ago
  Michael Brown d1a123b1f4 Added TFTP test code (currently just dumps file to console). 18 years ago
  Michael Brown 3611cb17b7 Initial (untested) implementation of TFTP over the new UDP API. 18 years ago
  Michael Brown ffe0e24249 Make the UDP senddata() methods return a status code. 18 years ago
  Michael Brown 467e9627cc Added features that will be required for PXE UDP support. 18 years ago
  Michael Brown ae277992c2 Request bootfile name; it doesn't seem to be automatically supplied by 18 years ago
  Michael Brown 3085f03ad4 Request Etherboot encapsulated options. 18 years ago
  Michael Brown 6a0b4c9772 Free up any allocated options if we fail 18 years ago
  Michael Brown 764cb41456 Document memory ownership. 18 years ago
  Michael Brown 7ca1bb0fbe Now successfully negotiates the whole DHCPDISCOVER/OFFER/REQUEST/ACK 18 years ago
  Michael Brown 30d9bcdc6e Rename unwieldy function 18 years ago
  Michael Brown 9ad5cede96 Set DHCP_MESSAGE_TYPE option within the main options block. This 18 years ago
  Michael Brown 881b90e82c Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP 18 years ago
  Michael Brown 0768670fd8 udp_open() takes ports in network-endian order. 18 years ago
  Michael Brown 224529d8dd Now capable of sending what, to me, looks like a valid DHCPDISCOVER 18 years ago
  Michael Brown e8daeb62b1 Eliminate confusion between functions that return pointers and 18 years ago
  Michael Brown 6d9d48537e Added some debug messages and DHCP test code 18 years ago
  Michael Brown 317b962b65 Proof of concept: transmit a single DHCPDISCOVER and dump out any 18 years ago
  Michael Brown 16fc9858db Beginnings of DHCP protocol implementation 18 years ago
  Michael Brown 254fe6e00e Split DHCP packet creation into two parts: creating the basic packet 18 years ago
  Michael Brown 6c01d3bb95 Fix creation of the htype field; the ll_proto field from which it is 18 years ago
  Michael Brown b24947f0c0 Add sketch code to reassemble a DHCP packet from our internal "everything 18 years ago
  Michael Brown 12da7ea475 Add (untested) code for parsing a received DHCP packet and constructing a 18 years ago