-Ommitted unnescessary copying of packets in some drivers.
-Some small updates in TCP (perhaps 50% done ?)
git-svn-id: svn://kolibrios.org@1519 a494cfbc-eb01-0410-851d-a64ba20cac60
(Replaced EthRegDev with NetRegDev)
- rewrite/cleanup of socket.inc
- started rewrite of tcp.inc
- port numbers in application are not byte-swapped anymore
- many more fixes and changes
- TCP does not work but UDP/IP/ICMP/ARP (partly) work.. (as before)
git-svn-id: svn://kolibrios.org@1514 a494cfbc-eb01-0410-851d-a64ba20cac60
Fix crash in udp.inc when arp-entry is not found.
Fixed bug in deleting of arp entry's
git-svn-id: svn://kolibrios.org@1485 a494cfbc-eb01-0410-851d-a64ba20cac60
Fixed error in udp.inc
Fixed another error in checksum, seems to work bug-free now :)
git-svn-id: svn://kolibrios.org@1483 a494cfbc-eb01-0410-851d-a64ba20cac60
Fixed Bugs in checksum, introduced in #1473
Checksum for IP/UDP/TCP is now very fast.
git-svn-id: svn://kolibrios.org@1482 a494cfbc-eb01-0410-851d-a64ba20cac60
Added statistics to 3c59x driver.
Fixed mixed up DNS and Gateway of static settings for zeroconf
git-svn-id: svn://kolibrios.org@1481 a494cfbc-eb01-0410-851d-a64ba20cac60
Fixed yet another bug in RTL8139 driver (should be almost bug-free now)
Added 3com driver (only boomerang cards tested)
If somebody has a vortex type 3com card, please help me debug the driver!
git-svn-id: svn://kolibrios.org@1472 a494cfbc-eb01-0410-851d-a64ba20cac60
* added required zero-initialization of some fields in pcnet driver
* fixed debug output in pcnet driver
git-svn-id: svn://kolibrios.org@1263 a494cfbc-eb01-0410-851d-a64ba20cac60
* listening sockets have now a queue of incoming connections
* a mechanism which allows an application to know when sent packet is ACKed
* some fixes
git-svn-id: svn://kolibrios.org@1256 a494cfbc-eb01-0410-851d-a64ba20cac60
Some more changes in TCP code.
I should perhaps read the full RFC before doing any further changes..
git-svn-id: svn://kolibrios.org@1255 a494cfbc-eb01-0410-851d-a64ba20cac60
-Further development of TCP
-Fixed a design issue in Ethernet drivers wich would cause a lot of overhead for TCP (I probably completely broke RTL8029 driver now, let's finish TCP first..)
git-svn-id: svn://kolibrios.org@1254 a494cfbc-eb01-0410-851d-a64ba20cac60
* pseudoheader for UDP checksum was wrong
* network checksum for data with odd length was wrong
* stack issues in ARP_add_entry fixed
* more correct checking for new packets in pcnet driver
git-svn-id: svn://kolibrios.org@1251 a494cfbc-eb01-0410-851d-a64ba20cac60
PS: There seems to be a bug in UDP checksum wich causes it to currently only work on DHCP
git-svn-id: svn://kolibrios.org@1250 a494cfbc-eb01-0410-851d-a64ba20cac60
Things changed: sockets data organisation, queue macro's are more universal, new checksum routines, changed socket structures, ...
What's new: UDP checksum generation & validation
Rough TCP code has been written, but not debugged yet.
git-svn-id: svn://kolibrios.org@1249 a494cfbc-eb01-0410-851d-a64ba20cac60
IPv4 variables are 255.255.255.255 again at reset, 0.0.0.0 was a big mistake..
git-svn-id: svn://kolibrios.org@1200 a494cfbc-eb01-0410-851d-a64ba20cac60
* network library with DNS resolving from trunk and
an application for DNS name lookup
(do not work at moment due to crashes in the kernel)
git-svn-id: svn://kolibrios.org@1197 a494cfbc-eb01-0410-851d-a64ba20cac60
fixed bug in netcfg created in last revision
netcfg gives error msg when driver is not loaded
zeroconfig now works with latest version of libini
also fixed use of static and link-local ip in zeroconfig
initial IPv4 variables are now 0.0.0.0 instead of 255.255.255.255
created kernel function that shows number of active network devices
fixed the use of temp mac variable in IPV4.inc (variable is now in stack)
rewrite of ARP code, needs full testing/debugging (new application needed: ARP manager)
port numbers are now in INET byte order, as is in posix standards
git-svn-id: svn://kolibrios.org@1196 a494cfbc-eb01-0410-851d-a64ba20cac60
* fixes in RTL8139 driver
* fixes in RTL8029 driver (works in Bochs, still problems in qemu)
git-svn-id: svn://kolibrios.org@1173 a494cfbc-eb01-0410-851d-a64ba20cac60
Fixes and updates in stack for function 75
+ some other small fixes
Netstat program
Deleting of some unrelated files
Coming up next: fixes and updates in ARP code
git-svn-id: svn://kolibrios.org@1171 a494cfbc-eb01-0410-851d-a64ba20cac60
Removed some files that dont belong in specific branch.
Added some applications that work with this kernel only.
git-svn-id: svn://kolibrios.org@1164 a494cfbc-eb01-0410-851d-a64ba20cac60