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;'
vor 17 Jahren
Michael Brown
8ffbbebf11
Ensure that struct sockaddr is long enough...
vor 18 Jahren
Michael Brown
dad5274522
Add "name" field to struct device to allow human-readable hardware device
names.
Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.
Force natural alignment of data types in __table() macros. This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
vor 18 Jahren
Michael Brown
f008b77ba2
Allow an explicit network device to be specified for IP-layer
transmissions.
vor 18 Jahren
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
vor 18 Jahren
Marty Connor
ee9ae8130a
Remove _PROTOCOL macros for gcc 3.2 compatibility
vor 18 Jahren
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.
vor 18 Jahren
Nikhil Chandru Rao
c24546c70b
Minor changes to the network layer rx() functions
vor 18 Jahren
Michael Brown
beadd82208
Remove unused functions.
vor 18 Jahren
Michael Brown
1ebb68e49a
Renamed trans_{rx,tx}() to tcpip_{rx,tx}(), since they are specific to
the TCP/IP protocol suite (rather than being general transport-layer
functions).
vor 18 Jahren
Michael Brown
3a0e293123
Renamed tcpip_if.[ch] to tcpip.[ch]
vor 18 Jahren
Michael Brown
2c0eb6eb1d
Correct TCP/IP checksum generation.
vor 18 Jahren
Nikhil Chandru Rao
ab577e1a3a
The following edits were made: \
1. Updated UDP send data code\
2. Corrected internet checksum\
3. Moved udp_buffer() and udp_buflen() to udp.c from udp.h
vor 18 Jahren
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.
vor 18 Jahren
Nikhil Chandru Rao
fdc05e2664
created interface for transport-network interface
vor 18 Jahren