Added features that will be required for PXE UDP support.

Introduced struct sockaddr_tcpip, to simplify code that deals with
both IPv4 and IPv6 addresses.

Reorganised parts of tcpip.c and udp.c.
This commit is contained in:
Michael Brown
2006-08-02 00:02:21 +00:00
parent 9225f4edac
commit 467e9627cc
13 changed files with 394 additions and 481 deletions

View File

@@ -105,7 +105,7 @@ struct tftp_state {
* This is the UDP port from which the open request will be
* sent, and to which any unicast data packets will be sent.
*/
in_port_t lport;
uint16_t lport;
/** TFTP multicast address
*
* This is the IP address and UDP port to which multicast data