summaryrefslogtreecommitdiffstats
path: root/src/net/udp
Commit message (Collapse)AuthorAgeFilesLines
...
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* Apply global DHCP options when register_dhcp_options() is called. DoMichael Brown2007-07-061-7/+0Star
| | | | not apply DHCP options in dhcp_configure_netdev().
* Add concept of DHCP option applicators.Michael Brown2007-07-052-28/+29
|
* Improve debuggingMichael Brown2007-07-011-0/+6
|
* Can't use strncpy() to copy strings that aren't NUL-terminated toMichael Brown2007-07-011-2/+8
| | | | begin with.
* Don't build option-overloaded packets; they just confuse people (ISCMichael Brown2007-06-301-31/+11Star
| | | | DHCPD and Windows RIS in particular).
* Set current working URI based on TFTP server specified by DHCP.Michael Brown2007-06-281-0/+15
|
* Bugfix: iobuf->data always points to the start of the allocatedMichael Brown2007-06-281-1/+1
| | | | portion, not to the bit we want to currently write to...
* Add dhcp_configure_netdev()Michael Brown2007-06-281-3/+61
|
* Forgot to set initial session state. Now works!Michael Brown2007-06-281-0/+1
|
* Kill off job::start() (it was only ever added as part of an abortedMichael Brown2007-06-281-1/+0Star
| | | | attempt at triggering TCP-related protocols to start).
* Update DHCP to use data-xfer interface (not yet tested).Michael Brown2007-06-281-97/+187
|
* Kill off hotplug.h and just make net devices normal reference-countedMichael Brown2007-06-271-20/+5Star
| | | | | | structures. DHCP still broken and #if 0'd out.
* Remove unused headers.Michael Brown2007-06-121-0/+2
|
* Updated DNS to use not-yet-implemented UDP data-xfer API.Michael Brown2007-06-121-101/+114
|
* Updated TFTP and PXE UDP API code to use not-yet-implemented data-xferMichael Brown2007-06-111-246/+378
| | | | UDP API.
* Introduce name resolution interface and named socket opener.Michael Brown2007-05-271-1/+1
|
* hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewiseAnselm Martin Hoffmeister2007-04-091-1/+1
| | | | output buffering defintions and the like)
* Added SIGKILL handlerMichael Brown2007-01-191-0/+15
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* A working name resolution frameworkMichael Brown2007-01-181-0/+7
|
* Have DHCP set the nameserver, rather than DNS read the DHCP nameserverMichael Brown2007-01-181-12/+16
| | | | value.
* Use struct sockaddr rather than struct sockaddr_tcpipMichael Brown2007-01-181-9/+12
| | | | Tidy up code
* Improved debuggingMichael Brown2007-01-161-15/+24
|
* A working DNS resolver (not yet tied in to anything)Michael Brown2007-01-151-0/+463
|
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-151-17/+65
|
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-152-12/+11Star
| | | | | | | | | | | will enable us to cascade async operations, which is necessary in order to properly support DNS. (For example, an HTTP request may have to redirect to a new location and will have to perform a new DNS lookup, so we can't just rely on doing the name lookup at the time of parsing the initial URL). Anything other than HTTP is probably broken right now; I'll fix the others up asap.
* Update TFTP to use a struct buffer rather than a callback.Michael Brown2007-01-111-36/+51
| | | | Add debug autocolourisation to TFTP.
* DHCP transmits via specified net device, so no need to create a dummyMichael Brown2007-01-101-2/+2
| | | | routing table entry just to fool ipv4.c any more.
* A DHCP session holds a persistent reference to a network deviceMichael Brown2007-01-041-0/+24
|
* Close UDP connection when DHCP completes.Michael Brown2006-12-201-0/+3
|
* Request all the options that we're prepared to do anything with.Michael Brown2006-12-121-3/+5
|
* Also request root-path.Michael Brown2006-12-081-1/+2
|
* We don't actually have a stdio.h header file. Our printf() functions areMichael Brown2006-09-271-1/+0Star
| | | | | | | | defined in vsprintf.h. (This may change, since vsprintf.h is a non-standard name, but for now it's the one to use.) There should be no need to include vsprintf.h just for DBG() statements, since include/compiler.h forces it in for a debug build anyway.
* added stdio.h to includes for DBG compilationMarty Connor2006-09-271-0/+1
|
* Correct option number for DHCP_DNS_SERVERS, and add it to the requestMichael Brown2006-08-271-1/+1
| | | | list.
* Derive xid dynamically from the netdev, so that we can callMichael Brown2006-08-091-18/+32
| | | | | | | create_dhcp_packet() from pxe_preboot.c, after the dhcp_session is long gone. Expose the functions required by pxe_preboot.c
* Added TFTP test code (currently just dumps file to console).Michael Brown2006-08-091-3/+6
|
* Initial (untested) implementation of TFTP over the new UDP API.Michael Brown2006-08-091-0/+471
|
* Make the UDP senddata() methods return a status code.Michael Brown2006-08-041-7/+10
| | | | | | udp_connect() now follows the standard BSD sockets semantics and simply sets the default address for outgoing packets; it doesn't filter incoming packets.
* Added features that will be required for PXE UDP support.Michael Brown2006-08-021-8/+15
| | | | | | | Introduced struct sockaddr_tcpip, to simplify code that deals with both IPv4 and IPv6 addresses. Reorganised parts of tcpip.c and udp.c.
* Request bootfile name; it doesn't seem to be automatically supplied byMichael Brown2006-08-011-1/+1
| | | | all servers.
* Request Etherboot encapsulated options.Michael Brown2006-07-201-3/+5
| | | | | | | Parameter request list is yet another option that ISC dhcpd ignores unless it's in the main options block. Fix logic error in parsing file and sname fields.
* Free up any allocated options if we failMichael Brown2006-07-201-0/+8
|
* Document memory ownership.Michael Brown2006-07-201-0/+5
|
* Now successfully negotiates the whole DHCPDISCOVER/OFFER/REQUEST/ACKMichael Brown2006-07-201-38/+159
| | | | cycle. :)
* Rename unwieldy functionMichael Brown2006-07-201-4/+4
|
* Set DHCP_MESSAGE_TYPE option within the main options block. ThisMichael Brown2006-07-201-6/+8
| | | | | doesn't seem to be required by the RFCs, but at least ISC dhcpd and ethereal refuse to recognise it otherwise.
* Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTPMichael Brown2006-07-201-0/+1
| | | | packets.
* udp_open() takes ports in network-endian order.Michael Brown2006-07-191-1/+1
|