Commit Graph

29 Commits

Author SHA1 Message Date
hidnplayr
a1174dce46 Fixed bug in TCP_input.listen, clarified some of the debug output (net branch)
git-svn-id: svn://kolibrios.org@2555 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-03 18:26:53 +00:00
hidnplayr
b326834b2e Bugfix for ICMP sockets in net branch
git-svn-id: svn://kolibrios.org@2553 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-03 16:34:37 +00:00
hidnplayr
3ce07b4be0 more small updates and fixes in net branch
git-svn-id: svn://kolibrios.org@2310 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-12 20:05:07 +00:00
hidnplayr
29c0d093db small updates and fixes in TCP for net branch
git-svn-id: svn://kolibrios.org@2309 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-12 19:20:33 +00:00
hidnplayr
63bc53c598 small updates and fixes in net branch
git-svn-id: svn://kolibrios.org@2308 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-12 15:39:15 +00:00
hidnplayr
255c2b5ab3 NET branch: re-organised all structs to use struct.inc from fasm
git-svn-id: svn://kolibrios.org@2305 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-08 23:06:26 +00:00
hidnplayr
b2a283b9fe Removed unnescessary typecasts in net branch
git-svn-id: svn://kolibrios.org@2302 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-07 22:08:40 +00:00
hidnplayr
8aee69dafb Replaced some of the 'magic numbers' in net branch with constants.
git-svn-id: svn://kolibrios.org@2301 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-07 21:03:20 +00:00
hidnplayr
b7875fe3bf Fixed Unsigned jumps in net branch
git-svn-id: svn://kolibrios.org@2300 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-07 20:25:47 +00:00
hidnplayr
08596896d2 Net branch:
-Updates in TCP code: accepting connections now works.
(TCPserv is able to send 'hello world!' to telnet client)

git-svn-id: svn://kolibrios.org@1838 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-03 21:35:16 +00:00
hidnplayr
8a7ebf6b32 fix in ARPcfg application
added pci ids of dec21x4x cards to netcfg
bugfixes in dex21x4x driver, pcnet32 driver, rtl8139 driver and sis900 driver
new network program (ICMP) to ping computers, uses new RAW socket code (experimental)

git-svn-id: svn://kolibrios.org@1541 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 21:54:27 +00:00
hidnplayr
5e2d9e4b59 Fixed bugs in previous revision
git-svn-id: svn://kolibrios.org@1530 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 22:08:21 +00:00
hidnplayr
fab920c5c8 Deleted double macro in netdrv.inc
Refactoring of ARP code.
Used universal names for protocol handlers.
Moved some pieces of code from procs to macros.
Added IPv4_fragment (currently disabled)
Added ring-buffer functions for sockets 
Updates in TCP code

git-svn-id: svn://kolibrios.org@1529 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 18:53:38 +00:00
hidnplayr
084d99548d -Refactoring of network drivers.
-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
2010-07-15 18:54:19 +00:00
hidnplayr
6a1d621671 - globalisation of network driver functions
(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
2010-07-11 23:13:12 +00:00
hidnplayr
34c194bda4 Net-branch:
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
2010-06-07 09:37:13 +00:00
hidnplayr
c59969f41c Updates in net branch coded 6 months ago.
Mostly concerning checksuming, and cleanups

git-svn-id: svn://kolibrios.org@1473 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-28 20:47:32 +00:00
hidnplayr
adec2ac083 Some code cleanup (cosmethical changes) in net_branch
git-svn-id: svn://kolibrios.org@1257 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 13:59:46 +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
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
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
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
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
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
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
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
6439263aed Moving the files...
git-svn-id: svn://kolibrios.org@1161 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 12:59:26 +00:00