Doczom
cd441e7929
[KERNEL]: Replaced magic numbers with constants and cleaned code
...
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
turbocat
d9a3ea763b
kernel: added struct sockaddr
...
git-svn-id: svn://kolibrios.org@9739 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-13 14:45:55 +00:00
Doczom
707dc7c2e6
delete TASKDATA
...
git-svn-id: svn://kolibrios.org@9709 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 17:07:51 +00:00
Doczom
19347417f0
replacing TASK DATA.pid with APPDATA.tid
...
git-svn-id: svn://kolibrios.org@9692 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-06 20:33:29 +00:00
hidnplayr
7b13d5fb4e
Add is_userspace_region checks to some socket functions.
...
Disabled PPPoE and IPv6 completely by default, as not functional.
git-svn-id: svn://kolibrios.org@9049 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-10 09:41:13 +00:00
d4bf03befc
[KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
...
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes
git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
9cdec89085
[KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
...
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights
git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
hidnplayr
f510a3a980
Remove some extra debug
...
git-svn-id: svn://kolibrios.org@8027 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 20:02:15 +00:00
hidnplayr
d6b05dd5d5
More TCP advertised window size fixes, small updates regarding closing of TCP sockets.
...
git-svn-id: svn://kolibrios.org@8026 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-08 19:57:03 +00:00
hidnplayr
c20f1efa82
TCP: Ack every other received full MSS segment, bugfixes.
...
git-svn-id: svn://kolibrios.org@7974 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-23 15:20:41 +00:00
hidnplayr
38fd277557
small network code updates, annotations
...
git-svn-id: svn://kolibrios.org@7680 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 19:02:34 +00:00
hidnplayr
93a672ba27
network code cleanup
...
git-svn-id: svn://kolibrios.org@7679 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:46:47 +00:00
hidnplayr
338b57422f
network code cleanup, fix some statistics
...
git-svn-id: svn://kolibrios.org@7678 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-08-25 18:21:44 +00:00
hidnplayr
44f6fd248e
TCP: Use bitflag instead of dword for t_force.
...
git-svn-id: svn://kolibrios.org@6916 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-31 17:54:16 +00:00
ashmew2
caf7d0c041
Add a build script for Linux
...
git-svn-id: svn://kolibrios.org@6908 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:56:19 +00:00
ashmew2
03c47f08be
Build script for linux
...
git-svn-id: svn://kolibrios.org@6907 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:43:39 +00:00
hidnplayr
58663b49dd
More comments and stats in TCP code.
...
git-svn-id: svn://kolibrios.org@6476 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 18:06:19 +00:00
hidnplayr
6c4e2f8033
More descriptive constant names, reduced socket buffer size.
...
git-svn-id: svn://kolibrios.org@6413 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-04-30 21:15:55 +00:00
hidnplayr
c81c3fbd4f
Cosmetical changes in network code, updated TCP timer code.
...
git-svn-id: svn://kolibrios.org@6011 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-27 15:37:31 +00:00
hidnplayr
0be26c4c22
Implemented TCP 2MSL (Timed-wait) timer.
...
Cleanup and various bugfixes in network code.
git-svn-id: svn://kolibrios.org@5976 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-16 21:20:53 +00:00
hidnplayr
7cff3aa25b
Improved error handling in sockets code.
...
git-svn-id: svn://kolibrios.org@5969 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-15 21:54:06 +00:00
hidnplayr
b6883ee547
Improved RAW sockets. Added ability to set TTL thorugh setsockopt, Improved ping program.
...
git-svn-id: svn://kolibrios.org@5842 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 18:23:40 +00:00
hidnplayr
47d756fe2f
Bugfixes to bind socket to device.
...
git-svn-id: svn://kolibrios.org@5584 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-20 11:13:42 +00:00
hidnplayr
042ae8524e
bugfix in SOCKET_ring_create (stack corruption)
...
git-svn-id: svn://kolibrios.org@5566 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-06-01 21:44:10 +00:00
hidnplayr
0ba1fff7a7
New network buffers - phase I
...
git-svn-id: svn://kolibrios.org@5522 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-17 21:50:29 +00:00
hidnplayr
b23bd6c7e3
Collect some more TCP statistics.
...
git-svn-id: svn://kolibrios.org@5442 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-21 15:07:30 +00:00
hidnplayr
7b10f06b00
SOCKET_receive: generate a new network event when we expect the caller to call back later.
...
git-svn-id: svn://kolibrios.org@5364 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 23:32:03 +00:00
Yogev Ezra
76a0cbdfe5
Change copyright year in kernel and drivers to 2015. No code changes.
...
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Sergey Semyonov (Serge)
b4814c7084
kernel: update PTE bits
...
git-svn-id: svn://kolibrios.org@5356 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 14:53:54 +00:00
hidnplayr
22d5b72b64
Dont crash on socket_fork when out of memory.
...
git-svn-id: svn://kolibrios.org@5155 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 18:27:28 +00:00
Marat Zakiyanov (Mario79)
da8c332884
Added the tag "Revision: XXXX" in some kernel files, to form the right number of revision at boot (blue boot screen).
...
git-svn-id: svn://kolibrios.org@4850 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-17 21:19:45 +00:00
hidnplayr
5ae0511a52
Fixed stack corruption on SOCKET_num_to_ptr error.
...
git-svn-id: svn://kolibrios.org@4574 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 19:42:18 +00:00
hidnplayr
bd53b16a76
Bugfix for SOCKET_alloc.
...
git-svn-id: svn://kolibrios.org@4535 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-27 10:27:38 +00:00
hidnplayr
91ae4fdcf8
More bugfixes for SOCKET_notify.
...
git-svn-id: svn://kolibrios.org@4528 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 13:14:23 +00:00
hidnplayr
6e6f7a23d3
Bugfix in SOCKET_notify.
...
git-svn-id: svn://kolibrios.org@4527 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 12:48:59 +00:00
hidnplayr
730070df44
Bugfix in SOCKET_block
...
git-svn-id: svn://kolibrios.org@4520 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-23 14:37:18 +00:00
hidnplayr
9a1dad1ca1
Disabled socket cleanup after process ends (until deadlock is fixed..)
...
git-svn-id: svn://kolibrios.org@4436 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 08:07:54 +00:00
hidnplayr
e2ec33712e
TCP: correctly close connection.
...
git-svn-id: svn://kolibrios.org@4366 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 21:27:22 +00:00
hidnplayr
fe46d27eaf
Bugfix in SOCKET_close for TCP
...
git-svn-id: svn://kolibrios.org@4365 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 18:30:19 +00:00
hidnplayr
bf755d6cbd
TCP: advertise correct window, small updates and bugfixes
...
git-svn-id: svn://kolibrios.org@4347 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-13 12:20:53 +00:00
hidnplayr
5e7711d4f6
Bugfix in PAWS algorithm for TCP.
...
git-svn-id: svn://kolibrios.org@4344 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-12 11:32:03 +00:00
hidnplayr
d148603f7d
Bugfixes in TCP.
...
git-svn-id: svn://kolibrios.org@4339 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-10 21:08:29 +00:00
hidnplayr
c6d3f29329
SOCKET_receive: bugfixes, return 0 when remote end closed connection.
...
git-svn-id: svn://kolibrios.org@4219 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 20:05:57 +00:00
hidnplayr
fe0a297192
SOCKET_process_end: exit immediately if there are no active sockets.
...
git-svn-id: svn://kolibrios.org@4056 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-20 11:50:49 +00:00
hidnplayr
931a90c02d
Some cleanup/refactoring of IPv4 code (preparing for routing)
...
git-svn-id: svn://kolibrios.org@4052 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-19 15:47:58 +00:00
hidnplayr
b99d839ce8
refactored SOCKET_connect
...
git-svn-id: svn://kolibrios.org@4030 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-15 10:35:08 +00:00
hidnplayr
e3504571ad
SOCKET_connect: better error handling.
...
git-svn-id: svn://kolibrios.org@4025 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-14 07:08:51 +00:00
hidnplayr
8fe83f0f69
Cancel time-out timer if connection succeeded
...
git-svn-id: svn://kolibrios.org@4021 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-13 21:59:31 +00:00
hidnplayr
7cade993e9
kernel: wait 3 seconds for TCP connection to be established, timeout after that.
...
telnet: print error message when socket could not be opened.
git-svn-id: svn://kolibrios.org@4020 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-13 21:35:17 +00:00
hidnplayr
3189551ee6
Fixing deadlock in SOCKET_process_end
...
git-svn-id: svn://kolibrios.org@3884 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-02 12:56:36 +00:00