146 коммитов (d86c080024622a3985131f6633536f1e5f304a94)

Автор SHA1 Сообщение Дата
  Michael Brown e9561aafc0 Derive xid dynamically from the netdev, so that we can call 19 лет назад
  Michael Brown a3d508b648 Clarified packet ownership transfer between a few functions. 19 лет назад
  Michael Brown d1a123b1f4 Added TFTP test code (currently just dumps file to console). 19 лет назад
  Michael Brown 3611cb17b7 Initial (untested) implementation of TFTP over the new UDP API. 19 лет назад
  Nikhil Chandru Rao 409f69a08a Changed ipv4_dump() to consume only one line. 19 лет назад
  Nikhil Chandru Rao 8bf38fb400 Corrected bugs in the TCP logic. There might be a few more which need to be taken care of. 19 лет назад
  Michael Brown 68e33224ef gcc3 compatibility: removed ARP_NET_PROTOCOL(). 19 лет назад
  Nikhil Chandru Rao d2bdf81505 Removed some bugs in TCP 19 лет назад
  Nikhil Chandru Rao cb42e573a0 Added retransmissions to TCP 19 лет назад
  Michael Brown 885a630ddf Fix routing when a gateway exists. This should probably be split into 19 лет назад
  Michael Brown d0e4f198d6 Add iSCSI to the DHCP tests. 19 лет назад
  Nikhil Chandru Rao 6714ec745a Minor corrections 19 лет назад
  Michael Brown eb24eece0e Convert some trivial functions to static inlines. 19 лет назад
  Michael Brown ffe0e24249 Make the UDP senddata() methods return a status code. 19 лет назад
  Michael Brown a0a872f7f1 Updated PXE UDP implementation to use the new Etherboot UDP API. 19 лет назад
  Michael Brown 467e9627cc Added features that will be required for PXE UDP support. 19 лет назад
  Nikhil Chandru Rao 9225f4edac TCP support 19 лет назад
  Nikhil Chandru Rao c24546c70b Minor changes to the network layer rx() functions 19 лет назад
  Michael Brown beadd82208 Remove unused functions. 19 лет назад
  Michael Brown 1ebb68e49a Renamed trans_{rx,tx}() to tcpip_{rx,tx}(), since they are specific to 19 лет назад
  Michael Brown 3a0e293123 Renamed tcpip_if.[ch] to tcpip.[ch] 19 лет назад
  Michael Brown 21c3d63c2e We shouldn't need to allocate a TX packet buffer when calling newdata(); 19 лет назад
  Michael Brown ae277992c2 Request bootfile name; it doesn't seem to be automatically supplied by 19 лет назад
  Michael Brown 3085f03ad4 Request Etherboot encapsulated options. 19 лет назад
  Michael Brown b26806cf18 Add dhcp_snprintf() for extracting DHCP string options. 19 лет назад
  Michael Brown 16d04386b6 Switch default stack to Nikhil's TCP/IP stack 19 лет назад
  Michael Brown e74e20cb55 Remove the static IP address hack from netdevice.c, and change the 19 лет назад
  Michael Brown 00a1f000b1 Added dhcp_ipv4_option() and friends. 19 лет назад
  Michael Brown 6a0b4c9772 Free up any allocated options if we fail 19 лет назад
  Michael Brown 764cb41456 Document memory ownership. 19 лет назад
  Michael Brown 7ca1bb0fbe Now successfully negotiates the whole DHCPDISCOVER/OFFER/REQUEST/ACK 19 лет назад
  Michael Brown 30d9bcdc6e Rename unwieldy function 19 лет назад
  Michael Brown 9ad5cede96 Set DHCP_MESSAGE_TYPE option within the main options block. This 19 лет назад
  Michael Brown 881b90e82c Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP 19 лет назад
  Michael Brown 29b358dd39 conn->local_port is now network-endian; do not swap when comparing 19 лет назад
  Michael Brown 36c94eae78 Clarify hexiness of header length 19 лет назад
  Michael Brown 2c0eb6eb1d Correct TCP/IP checksum generation. 19 лет назад
  Michael Brown 0768670fd8 udp_open() takes ports in network-endian order. 19 лет назад
  Nikhil Chandru Rao 13dbf5494d Minor edits 19 лет назад
  Michael Brown 224529d8dd Now capable of sending what, to me, looks like a valid DHCPDISCOVER 19 лет назад
  Michael Brown a38010fb0e Make udp_send() call udp_sendto(), rather than vice-versa. 19 лет назад
  Michael Brown 7c84b74185 A small but very critical bug. 19 лет назад
  Michael Brown 82f3295794 Use more standardised format specifiers in debug messages (e.g. %p for 19 лет назад
  Michael Brown ab633f6a73 Reserve space for lower-layer headers when allocating packet buffer. 19 лет назад
  Michael Brown e8daeb62b1 Eliminate confusion between functions that return pointers and 19 лет назад
  Michael Brown 3369f93036 Add block identification to debug messages 19 лет назад
  Michael Brown 6d9d48537e Added some debug messages and DHCP test code 19 лет назад
  Michael Brown 317b962b65 Proof of concept: transmit a single DHCPDISCOVER and dump out any 19 лет назад
  Michael Brown 16fc9858db Beginnings of DHCP protocol implementation 19 лет назад
  Nikhil Chandru Rao bf515d3d65 Minor edit in net/udp.c 19 лет назад