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