Commit graph

9 commits

Author SHA1 Message Date
Nicolas Van Wambeke
b6816aa736 Fixed header size constant to match size of mic_tcp_header structure 2023-04-09 19:00:39 +02:00
Nicolas Van Wambeke
25b296efea Better separation of transport and network layer, extension of IP_send and IP_receive to enable easy development of multiple sockets in mictcp 2023-03-25 18:39:51 +01:00
Nicolas Van Wambeke
f643d39168 Changes to use random port numbers (depend on user's uid) rather
than a static port. Allows all students to use the same machine
(for Covid-19 mitigation)
2020-04-03 11:36:58 +02:00
Guillaume Averlant
5e4a2b64a9 ADD+BUGFIX [mictcp/mictcp_core] (see details below)
1) BUGFIX: Fixed the return value of IP_send() and IP_recv() so that they does not include the header size anymore.

2) ADD: Harmonization of IP_send() and IP_recv() so that they both use mic_tcp_pdu data instead of ip_payload data.
Moved therefore the ip_payload type declaration in mictcp_core.h.

3) ADD: Add the source address to the arguments of process_received_PDU() in order to make the multiplexing implementation possible.

4) ADD: Generate a stub addr in IP_recv()
2018-05-03 19:14:04 +02:00
Guillaume Averlant
95be64764a Cleanup: remove trailing whitespace in all files of the project 2018-05-01 18:30:13 +02:00
Guillaume Averlant
e28e634800 Updated the mictcp base with the 2017-03-18 source code distributed to students.
These changes were not made by myself.
2018-05-01 18:20:58 +02:00
Nicolas Van Wambeke
5c3e257904 Cleaned global variables and simplified the partially reliable send 2016-06-19 21:04:55 +02:00
Nicolas Van Wambeke
ddeca822aa Modified to compiled with -ansi and -Wall
-pedantic was not set to allow for __FUNCTION__ use in printf
2016-06-19 15:02:32 +02:00
Nicolas Van Wambeke
dc58e0e2d5 Initial Import 2016-06-13 23:17:19 +02:00