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 години