Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
n07070
db3875205e Implémentation de poll() terminé, ajouter les nouvelles fonctions et
leurs signtaure à faire
2020-04-15 19:28:28 +02:00
n07070
45cdc1409c Ajout d'un log 2020-04-15 12:46:34 +02:00
n07070
f294be3ba2 Fixed sending messages
Fixed return types
Fixed signatures
Fixed *some* warnings
2020-04-14 19:32:15 +02:00
n07070
52aa2c653f Merge branch 'dev-felipe' into 11-envoie-des-paquets 2020-04-14 17:57:08 +02:00
gonzalef
9c93785ca6 work with tlvs 2020-04-07 19:05:30 +02:00
n07070
05e9346726 Traduction des commentaires vers l'anglais 2020-04-01 18:47:38 +02:00
n07070
b96655da72 Ajout de la fonction d'envoie de tlv 2020-04-01 18:43:53 +02:00
n07070
e1276448f1 Traduction des commentaires en anglais,
Modification de la signature des deux fonctions
2020-04-01 17:56:17 +02:00
n07070
b7478364ab Ajout de la signature de la fonction envoyant plusieurs TLV 2020-04-01 17:54:01 +02:00
n07070
d637d8c1ef Suppression temporaire de la fonction send_paquet. 2020-04-01 17:51:54 +02:00
n07070
4a616dbfe0 Ajout de la signature de la fonction d'envoie de paquet 2020-04-01 17:51:25 +02:00
n07070
d39efa7501 Changement du node_id pour un nombre de 64bit (!bytes)
Générer avec python3.random(64)
2020-04-01 17:16:46 +02:00
n07070
728283acdd Résolution du merge
Changement de place des fonctions
Ajout d'une section pour les fonctions utilitaires
2020-04-01 17:12:24 +02:00
n07070
4c2ebba255 Merge branch 'dev-felipe' into dev-nelson 2020-03-31 22:10:15 +02:00
gonzalef
12745c0100 build tlvs #NOT FINISHED# 2020-03-31 19:16:23 +02:00
gonzalef
a82c8cb60a delete misc 2020-03-31 18:30:06 +02:00
gonzalef
7db155e671 hash 2020-03-31 18:28:12 +02:00
gonzalef
a469108dc5 hash func start 2020-03-31 15:57:31 +02:00
n07070
8adf0d2bec Added work_with_tlvs 2020-03-24 19:39:16 +01:00
n07070
882b75433a Modif valid tlv 2020-03-24 18:27:31 +01:00
gonzalef
13bc1e327a djgn 2020-03-24 18:23:18 +01:00
n07070
ac657e4bbd Added tlv_list and check_header 2020-03-24 18:19:35 +01:00
gonzalef
3a6d034a95 merge 2020-03-24 17:42:25 +01:00
gonzalef
0609dc11b9 src 2020-03-24 16:34:45 +01:00