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.
il y a 15 ans
Michael Brown
2af6c8d130
[IPv4] Tidy up some header files.
il y a 16 ans
Michael Brown
aec9b8a41b
[Settings] Use a settings applicator to configure IPv4 routes.
il y a 16 ans
Michael Brown
bdd1a0f462
Make masking constants unsigned, to avoid a gcc3-only compiler warning.
il y a 17 ans
Michael Brown
f77815f2b1
Kill off hotplug.h and just make net devices normal reference-counted
structures.
DHCP still broken and #if 0'd out.
il y a 17 ans
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;'
il y a 17 ans
Michael Brown
d9ba8f790b
Add route() function to display routing table.
il y a 18 ans
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
il y a 18 ans
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.
il y a 18 ans
Nikhil Chandru Rao
c24546c70b
Minor changes to the network layer rx() functions
il y a 18 ans
Nikhil Chandru Rao
5f651f8622
Added fragment reassembly code
il y a 18 ans
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.
il y a 18 ans
Nikhil Chandru Rao
6e2c97b0c0
Added ipv4_pseudo_header structure
il y a 18 ans
Nikhil Chandru Rao
90fbff8f34
added support for processing and transmitting without uIP
il y a 18 ans
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.
il y a 18 ans
Michael Brown
bbd9e28061
Simplify TX datapath.
il y a 18 ans
Michael Brown
9c9208a132
Put the TCP connection periodic processing in tcp.c, where it belongs.
il y a 18 ans
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.
il y a 18 ans
Michael Brown
988bb50979
Added set_netmask() and set_gateway()
il y a 18 ans
Michael Brown
b44332eb7d
Split non-TCP portions of the stack out into ip.[ch].
Added set_ipaddr().
il y a 18 ans