Commit Graph

254 Commits

Author SHA1 Message Date
hidnplayr
329d879229 Cleanup of PPPoE dialer
git-svn-id: svn://kolibrios.org@2963 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-31 10:39:57 +00:00
hidnplayr
4f4c895724 Moved Link Control Protocol handler from kernel to application.
git-svn-id: svn://kolibrios.org@2962 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-31 10:28:24 +00:00
hidnplayr
05d2a70ed6 Basic LCP implementation, starting with echo request->reply
git-svn-id: svn://kolibrios.org@2961 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-30 20:32:29 +00:00
hidnplayr
7c750c97d3 Fixed some bugs in PPPoE implementation. Discovery works, now we need PPP-LCP.
git-svn-id: svn://kolibrios.org@2960 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-30 20:01:42 +00:00
hidnplayr
761cdb63f8 Stub for simple PPPoE dialer
git-svn-id: svn://kolibrios.org@2959 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-30 16:11:36 +00:00
hidnplayr
df4d790daf Enabled Anonymous access to FTP daemon, RETR command now ignores first '/'.
git-svn-id: svn://kolibrios.org@2958 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-30 07:21:52 +00:00
hidnplayr
85a661d4e9 TCP_input: window is now stored as dword, data is now also received when header prediction failed.
git-svn-id: svn://kolibrios.org@2957 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-30 07:02:10 +00:00
hidnplayr
d3c3f6e418 implemented TCP_rangeset and TCP_set_persist
git-svn-id: svn://kolibrios.org@2955 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 20:48:45 +00:00
hidnplayr
c10e7c783c rewrote TCP option parser, added SACK, moved connection accepter to run before option parser.
git-svn-id: svn://kolibrios.org@2954 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 19:56:28 +00:00
hidnplayr
eaebc59a11 Enabled Requesting scale and timestamp by default.
git-svn-id: svn://kolibrios.org@2953 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 19:44:27 +00:00
hidnplayr
790b435709 Fixed scaling option in TCP_output
git-svn-id: svn://kolibrios.org@2952 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 19:30:47 +00:00
hidnplayr
dd4fcc8d94 Fixed timestamp option in TCP_output
git-svn-id: svn://kolibrios.org@2951 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 19:02:56 +00:00
hidnplayr
12409b31b0 Fixed bugs in PPPoE discovery
git-svn-id: svn://kolibrios.org@2950 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 18:37:10 +00:00
hidnplayr
e5b4e6fe9d Fixed bug in netcfg when run with 'A' parameter
git-svn-id: svn://kolibrios.org@2949 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 12:31:03 +00:00
hidnplayr
57c5115037 Fixed bug in RTT measurement
git-svn-id: svn://kolibrios.org@2948 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 10:01:56 +00:00
hidnplayr
a033334ecb Added missing file
git-svn-id: svn://kolibrios.org@2947 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 09:33:50 +00:00
hidnplayr
688b249960 Added Protection Against Wrapped Sequence numbers (PAWS)
git-svn-id: svn://kolibrios.org@2946 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-28 09:29:57 +00:00
hidnplayr
9c91f40719 Added missing files, fixed ftpd.
git-svn-id: svn://kolibrios.org@2945 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 23:29:21 +00:00
hidnplayr
51263819d7 Bugfixes for #2937 (receive window calculation).
Disabled interrupts while in TCP_input or TCP_output to prevent deadlock.

git-svn-id: svn://kolibrios.org@2942 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 22:47:10 +00:00
hidnplayr
ac776f502e When a process ends by function -1, kill all it's sockets.
git-svn-id: svn://kolibrios.org@2941 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 20:12:11 +00:00
hidnplayr
b0b5a26dd8 Fixed some cases of terrible deadlock in TCP.
git-svn-id: svn://kolibrios.org@2940 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 19:19:53 +00:00
hidnplayr
cd0f28c5ce Fixed bug in socket_connect for TCP
git-svn-id: svn://kolibrios.org@2939 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 18:59:34 +00:00
hidnplayr
737f5cdfee Fixed a bug in the last commit
git-svn-id: svn://kolibrios.org@2938 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 18:49:49 +00:00
hidnplayr
ead0b600bf Beginning implementation of timestamps and Round Trip Time in TCP.
git-svn-id: svn://kolibrios.org@2937 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-27 13:55:15 +00:00
hidnplayr
7957e16d02 Fixed kernel crash when keepalive timer expires.
git-svn-id: svn://kolibrios.org@2936 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-26 10:13:59 +00:00
hidnplayr
3e0a804c48 Fixed bug in network drivers irq handler.
Updated netdrv.inc and pci.inc 

git-svn-id: svn://kolibrios.org@2935 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-25 17:56:09 +00:00
hidnplayr
c575a498b5 Fixed bug wich caused i8254x driver to be able to load multiple times on the same device.
git-svn-id: svn://kolibrios.org@2934 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-25 16:05:36 +00:00
hidnplayr
26eb4cbcc9 Removed useless cli before calling mutex
git-svn-id: svn://kolibrios.org@2932 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-20 16:04:05 +00:00
hidnplayr
de28332c4d Rewrote PPPoE from scratch.
TODO: link IPv4_output to PPPoE_session_output

git-svn-id: svn://kolibrios.org@2931 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-19 19:09:09 +00:00
hidnplayr
615e3cc84c Some updates for TCP
git-svn-id: svn://kolibrios.org@2930 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-19 11:21:20 +00:00
hidnplayr
e12b00bee6 Bugfix in pci.inc for network drivers.
git-svn-id: svn://kolibrios.org@2929 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-18 00:06:27 +00:00
hidnplayr
78aa083db1 some updates for i8254x driver
git-svn-id: svn://kolibrios.org@2925 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-16 13:42:00 +00:00
hidnplayr
8140e5df69 Some markup changes in network stack.
git-svn-id: svn://kolibrios.org@2924 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-15 16:15:57 +00:00
hidnplayr
a31be47dbc some markup changes in dec21x4x.asm
git-svn-id: svn://kolibrios.org@2923 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-15 15:04:34 +00:00
hidnplayr
70c292f418 fixed find_mmio32 in pci.inc
git-svn-id: svn://kolibrios.org@2922 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-15 10:50:36 +00:00
hidnplayr
85ca6be824 i8254x driver stub (works in vBox)
git-svn-id: svn://kolibrios.org@2921 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-15 10:46:06 +00:00
hidnplayr
4fcb9b82ce Removed useless button from NetCFG
git-svn-id: svn://kolibrios.org@2919 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-10 12:28:14 +00:00
hidnplayr
68230a94d8 Fixed bug in RTL8169 driver
git-svn-id: svn://kolibrios.org@2918 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-09 20:27:09 +00:00
hidnplayr
26aeed8f84 added rtl8169 device 0x813610ec, and a whole list of i8254x devices
git-svn-id: svn://kolibrios.org@2917 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-09 19:42:16 +00:00
hidnplayr
3b724316fb Some cleanup in rtl8169 driver
git-svn-id: svn://kolibrios.org@2916 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-09 14:35:51 +00:00
hidnplayr
cfa8509ec1 Added crude loopback device.
git-svn-id: svn://kolibrios.org@2914 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-08 13:14:32 +00:00
hidnplayr
a9f1828898 Fixed bugs in SIS900 RX:
-Receiver MUST be re-enabled by the driver.
-Driver MUST check for multiple packets at once.

git-svn-id: svn://kolibrios.org@2913 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-08 10:21:59 +00:00
hidnplayr
940c0c5fa6 Completion of the new SIS900 driver.
-cleanup of used packets after they are sent
-transmit function now checks first if the descriptor is free

git-svn-id: svn://kolibrios.org@2912 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-08 10:03:47 +00:00
hidnplayr
8ba3e5e11b added latency config macro to pci.inc
git-svn-id: svn://kolibrios.org@2911 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-07 20:26:26 +00:00
hidnplayr
5ae9070151 SIS900:
-refactoring
-fixed SIS900-635 MAC read
-fixed alignment issues
-added multiple TX descriptor support
TODO: clear sent packets from memory

git-svn-id: svn://kolibrios.org@2910 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-07 20:22:07 +00:00
hidnplayr
c9bbdd57de Bugfix in SIS900 init, added some debug output, Bugfix in set_rxd, some refactoring
git-svn-id: svn://kolibrios.org@2909 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-07 09:59:58 +00:00
hidnplayr
0b4a7112cd Bugfix in 'hook' procedure for SIS900 driver
git-svn-id: svn://kolibrios.org@2908 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-07 09:03:26 +00:00
hidnplayr
04bafecfc8 Now NetCFG also works with PCI devices wich have multiple functions.
git-svn-id: svn://kolibrios.org@2907 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-07 08:49:16 +00:00
hidnplayr
8c28651ace Removed unused libini from network library
git-svn-id: svn://kolibrios.org@2905 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-08-06 09:12:07 +00:00
hidnplayr
e838b363d6 Fixed debug output for previous revision
git-svn-id: svn://kolibrios.org@2894 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-07-27 22:24:08 +00:00