Commit Graph

100 Commits

Author SHA1 Message Date
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
80a3183e81 Net Branch:
TCPserv: very simple TCP server used to develop and debug TCP code.

git-svn-id: svn://kolibrios.org@1836 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-03 14:37:36 +00:00
hidnplayr
36e43113ac Updates in NET branch:
- Added RST packet handling code
- Added SOCKET_isconnected
- Added ACK handeling in syn rcvd state (for passive open)


git-svn-id: svn://kolibrios.org@1831 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-01 17:00:04 +00:00
hidnplayr
0d53bac040 Bugfixes in Net branch:
- Fixed delayed ACK (misimplementation)
- Fixed zero window problem and checksum for TCP_respond_socket

git-svn-id: svn://kolibrios.org@1830 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-01 16:14:18 +00:00
hidnplayr
4ee220aebe Fixed bug in RTL8169 interrupt procedure.
git-svn-id: svn://kolibrios.org@1823 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-31 18:45:19 +00:00
hidnplayr
8619f93e83 More TCP and sockets code
git-svn-id: svn://kolibrios.org@1774 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-28 23:07:25 +00:00
hidnplayr
2ba52e3e4a More TCP updates + Socket states
git-svn-id: svn://kolibrios.org@1773 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-28 16:49:08 +00:00
hidnplayr
2861c164de Small update in TCP_input
git-svn-id: svn://kolibrios.org@1772 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-28 16:16:31 +00:00
hidnplayr
db55961834 More updates to TCP code of new stack.
git-svn-id: svn://kolibrios.org@1763 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-24 22:01:54 +00:00
hidnplayr
6af42a9b8e Bugfix of r1761
git-svn-id: svn://kolibrios.org@1762 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-23 23:56:32 +00:00
hidnplayr
e9daec20c8 Updates of TCP_output for net branch
git-svn-id: svn://kolibrios.org@1761 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-20 22:29:47 +00:00
hidnplayr
1dd8c78cbd * Updates in TCP code
* Splitted TCP code into multiple files
* cleanup

git-svn-id: svn://kolibrios.org@1733 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-08 14:59:21 +00:00
hidnplayr
b70514e695 Update in TCP code for net branch.
git-svn-id: svn://kolibrios.org@1719 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-12-17 23:04:18 +00:00
hidnplayr
d93ba1183b Small update in TCP code, stub for TCP_close
git-svn-id: svn://kolibrios.org@1716 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-12-10 18:37:02 +00:00
hidnplayr
1d3a993b72 Fixed PCnet driver.
git-svn-id: svn://kolibrios.org@1564 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-09 15:40:52 +00:00
hidnplayr
d870ca09d5 Fixed typo in driverlist of netcfg
git-svn-id: svn://kolibrios.org@1562 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-08 19:54:52 +00:00
hidnplayr
0840e2b342 MTD80x driver for net branch:
Only mtd803 aka surecom ep-320x for now.

git-svn-id: svn://kolibrios.org@1561 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-07 21:04:24 +00:00
hidnplayr
08ea0b5f68 Latest bugfix in RTL8169 for today.
git-svn-id: svn://kolibrios.org@1559 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:26:00 +00:00
hidnplayr
cb06c448b9 Update of RTL8169 driver for net branch
git-svn-id: svn://kolibrios.org@1558 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:15:25 +00:00
hidnplayr
00d5a0b321 Some bugfixes in RTL8169 driver for net branch.
git-svn-id: svn://kolibrios.org@1557 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 13:12:11 +00:00
hidnplayr
0503ca2897 Fixed RTL8139 driver.
bugfix in RTL8169 driver.

git-svn-id: svn://kolibrios.org@1556 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-05 14:03:47 +00:00
hidnplayr
1dd3566e02 I uploaded the wrong file in previous revision
reverted the file + uploaded right file this time

git-svn-id: svn://kolibrios.org@1554 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:36:54 +00:00
hidnplayr
6d55f4e33d RTL8169 driver for NET branch (not tested/debugged yet!)
git-svn-id: svn://kolibrios.org@1553 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:21:38 +00:00
hidnplayr
7d3a0d9fb0 Bugfix in 3com network driver concerning tx reset on transmit.
git-svn-id: svn://kolibrios.org@1545 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 17:39:54 +00:00
hidnplayr
714722b812 ICMP checksum validation + cleanup of echo reply code
git-svn-id: svn://kolibrios.org@1544 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 14:47:24 +00:00
hidnplayr
5b0ea56111 Updated SOCKET_listen and SOCKET_accept so they can actually work now.
Changed SOCKET_alloc so that it returns better socket numbers.

git-svn-id: svn://kolibrios.org@1543 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-31 19:44:17 +00:00
hidnplayr
445f854cae Correct use of TYPE and PROTOCOL parameters in socket function
git-svn-id: svn://kolibrios.org@1542 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-31 11:17:06 +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
0ae1d5df1d Synergy client for KolibriOS net branch.
For more info about synergy: http://synergy2.sourceforge.net/

git-svn-id: svn://kolibrios.org@1539 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 17:55:49 +00:00
hidnplayr
718d8df6de Refactoring of socket.inc
bugfix in ETH_output when sending packets of 60 bytes
updates in TCP code

git-svn-id: svn://kolibrios.org@1536 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 09:09:06 +00:00
hidnplayr
22f5ee5447 Some bugfixes in TCP, still very buggy however
git-svn-id: svn://kolibrios.org@1534 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-29 14:03:16 +00:00
hidnplayr
b90d3b7f56 Updates in TCP code of net branch
git-svn-id: svn://kolibrios.org@1533 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-28 23:59:42 +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
f01c3da0f2 Made Netstat application run on P5 processors
git-svn-id: svn://kolibrios.org@1528 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 16:10:11 +00:00
hidnplayr
c6d66896a5 net branch: Fixed previously broken ne2000/rtl8029 driver
git-svn-id: svn://kolibrios.org@1527 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-26 19:06:33 +00:00
hidnplayr
55e0141343 Fixed 3c59x driver to work with 3c900b-tpo cards
git-svn-id: svn://kolibrios.org@1521 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-16 15:37:50 +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
cb55d99b40 Net-branch: Updates in dec21x4x.asm, still only works in virtual pc.
git-svn-id: svn://kolibrios.org@1503 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-22 16:15:11 +00:00
hidnplayr
ba3fb040e1 Net-branch: another work in progress: dec21x4x driver.
Only works in MS Virtual-PC for now. (not on real hardware yet)

git-svn-id: svn://kolibrios.org@1502 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-20 22:36:52 +00:00
hidnplayr
34efef1da5 Updates in RTL8029 and PCNET32 driver.
Moved public data structure for network drivers to netdrv.inc

git-svn-id: svn://kolibrios.org@1492 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-11 16:44:47 +00:00
hidnplayr
7ccd311e15 Net-branch:
Fixed bug in RTL8139 interrupt handler.

git-svn-id: svn://kolibrios.org@1486 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 18:48:49 +00:00
hidnplayr
721a4859b3 net-branch:
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
2010-06-07 16:10:07 +00:00
hidnplayr
9cbcb28cd1 Looks like I uploaded wrong udp.inc in previous revision...
git-svn-id: svn://kolibrios.org@1484 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 14:17:36 +00:00
hidnplayr
e4b0f6f30d net-branch:
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
2010-06-07 12:57:52 +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
049d796e81 Net-branch:
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
2010-06-06 19:04:46 +00:00
hidnplayr
63480d7af3 Fixed merging error in RTL8139.Asm for net-branch
git-svn-id: svn://kolibrios.org@1478 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-01 14:53:43 +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