Commit Graph

696 Commits

Author SHA1 Message Date
CleverMouse
1f42f20b6f Some changes in TCP for net branch:
* 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
2009-11-09 11:34:51 +00:00
hidnplayr
30373c2ee1 changes in net branch:
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
2009-11-08 21:44:04 +00:00
hidnplayr
2fcdc75ae8 changes in net branch:
-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
2009-11-08 18:00:01 +00:00
hidnplayr
1a07e149d0 Netcfg now accept parameters, so it can automatically load network drivers on boot.
F to load first card only
A to load all cards

git-svn-id: svn://kolibrios.org@1253 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 20:38:09 +00:00
CleverMouse
b35a874c08 Some fixes in net branch:
* 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
2009-11-07 16:13:47 +00:00
hidnplayr
441819a385 Forgot to upload a file, wich caused net kernel not to compile.
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
2009-11-07 14:39:14 +00:00
hidnplayr
7f9d0c6697 Changes in net branch:
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
2009-11-06 20:45:08 +00:00
CleverMouse
297880faa4 small fix in statistics
git-svn-id: svn://kolibrios.org@1241 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-28 13:09:28 +00:00
CleverMouse
8b09309dd2 driver for SIS900 card, ported from trunk
git-svn-id: svn://kolibrios.org@1237 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-26 11:32:59 +00:00
Alexey Teplov (
8a7f4a3cf6 small optimization.
git-svn-id: svn://kolibrios.org@1232 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-24 19:43:45 +00:00
Alexey Teplov (
d6f5bafcc8 Bugfix and modify debug's messages.
git-svn-id: svn://kolibrios.org@1231 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-24 06:53:10 +00:00
Alexey Teplov (
9aef4d69df small optimization
git-svn-id: svn://kolibrios.org@1229 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-23 17:35:26 +00:00
hidnplayr
f3fa774b6a updated network driver list of netcfg in net branch, with entries to possible future drivers.
git-svn-id: svn://kolibrios.org@1226 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-22 20:03:10 +00:00
Marat Zakiyanov (Mario79)
e5ab88e796 Additional fix related to revision 1172.
git-svn-id: svn://kolibrios.org@1225 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-22 17:46:36 +00:00
Sergey Semyonov (Serge)
b7c98dff1b menuet02 tls
git-svn-id: svn://kolibrios.org@1220 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-19 19:45:30 +00:00
Sergey Semyonov (Serge)
00c7719786 bugfix of 68.22
git-svn-id: svn://kolibrios.org@1213 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 11:01:18 +00:00
Alexey Teplov (
08bc0b6e4a a bugfix for previously commit.
git-svn-id: svn://kolibrios.org@1211 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 07:47:13 +00:00
Alexey Teplov (
41b9d8be8d insert a 'align 4'
git-svn-id: svn://kolibrios.org@1210 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 06:47:08 +00:00
hidnplayr
7c8d55d5bb More fixes in UDP, IPv4 and socket code.
Fixes in network library, nslookup works now.

git-svn-id: svn://kolibrios.org@1208 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-12 18:14:14 +00:00
hidnplayr
e39d270463 A lot of bugfixes in ARP, IPv4, UDP and sockets code.
git-svn-id: svn://kolibrios.org@1206 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-12 14:39:59 +00:00
CleverMouse
f6498da63c fixes in PCNet driver (now it works in VMWare)
git-svn-id: svn://kolibrios.org@1202 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-09 10:18:36 +00:00
CleverMouse
bbdad4119d * fixes in FDO for drivers from FDO for the kernel
* fixes in PCNet driver (works in VirtualBox, still problems in VMWare)

git-svn-id: svn://kolibrios.org@1201 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-08 10:24:33 +00:00
hidnplayr
83387bfc23 added very simple ARP manager
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
2009-10-07 20:36:58 +00:00
CleverMouse
6507cc5019 sync with trunk
git-svn-id: svn://kolibrios.org@1198 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-07 09:59:35 +00:00
CleverMouse
9c06d10fb3 * I'm sure that UDP data length includes sizeof UDP header
* 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
2009-10-06 11:52:00 +00:00
hidnplayr
602924a5b5 compile netcfg on unix
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
2009-10-05 20:47:27 +00:00
CleverMouse
373d7e9391 add support for more network cards to forcedeth driver
git-svn-id: svn://kolibrios.org@1194 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-04 11:07:25 +00:00
hidnplayr
cc16ee7b51 Fix of previous commit
git-svn-id: svn://kolibrios.org@1193 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 19:59:04 +00:00
hidnplayr
d5c54dd1d0 Fixes in netstat/zeroconf
update of netcfg 

git-svn-id: svn://kolibrios.org@1192 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 19:49:42 +00:00
Evgeny Grechnikov (Diamond)
9637c89d66 bugfix of previous revision
git-svn-id: svn://kolibrios.org@1191 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 16:45:18 +00:00
Evgeny Grechnikov (Diamond)
bc2b9dffb5 fixed kernel crash at booting if invalid FAT partition is present
git-svn-id: svn://kolibrios.org@1190 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 16:43:58 +00:00
hidnplayr
8fa80be372 small optimisation and cleanup of rtl8029.inc
last in series of attempts to make kernel compile on unix


git-svn-id: svn://kolibrios.org@1187 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 20:16:23 +00:00
Dmitry Kartashov (shurf)
b3b3d9d928 net/fs/fs.inc - sync with main trunk
git-svn-id: svn://kolibrios.org@1186 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 20:07:21 +00:00
hidnplayr
d0d8c7f17c More fixes to make net brach compile on unix
+ some general bugfixes and updates

git-svn-id: svn://kolibrios.org@1185 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 19:48:32 +00:00
hidnplayr
f7ddce1888 renamed error label to s_error
git-svn-id: svn://kolibrios.org@1184 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 19:34:18 +00:00
CleverMouse
27b928368a * slow work in TCP resending fixed
* TCP resend timeout increased to slightly more realistic value

git-svn-id: svn://kolibrios.org@1183 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 10:09:06 +00:00
CleverMouse
a864f1a57e * one check moved so that early received FIN packet does not eat tail of data
* changes in state of TCP socket now notify socket's owner

git-svn-id: svn://kolibrios.org@1181 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-27 11:48:00 +00:00
hidnplayr
68b0c1de2a Some more bugfixes and cleanup of RTL8029 driver.
Driver works on real hardware, but is not stable yet.

git-svn-id: svn://kolibrios.org@1178 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 21:09:41 +00:00
CleverMouse
740caf3d0d fixes in RTL8029 driver (now it works in qemu)
git-svn-id: svn://kolibrios.org@1177 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 10:52:09 +00:00
hidnplayr
698f06c417 Fixed bug wich made kernel crash when stack was used with no driver loaded.
Made some code more logical regarding stats 

git-svn-id: svn://kolibrios.org@1174 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 18:32:03 +00:00
CleverMouse
65fa263646 * UDP data length includes sizeof UDP header
* 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
2009-09-24 10:43:38 +00:00
Evgeny Grechnikov (Diamond)
26d83dcf4a keep physical page 0 intact (used by some BIOSes in int 13h)
git-svn-id: svn://kolibrios.org@1172 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-22 17:10:24 +00:00
hidnplayr
bb5ed21ec9 Small fix in RTL8139 driver regarding stats
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
2009-09-22 16:42:54 +00:00
hidnplayr
e3cdb8950b Uploading right version of zeroconf.
Previous was not working on this kernel.

Coming up next: netstat

git-svn-id: svn://kolibrios.org@1170 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-21 18:52:12 +00:00
Alexey Teplov (
83e2f051b2 Set align 4 for subroutines in main loop.
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 18:30:04 +00:00
hidnplayr
7cb34de2df Making applications compileable
+ Fixes in IPv4.inc

git-svn-id: svn://kolibrios.org@1166 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 14:31:34 +00:00
hidnplayr
1afe10aa6e Small fix in ICMP code
git-svn-id: svn://kolibrios.org@1165 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 14:15:37 +00:00
hidnplayr
bb5be0798a "net" branch:
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
2009-09-18 12:19:46 +00:00
hidnplayr
8f20fe84d3 Making it compileable
git-svn-id: svn://kolibrios.org@1162 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 13:08:13 +00:00
hidnplayr
6439263aed Moving the files...
git-svn-id: svn://kolibrios.org@1161 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 12:59:26 +00:00