Commit Graph

152 Commits

Author SHA1 Message Date
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
PERDRIAU nelson b568e34d6a Merge branch '15-lier-run_node' into 'master'
Resolve "lier run_node"

Closes #15

See merge request perdriau/dazibao!9
2020-04-29 14:00:57 +02:00
n07070 884fb2e3b3 Merge branch 'master' of gaufre.informatique.univ-paris-diderot.fr:perdriau/dazibao 2020-04-29 14:00:17 +02:00
n07070 06fa230463 Added gitignore 2020-04-29 13:59:58 +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
gonzalef 27d38c3fe5 concat_len 2020-04-28 18:07:06 +02:00
gonzalef aa5ac80337 concat hash no realloc 2020-04-28 18:02:34 +02:00
n07070 25e703b993 Added basic add_message function 2020-04-28 17:48:41 +02:00
gonzalef b7b786c69a Merge branch 'fix-hash' of https://gaufre.informatique.univ-paris-diderot.fr/perdriau/dazibao into fix-hash 2020-04-28 17:47:56 +02:00
gonzalef 3e678b64be malloc(0) fixed 2020-04-28 17:47:31 +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
n07070 723466fba8 Modification de len_list 2020-04-27 15:50:23 +02:00
n07070 b7edd978b1 Ajout de nouvelles notes 2020-04-27 14:52:54 +02:00
gonzalef 481903c24a ask for peers 2020-04-24 22:48:10 +02:00
gonzalef dac138c92a update neighbours 2020-04-24 21:45:09 +02:00
gonzalef c633955b54 check/add/update neighbours 2020-04-24 20:23:57 +02:00
gonzalef 543a2a266e compilation errors 2020-04-24 19:07:50 +02:00
n07070 d6a2ca7c3b Modified signature for t_* functions, run_node and bootstrap_node 2020-04-18 15:24:11 +02:00
n07070 03e5b69553 Added comments and changed signature or t_* functions 2020-04-18 15:02:55 +02:00
n07070 85d81dc5db Merge branch '14-implement-poll' into 13-rapport-de-soutenance 2020-04-18 14:17:44 +02:00
n07070 e8fa52dc81 Added structure for rapport 2020-04-18 13:20:58 +02:00
n07070 957361812b Added header image 2020-04-18 13:20:43 +02:00
n07070 fcf2d6329a Added file 2020-04-18 13:04:01 +02:00
n07070 dd532dc580 Added function to update messages,
Added bootstrap function,
Added time-delay for node update,
2020-04-17 15:37:07 +02:00
n07070 664faa96f0 Merge branch '11-envoie-des-paquets' into 14-implement-poll 2020-04-17 15:36:46 +02:00
gonzalef e4e585121e send packets v1 2020-04-16 18:52:19 +02:00
gonzalef 50bb64059b change data types 2020-04-16 15:27:32 +02:00
gonzalef cdef7ee0ac solved compilation errors | changed header includes, makefile flags, pointers to arrays 2020-04-16 15:08:22 +02:00