Commit Graph

81 Commits

Author SHA1 Message Date
n07070
e1364bc58e Changed debug print,
Added memcmp in get_neibourgh
Found bug with port number conversion
2020-05-04 12:59:08 +02:00
nis
bdec3db1c6 node state request fix 2020-05-04 00:23:25 +02:00
nis
e5ec8b36ae adding tlv to packet error fix 2020-05-03 23:43:17 +02:00
nis
c56a151762 hash fix (not finished yet) 2020-05-03 21:38:04 +02:00
nis
733c700492 struct padding error fix 2020-05-03 00:19:54 +02:00
n07070
bd8f5c452b Trying to fix the receiving of messages 2020-04-30 19:56:58 +02:00
n07070
201084d9f1 Trying to fix 2020-04-29 22:45:58 +02:00
n07070
e96c21027e Merge branch 'get-network-state' of gaufre.informatique.univ-paris-diderot.fr:perdriau/dazibao into get-network-state 2020-04-29 22:25:31 +02:00
n07070
ae893c91fc Some changes 2020-04-29 22:22:58 +02:00
gonzalef
0bb80d078c int64_t to uint64_t and endianness problem 2020-04-29 22:22:30 +02:00
n07070
25c3b2313a Merge branch 'add-message' into get-network-state 2020-04-29 20:53:13 +02:00
n07070
c47bff0a55 Merge branch 'add-message' of gaufre.informatique.univ-paris-diderot.fr:perdriau/dazibao into add-message 2020-04-29 20:43:25 +02:00
n07070
f9c1cda499 Fixing unintialized values 2020-04-29 20:19:02 +02:00
gonzalef
5e8b4fa928 add message and add data 2020-04-29 19:53:19 +02:00
n07070
c19f5e7c3c Trying to fix print_out, but too many memory errors 2020-04-29 19:03:46 +02:00
n07070
72b00cb07d Added printing the peer list 2020-04-29 16:40:01 +02:00
n07070
ab1f278685 Added another print_error 2020-04-29 16:19:05 +02:00
n07070
ba0cf32cb0 Added new print_error function
Added checks for NULL values
Added comments and quesitons as // TODO
2020-04-29 16:17:22 +02:00
n07070
055ecfd0ba Revert "Merge branch 'master' into add-message"
This reverts commit 8da14978d6, reversing
changes made to 704ed2a523.
2020-04-29 14:30:05 +02:00
n07070
8da14978d6 Merge branch 'master' into add-message 2020-04-29 14:25:26 +02:00
n07070
704ed2a523 Merge branch 'add-message' of gaufre.informatique.univ-paris-diderot.fr:perdriau/dazibao into add-message 2020-04-29 14:22:14 +02:00
PERDRIAU nelson
b5a6bb0475 Merge branch 'fix-hash' into 'master'
Fix hash

See merge request perdriau/dazibao!14
2020-04-29 14:19:51 +02:00
PERDRIAU nelson
fa872ed625 Merge branch 'master' into 'debug-fnc'
# Conflicts:
#   src/node.c
2020-04-29 14:18:58 +02:00
PERDRIAU nelson
28700a1609 Merge branch 'master' into '16-update_neighbours'
# Conflicts:
#   src/node.c
2020-04-29 14:15:05 +02:00
PERDRIAU nelson
abb55957bc Merge branch 'master' into '5-ajouter-un-flag-de-debut'
# Conflicts:
#   src/node.c
2020-04-29 14:03:23 +02:00
gonzalef
904f0fcc79 big endian/little endian conversions 2020-04-28 20:22:53 +02:00
n07070
70ca7f5f10 Removec old comment 2020-04-28 20:12:59 +02:00
n07070
fae758e4dd Fixed adding message to data list before receiving messages 2020-04-28 19:51:53 +02:00
n07070
fd623ee484 Merge branch 'fix-hash' into add-message 2020-04-28 19:36:49 +02:00
n07070
88e15dea3a messages are now added to the data_list 2020-04-28 19:36:30 +02:00
n07070
73e681a5ea Merge branch 'add-message' into fix-hash 2020-04-28 19:20:15 +02:00
n07070
2cf652f8ba remove .o files 2020-04-28 19:19:45 +02:00
gonzalef
61041efd02 send_packet 2020-04-28 19:05:10 +02:00
gonzalef
897550a0ac warning sprintf 2020-04-28 19:02:02 +02:00
n07070
956b249259 Added a new way to add data to a list of data 2020-04-28 18:37:21 +02:00
n07070
25e703b993 Added basic add_message function 2020-04-28 17:48:41 +02:00
n07070
023dd46a26 Modification of the malloc's 2020-04-28 17:37:51 +02:00
n07070
a178c76116 Fixed bad memcmp, activated receiving messages. 2020-04-28 00:01:43 +02:00
n07070
4539b8c3c7 Added printing of network hash 2020-04-27 23:42:11 +02:00
n07070
dceac0cecd Added debug_function and pretty print
Added DEBUG_LEVEL
if DEBUG_LEVEL > 3, the execution is step by step.
2020-04-27 22:31:31 +02:00
n07070
9b2a3f1ea8 fixed the neighbour update problem 2020-04-27 20:38:31 +02:00
gonzalef
00ed727da0 Merge branch '16-update_neighbours' of https://gaufre.informatique.univ-paris-diderot.fr/perdriau/dazibao into 16-update_neighbours 2020-04-27 20:09:02 +02:00
gonzalef
bda49e5e92 work with tlvs check packet length 2020-04-27 20:08:30 +02:00
n07070
c8b106838a Fixing validate_tlv 2020-04-27 19:49:33 +02:00
n07070
ecc168cbf4 Debugging receiving packets, validate_tlv 2020-04-27 19:15:24 +02:00
n07070
82948ef639 Merge branch '16-update_neighbours' of gaufre.informatique.univ-paris-diderot.fr:perdriau/dazibao into 16-update_neighbours 2020-04-27 18:03:21 +02:00
n07070
eb4770e36c Modifcations of the sendout of packets 2020-04-27 17:53:53 +02:00
gonzalef
f429df8c18 packet length 2020-04-27 17:46:27 +02:00
gonzalef
ec754aec24 set pad1 to NULL 2020-04-27 17:25:53 +02:00
n07070
822b344a57 Fixing sending packets 2020-04-27 17:22:41 +02:00