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 година
Michael Brown
8ffbbebf11
Ensure that struct sockaddr is long enough...
пре 18 година
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).
пре 18 година
Michael Brown
f008b77ba2
Allow an explicit network device to be specified for IP-layer
transmissions.
пре 18 година
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
пре 18 година
Marty Connor
ee9ae8130a
Remove _PROTOCOL macros for gcc 3.2 compatibility
пре 18 година
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 година
Nikhil Chandru Rao
c24546c70b
Minor changes to the network layer rx() functions
пре 18 година
Michael Brown
beadd82208
Remove unused functions.
пре 18 година
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).
пре 18 година
Michael Brown
3a0e293123
Renamed tcpip_if.[ch] to tcpip.[ch]
пре 18 година
Michael Brown
2c0eb6eb1d
Correct TCP/IP checksum generation.
пре 18 година
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
пре 18 година
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 година
Nikhil Chandru Rao
fdc05e2664
created interface for transport-network interface
пре 18 година