54 Révisions (acd598b4f93473f1792686a8ab691c88f1d4d8e5)

Auteur SHA1 Message Date
  Michael Brown acd598b4f9 Don't build option-overloaded packets; they just confuse people (ISC il y a 17 ans
  Michael Brown c73bff7ae5 Set current working URI based on TFTP server specified by DHCP. il y a 17 ans
  Michael Brown d465ae9785 Bugfix: iobuf->data always points to the start of the allocated il y a 17 ans
  Michael Brown 1ec7bb789d Add dhcp_configure_netdev() il y a 17 ans
  Michael Brown cf33b568dc Forgot to set initial session state. Now works! il y a 17 ans
  Michael Brown 73fe1ba9dd Kill off job::start() (it was only ever added as part of an aborted il y a 17 ans
  Michael Brown 07dc294de8 Update DHCP to use data-xfer interface (not yet tested). il y a 17 ans
  Michael Brown f77815f2b1 Kill off hotplug.h and just make net devices normal reference-counted il y a 17 ans
  Michael Brown 2d4c72b762 Remove unused headers. il y a 17 ans
  Michael Brown f87bc837f4 Updated DNS to use not-yet-implemented UDP data-xfer API. il y a 17 ans
  Michael Brown 01b4bde8a0 Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer il y a 17 ans
  Michael Brown 63719deea9 Introduce name resolution interface and named socket opener. il y a 17 ans
  Anselm Martin Hoffmeister ed7dc02a95 hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise il y a 17 ans
  Michael Brown 92a78c8e15 Added SIGKILL handler il y a 17 ans
  Michael Brown 73b09ecba6 Use stdio.h instead of vsprintf.h il y a 17 ans
  Michael Brown 4e3976711d A working name resolution framework il y a 17 ans
  Michael Brown 075f8144ff Have DHCP set the nameserver, rather than DNS read the DHCP nameserver il y a 17 ans
  Michael Brown 99e58865c7 Use struct sockaddr rather than struct sockaddr_tcpip il y a 17 ans
  Michael Brown 835d35749f Improved debugging il y a 17 ans
  Michael Brown 9af12d5fba A working DNS resolver (not yet tied in to anything) il y a 17 ans
  Michael Brown df0397f334 Update TFTP and FTP to take the same temporary URI scheme as HTTP il y a 17 ans
  Michael Brown 4e20d73bb5 Gave asynchronous operations approximate POSIX signal semantics. This il y a 17 ans
  Michael Brown 0010e10ef3 Update TFTP to use a struct buffer rather than a callback. il y a 17 ans
  Michael Brown 649b789e93 DHCP transmits via specified net device, so no need to create a dummy il y a 17 ans
  Michael Brown 7fafa89258 A DHCP session holds a persistent reference to a network device il y a 17 ans
  Michael Brown 60a3f77711 Close UDP connection when DHCP completes. il y a 18 ans
  Michael Brown 04c09823bd Request all the options that we're prepared to do anything with. il y a 18 ans
  Michael Brown a1af111a87 Also request root-path. il y a 18 ans
  Michael Brown 88e38fa148 We don't actually have a stdio.h header file. Our printf() functions are il y a 18 ans
  Marty Connor 6ac78f6aff added stdio.h to includes for DBG compilation il y a 18 ans
  Michael Brown cab3f4502b Correct option number for DHCP_DNS_SERVERS, and add it to the request il y a 18 ans
  Michael Brown e9561aafc0 Derive xid dynamically from the netdev, so that we can call il y a 18 ans
  Michael Brown d1a123b1f4 Added TFTP test code (currently just dumps file to console). il y a 18 ans
  Michael Brown 3611cb17b7 Initial (untested) implementation of TFTP over the new UDP API. il y a 18 ans
  Michael Brown ffe0e24249 Make the UDP senddata() methods return a status code. il y a 18 ans
  Michael Brown 467e9627cc Added features that will be required for PXE UDP support. il y a 18 ans
  Michael Brown ae277992c2 Request bootfile name; it doesn't seem to be automatically supplied by il y a 18 ans
  Michael Brown 3085f03ad4 Request Etherboot encapsulated options. il y a 18 ans
  Michael Brown 6a0b4c9772 Free up any allocated options if we fail il y a 18 ans
  Michael Brown 764cb41456 Document memory ownership. il y a 18 ans
  Michael Brown 7ca1bb0fbe Now successfully negotiates the whole DHCPDISCOVER/OFFER/REQUEST/ACK il y a 18 ans
  Michael Brown 30d9bcdc6e Rename unwieldy function il y a 18 ans
  Michael Brown 9ad5cede96 Set DHCP_MESSAGE_TYPE option within the main options block. This il y a 18 ans
  Michael Brown 881b90e82c Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP il y a 18 ans
  Michael Brown 0768670fd8 udp_open() takes ports in network-endian order. il y a 18 ans
  Michael Brown 224529d8dd Now capable of sending what, to me, looks like a valid DHCPDISCOVER il y a 18 ans
  Michael Brown e8daeb62b1 Eliminate confusion between functions that return pointers and il y a 18 ans
  Michael Brown 6d9d48537e Added some debug messages and DHCP test code il y a 18 ans
  Michael Brown 317b962b65 Proof of concept: transmit a single DHCPDISCOVER and dump out any il y a 18 ans
  Michael Brown 16fc9858db Beginnings of DHCP protocol implementation il y a 18 ans