[gPXE] question about packages transmission
Stefan Hajnoczi
stefanha at gmail.com
Fri Feb 19 04:48:16 EST 2010
On Fri, Feb 19, 2010 at 7:46 AM, Simon POULLEAU
<simon.poulleau at ensimag.imag.fr> wrote:
> I'm a beginner with gPXE and I try to understand the process of packages
> transmission. But I didn't find answers.
>
> I would like to know how the transmissions between HTTP server, DHCP
> server, gPXE and DNS are carried out during a boot.
I am not sure exactly what you are asking.
Network protocol code (HTTP, DHCP, DNS) is in gpxe/src/net. This also
includes the TCP/IP stack.
Network driver code for hardware devices is in gpxe/src/drivers/net
and gpxe/src/arch/i386/drivers/net.
For example, the HTTP code has an struct xfer_interface which allows
it to send packets through a TCP connection to the web server. The
TCP/IP stack fills in packet headers and passes the struct io_buffer
to the network interface. The driver takes the struct io_buffer and
notifies the hardware to send the packet.
Is this what you were looking for?
Stefan
More information about the gPXE
mailing list