Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
15 år sedan
Michael Brown
2af6c8d130
[IPv4] Tidy up some header files.
16 år sedan
Michael Brown
aec9b8a41b
[Settings] Use a settings applicator to configure IPv4 routes.
16 år sedan
Michael Brown
bdd1a0f462
Make masking constants unsigned, to avoid a gcc3-only compiler warning.
17 år sedan
Michael Brown
f77815f2b1
Kill off hotplug.h and just make net devices normal reference-counted
structures.
DHCP still broken and #if 0'd out.
17 år sedan
Michael Brown
3e2c6b6736
pkbuff->iobuf changeover
Achieved via Perl using:
perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \
-e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \
-e 's/pkb/iobuf/g; s/PKB/IOB/g;'
17 år sedan
Michael Brown
d9ba8f790b
Add route() function to display routing table.
18 år sedan
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
18 år sedan
Michael Brown
467e9627cc
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.
18 år sedan
Nikhil Chandru Rao
c24546c70b
Minor changes to the network layer rx() functions
18 år sedan
Nikhil Chandru Rao
5f651f8622
Added fragment reassembly code
18 år sedan
Nikhil Chandru Rao
c9ea710930
Renamed net/interface.c and include/gpxe/interface.h to net/tcpip_if.c and include/gpxe/tcpip_if.h respectively. Made changes in the other files.
18 år sedan
Nikhil Chandru Rao
6e2c97b0c0
Added ipv4_pseudo_header structure
18 år sedan
Nikhil Chandru Rao
90fbff8f34
added support for processing and transmitting without uIP
18 år sedan
Michael Brown
3c8aafa209
Simplify RX data path.
Kill off the static single net device and move to proper dynamic
registration (which we need with the new device model).
Break the (flawed) assumption that all network-layer protocols can use
ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP
protocol using ARP_NET_PROTOCOL() and provide a single method for checking
the existence of a local network-layer address.
18 år sedan
Michael Brown
bbd9e28061
Simplify TX datapath.
18 år sedan
Michael Brown
9c9208a132
Put the TCP connection periodic processing in tcp.c, where it belongs.
18 år sedan
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
18 år sedan
Michael Brown
988bb50979
Added set_netmask() and set_gateway()
18 år sedan
Michael Brown
b44332eb7d
Split non-TCP portions of the stack out into ip.[ch].
Added set_ipaddr().
18 år sedan