-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitlog.stat
2222 lines (1685 loc) · 72.7 KB
/
gitlog.stat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit e216f03dc57e6b952764dbfaa12a598c988c5cd3
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 24 18:14:35 2019 +0200
Over 1 Mpps - no memory leak. NOICE
.vscode/settings.json | 5 +-
src/cli.c | 9 +++
src/main.c | 153 +++++++++++++++++++++++++++++++-------------------
3 files changed, 109 insertions(+), 58 deletions(-)
commit b8f3db94be1ad433a1d5df4696716be9e02926db
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 24 17:06:34 2019 +0200
Changed CRC32 impl -> 0.8 Mpps
Makefile | 4 +-
affinity.cfg | 4 +-
headers/client.h | 4 +-
headers/crc32.h | 14 --
headers/global.h | 4 +-
lib/Crc32.h | 75 ++++++
src/cli.c | 4 -
src/client.c | 2 +-
src/crc32.c | 704 -------------------------------------------------------
src/handler.c | 6 +-
src/packet.c | 10 +-
streams.cfg | 4 +-
12 files changed, 97 insertions(+), 738 deletions(-)
commit cc45a5cf2c1c1de054abcd550690df71036068c9
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 23:12:42 2019 +0200
Added stream config, new CRC32
.vscode/settings.json | 4 +-
Makefile | 6 +-
affinity.cfg | 4 +-
gitlog.stat | 22 +
headers/cli.h | 35 +-
headers/crc32.h | 14 +
headers/global.h | 9 +-
headers/stream.h | 2 +-
projet1_d-Herbais-de-Thun_Heuschling.zip | Bin 1288705 -> 1288873 bytes
rapport.pdf | Bin 247946 -> 248295 bytes
report/main.pdf | Bin 247946 -> 248295 bytes
report/main.tex | 2 +-
report/sections/cover.tex | 4 +-
src/cli.c | 162 ++++++-
src/crc32.c | 704 +++++++++++++++++++++++++++++++
src/main.c | 103 ++++-
src/packet.c | 8 +-
src/stream.c | 2 +-
streams.cfg | 2 +
tests/handler_test.c | 4 +-
tests/stream_test.c | 4 +-
21 files changed, 1039 insertions(+), 52 deletions(-)
commit 5b0e47544e66e88f1709ed45d13e0be73f591242
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 17:07:38 2019 +0200
Removed double include
headers/global.h | 2 --
1 file changed, 2 deletions(-)
commit e7557ab671f19abf7964b8fd0a860bfad846cdc4
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 17:07:19 2019 +0200
Merge & cleanup
gitlog.stat | 80 ++++++++++++++++++++++++++
projet1_d-Herbais-de-Thun_Heuschling.zip | Bin 1286392 -> 1288705 bytes
tests/{Tout_test.c => handler_test.c} | 3 +-
tests/headers/{Tout_test.h => handler_test.h} | 0
tests/tests.c | 2 +-
5 files changed, 82 insertions(+), 3 deletions(-)
commit 99779d979ff042b3ca3917c75321f526696f07fa
Merge: 34f16c1 2f034b9
Author: Seb Dhe <[email protected]>
Date: Tue Oct 22 17:04:25 2019 +0200
Merge pull request #2 from Dherse/recvmmsg
Recvmmsg
commit 34f16c1193b7409c192c6d26c00a6ac3e761d6a2
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 17:03:07 2019 +0200
Fixed tests
projet1_d-Herbais-de-Thun_Heuschling.zip | Bin 1156619 -> 1286392 bytes
rapport.pdf | Bin 0 -> 247946 bytes
report/main.pdf | Bin 247951 -> 247946 bytes
tests/receiver_test.c | 24 ------------------------
4 files changed, 24 deletions(-)
commit 2f034b97d66c48a5825b49bf122af3336d850646
Merge: b9ab26f f3aa6f2
Author: skjdbg <[email protected]>
Date: Tue Oct 22 17:02:35 2019 +0200
Merge branch 'recvmmsg' of https://github.com/Dherse/TRTP2 into recvmmsg
commit b9ab26faa4dd4023cef693980141af074ddb442b
Author: skjdbg <[email protected]>
Date: Tue Oct 22 17:02:24 2019 +0200
bug correction and test global finished
headers/global.h | 2 +
headers/handler.h | 1 +
tests/Tout_test.c | 124 ++++++++++++++++++++++++++--------------------
tests/headers/Tout_test.h | 3 --
tests/stream_test.c | 4 +-
5 files changed, 74 insertions(+), 60 deletions(-)
commit 95619668fc3c0125288893529c430cfa469932ec
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:43:59 2019 +0200
Update stat & archive
gitlog.stat | 157 +++++++++++++++++++++++++++++++
projet1_d-Herbais-de-Thun_Heuschling.zip | Bin 1277559 -> 1156619 bytes
2 files changed, 157 insertions(+)
commit 7e9478b655520f1718fe62510b00c4b7b78f9b4f
Merge: 66ba08c a35073f
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:41:54 2019 +0200
Merge maybe?
commit 66ba08c98330b32bbee1b168b2b7a92085b3772d
Merge: 018bff7 f3aa6f2
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:39:55 2019 +0200
Merged fully
commit f3aa6f299228d78b8f2dd54623834b373b80f5ff
Merge: ad69763 018bff7
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:38:07 2019 +0200
Merge with master
commit ad697635afc15eb6f989f11066768234ba6515f3
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:27:54 2019 +0200
First submission. Going to merge with main branch now
.gitignore | 1 +
Makefile | 10 ++++++++--
README.md | 12 ++++++++++--
gitlog.stat | 29 +++++++++++++++++++++++++++++
projet1_d-Herbais-de-Thun_Heuschling.zip | Bin 0 -> 1277559 bytes
receiver | Bin 132072 -> 0 bytes
udp_flow.png | Bin 132180 -> 126806 bytes
7 files changed, 48 insertions(+), 4 deletions(-)
commit fc54c043fdcf741a0d056531d7d7b1c5d0700e99
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 16:07:24 2019 +0200
Further cleanup, work on README.md
Makefile | 17 +-
README.md | 87 +-
affinity.cfg | 2 +-
.../dissector-LINGI1341.lua | 0
base/receiver | Bin 0 -> 40416 bytes
sender => base/sender | Bin
statement.pdf => base/statement.pdf | Bin
callgraph.png | Bin 305561 -> 254129 bytes
gitlog.stat | 1126 +++++++
headers/global.h | 3 +
headers/handler.h | 1 +
hello_world.txt | 1 -
many_sender.sh | 2 -
receiver | Bin 40416 -> 132072 bytes
report.pdf | Bin 21611 -> 0 bytes
src/main.c | 2 +-
tests/stream_test.c | 4 +-
udp_flow.png | Bin 0 -> 132180 bytes
udpdump.pcap | Bin 45597 -> 3551 bytes
valgrind-out.txt | 171 -
valgrindout.txt | 3374 --------------------
21 files changed, 1212 insertions(+), 3578 deletions(-)
commit 0f9e92b695de4c17df74e6a04905ac3784fcc376
Merge: f4d41fc 2da3495
Author: skjdbg <[email protected]>
Date: Tue Oct 22 15:41:33 2019 +0200
merged conflicts
commit f4d41fc8807c006920bfe15dfe7cc6f87c24ac70
Author: skjdbg <[email protected]>
Date: Tue Oct 22 15:40:53 2019 +0200
test started (not compiling)
tests/Tout_test.c | 276 ++++++++++++++++++++++++++++++++++++++++++++++
tests/headers/Tout_test.h | 8 ++
2 files changed, 284 insertions(+)
commit e9a12acb527a27c81f720c2e16a16d6afdfa07b9
Author: skjdbg <[email protected]>
Date: Tue Oct 22 15:40:20 2019 +0200
small code cleanup
Makefile | 2 +-
headers/receiver.h | 1 +
src/cli.c | 2 +-
tests/tests.c | 4 +++-
4 files changed, 6 insertions(+), 3 deletions(-)
commit 2da349514508b59e18057c8ee61a24203a194f9a
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 15:15:26 2019 +0200
Complete comment cleanup
.vscode/settings.json | 5 +-
headers/buffer.h | 37 +++--
headers/cli.h | 98 +++++++++++++-
headers/client.h | 47 ++++++-
headers/errors.h | 66 +++++++--
headers/global.h | 94 +++++++++----
headers/handler.h | 27 +++-
headers/hash_table.h | 20 ++-
headers/lookup.h | 25 +---
headers/main.h | 9 +-
headers/packet.h | 30 ++---
headers/receiver.h | 21 ++-
headers/stream.h | 86 ++++++------
src/buffer.c | 25 +---
src/cli.c | 157 ++++++++++------------
src/client.c | 12 +-
src/handler.c | 76 ++++++++---
src/lookup.c | 6 +
src/main.c | 37 +++--
src/packet.c | 10 +-
src/receiver.c | 9 +-
src/stream.c | 26 +---
src/temp_handler.c | 363 --------------------------------------------------
23 files changed, 575 insertions(+), 711 deletions(-)
commit fb4a7f298a8563cc2143d5e4f0575691f9ded061
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Tue Oct 22 01:43:29 2019 +0200
Fixed pretty much everything, working on report
Makefile | 12 +++----
affinity.cfg | 4 +--
callgraph.png | Bin 340474 -> 305561 bytes
headers/cli.h | 2 ++
headers/handler.h | 3 +-
rapport.pdf | Bin 0 -> 247951 bytes
report/.gitignore | 1 -
report/assets/epl.jpg | Bin 0 -> 18372 bytes
report/assets/ucl.jpg | Bin 0 -> 210945 bytes
report/book.toml | 14 --------
report/main.pdf | Bin 0 -> 247951 bytes
report/main.tex | 69 +++++++++++++++++++++++++++++++++++++++
report/sections/cover.tex | 34 +++++++++++++++++++
report/sections/introduction.tex | 11 +++++++
report/src/SUMMARY.md | 3 --
report/src/chapter_1.md | 1 -
16 files changed, 126 insertions(+), 28 deletions(-)
commit a35073f762a6489339920ba6b284ea36f1d02dc8
Author: skjdbg <[email protected]>
Date: Mon Oct 21 23:24:29 2019 +0200
cleaned up folder
Makefile | 4 +-
gitlog.stat | 1079 +++++++++++++++
hello_world.txt | 1 -
report.pdf => rapport.pdf | Bin
receiver | Bin 40416 -> 127584 bytes
src/handler.c | 1 -
tests/receiver_test.c | 24 +
valgrind-out.txt | 171 ---
valgrindout.txt | 3374 ---------------------------------------------
9 files changed, 1105 insertions(+), 3549 deletions(-)
commit 894c7acb9672dce904c9422f9ce4b65ad13c8997
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 21 23:23:07 2019 +0200
Removed buffer locks (unused), fixed tests
headers/buffer.h | 89 ++-----------------------
headers/hash_table.h | 2 +-
headers/receiver.h | 1 -
src/buffer.c | 172 +-----------------------------------------------
src/client.c | 19 +++---
src/handler.c | 19 +++---
src/hash_table.c | 10 +--
src/main.c | 2 -
src/receiver.c | 31 ++++-----
tests/buffer_test.c | 8 +--
tests/headers/ht_test.h | 1 +
tests/ht_test.c | 13 ++--
tests/stream_test.c | 4 +-
13 files changed, 57 insertions(+), 314 deletions(-)
commit ba869619a42585d5ce0410853764310d2349fc60
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 21 22:53:04 2019 +0200
No memory leak, implemented sequential
Makefile | 4 +-
headers/handler.h | 17 +-
headers/receiver.h | 11 ++
src/cli.c | 51 +++++-
src/handler.c | 469 ++++++++++++++++++++++++++++-------------------------
src/main.c | 278 ++++++++++++++++++-------------
src/receiver.c | 216 +++++++++++++-----------
7 files changed, 602 insertions(+), 444 deletions(-)
commit 0c24b6f78e8b29dac2b6772a04295fb1fbb2c530
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 21 20:33:38 2019 +0200
Corrected handler, removed sender
headers/receiver.h | 79 --------------
src/client.c | 4 +-
src/handler.c | 313 +++++++++++++++++++++++++++++------------------------
src/receiver.c | 20 +---
src/sender.c | 92 ----------------
5 files changed, 176 insertions(+), 332 deletions(-)
commit da9c7c33643c24c4f450a7434bc47e6324b2b160
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 21 20:04:44 2019 +0200
Much better situation
.vscode/settings.json | 5 +-
Makefile | 4 +-
affinity.cfg | 2 +
callgraph.png | Bin 383299 -> 340474 bytes
headers/cli.h | 34 ++++++
headers/client.h | 11 +-
headers/handler.h | 4 +
headers/hash_table.h | 9 +-
headers/receiver.h | 12 ++-
src/cli.c | 203 +++++++++++++++++++++++++++++++++--
src/client.c | 28 ++---
src/handler.c | 122 ++++++++++++++-------
src/hash_table.c | 10 +-
src/main.c | 291 ++++++++++++++------------------------------------
src/packet.c | 28 +----
src/receiver.c | 63 +++++------
16 files changed, 476 insertions(+), 350 deletions(-)
commit fb6e777cba87aec9c892909e2cb13f09c3fbd090
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Sat Oct 19 00:22:00 2019 +0200
In working condition with recvmmsg
.vscode/settings.json | 6 +-
Makefile | 2 +-
headers/client.h | 13 +-
headers/errors.h | 1 +
headers/handler.h | 14 +-
headers/packet.h | 2 +-
headers/receiver.h | 2 +
many_sender.sh | 2 +-
src/client.c | 18 ++-
src/handler.c | 425 ++++++++++++++++++++++----------------------------
src/main.c | 189 +++++++++++++---------
src/packet.c | 12 +-
src/receiver.c | 199 ++++++++++++++---------
src/sender.c | 17 ++
src/temp_handler.c | 14 +-
15 files changed, 503 insertions(+), 413 deletions(-)
commit 018bff7df159b1f5faa9f01e3394dcea3656044a
Author: skjdbg <[email protected]>
Date: Fri Oct 18 23:47:15 2019 +0200
Ver 1.0 low perf
src/handler.c | 584 +++++++++++++++++++++++++++++------------------------
src/temp_handler.c | 377 ----------------------------------
2 files changed, 323 insertions(+), 638 deletions(-)
commit 5f0a334a9a83143fa4cf32cdb48a551e1962388f
Author: skjdbg <[email protected]>
Date: Fri Oct 18 23:43:07 2019 +0200
NO LEAKS, WORKS. changed socklen_t * to socklen_t
headers/client.h | 5 +++--
headers/receiver.h | 2 +-
src/client.c | 17 ++++-------------
src/main.c | 2 +-
src/receiver.c | 3 +--
5 files changed, 10 insertions(+), 19 deletions(-)
commit 7b443bf8b620746934670380a1677d0e8bb992aa
Author: skjdbg <[email protected]>
Date: Fri Oct 18 23:33:45 2019 +0200
ONLY 4 BYTES LEAKING
headers/hash_table.h | 9 +++++----
src/buffer.c | 1 -
src/client.c | 1 +
src/hash_table.c | 16 ++++++++--------
src/temp_handler.c | 4 ++--
5 files changed, 16 insertions(+), 15 deletions(-)
commit 53ab4e0569d8b07389be162c7bd5e6581544b27e
Author: skjdbg <[email protected]>
Date: Fri Oct 18 21:00:54 2019 +0200
fixed biggest remaining leak
src/sender.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
commit 90870b7ad4463cc36e24ba1ec3a45d0e306aaadc
Author: skjdbg <[email protected]>
Date: Fri Oct 18 21:00:41 2019 +0200
reused existing function to clean up code
headers/handler.h | 2 +-
src/receiver.c | 16 ++++------------
src/temp_handler.c | 7 +++----
3 files changed, 8 insertions(+), 17 deletions(-)
commit 6d8b5387c4f0f7a8e16fe7a234d70354e8d21d10
Author: skjdbg <[email protected]>
Date: Fri Oct 18 19:53:56 2019 +0200
inline may be undesirable so i removed it
src/temp_handler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ea19f59adf1848756bdb628eb24ec2139b1a4515
Author: skjdbg <[email protected]>
Date: Fri Oct 18 19:27:15 2019 +0200
leak fixing
src/temp_handler.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
commit 1e0238ab5a63f9ca6796fe921441abea547920c8
Author: skjdbg <[email protected]>
Date: Fri Oct 18 17:48:08 2019 +0200
added getters/setters
headers/handler.h | 9 ++++-----
src/temp_handler.c | 37 ++++++++++++++++++++++++++++++++-----
2 files changed, 36 insertions(+), 10 deletions(-)
commit 928676e831d8f0d3343248487af16015350471d8
Author: skjdbg <[email protected]>
Date: Fri Oct 18 17:06:43 2019 +0200
added pop_and_check_req to clean up code
headers/handler.h | 15 +++++++++++++++
src/temp_handler.c | 56 +++++++++++++++++++++++++-----------------------------
2 files changed, 41 insertions(+), 30 deletions(-)
commit dd9bb49bca380573508173352c3ec4a2bf6bafb4
Author: skjdbg <[email protected]>
Date: Fri Oct 18 16:40:41 2019 +0200
temp_handler works in"perfect cases, leaks to fix
src/handler.c | 6 +++---
src/temp_handler.c | 25 +++++++++++++------------
2 files changed, 16 insertions(+), 15 deletions(-)
commit 4ca94513dd5b91f37d5572a5a7d65c7e1579ba52
Merge: 77b06c8 c839be0
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 23:01:30 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit 77b06c85d4f0750ab0269dabea87ac0ac4049bb4
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 23:01:09 2019 +0200
Working. FINA-FUCKING-LY!!!
.vscode/settings.json | 7 ++++++-
Makefile | 2 +-
headers/buffer.h | 4 ++--
headers/client.h | 4 ++--
headers/global.h | 4 ++--
headers/handler.h | 3 +++
headers/packet.h | 4 ++--
headers/receiver.h | 4 ++--
many_sender.sh | 2 +-
src/handler.c | 6 +++---
src/main.c | 19 +++++++++++++++++++
src/sender.c | 1 -
src/stream.c | 6 +++---
src/temp_handler.c | 2 +-
14 files changed, 47 insertions(+), 21 deletions(-)
commit c839be07d07647164c67c4f4692c5b9457588d50
Merge: 0dce9ba d00db8a
Author: skjdbg <[email protected]>
Date: Thu Oct 17 19:25:32 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit 0dce9ba7bdee188b57171f49d40fa7b4b4135523
Author: skjdbg <[email protected]>
Date: Thu Oct 17 19:25:23 2019 +0200
anihilation of a potentially malicious free
tests/stream_test.c | 3 ---
1 file changed, 3 deletions(-)
commit 1402c8e0f109ec57ce91057fb20f6e00b369ae85
Author: skjdbg <[email protected]>
Date: Thu Oct 17 19:24:51 2019 +0200
orthograph improvement
src/temp_handler.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
commit d00db8a1a270721f0df8301c72126e6bcc4b19a3
Merge: 3e24f8c 8ee42ff
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 19:24:03 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit 3e24f8ce0af6514ebd00c0ef079efc84b6e19312
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 19:23:53 2019 +0200
Pushing some fucking changes
.vscode/settings.json | 3 +-
Makefile | 4 +-
callgraph.png | Bin 409612 -> 383299 bytes
headers/stream.h | 2 +
many_sender.sh | 2 +-
src/buffer.c | 2 +-
src/handler.c | 106 --------------------------------------------------
src/receiver.c | 2 +-
src/stream.c | 12 ++++--
tests/stream_test.c | 3 --
10 files changed, 17 insertions(+), 119 deletions(-)
commit 8ee42fff92ef22d9f7d417c9de688e41077f29dd
Merge: 3a32dc2 255bc2d
Author: skjdbg <[email protected]>
Date: Thu Oct 17 18:00:37 2019 +0200
skjdbg
commit 3a32dc2ee5369be3f771c6fdb4300b47af50c0b8
Author: skjdbg <[email protected]>
Date: Thu Oct 17 17:59:21 2019 +0200
removed a wrong comment
src/temp_handler.c | 1 -
1 file changed, 1 deletion(-)
commit 255bc2d88549c57a1502d5662504b90d0df4c1ba
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 10:40:16 2019 +0200
More fixes
Makefile | 7 +++++--
many_sender.sh | 2 ++
src/handler.c | 6 +++---
src/main.c | 9 ---------
src/packet.c | 8 +++-----
src/receiver.c | 6 +-----
6 files changed, 14 insertions(+), 24 deletions(-)
commit 84c77860c554f5b2828ac2470fd33c7f852815f1
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Thu Oct 17 02:19:34 2019 +0200
Still the same fucking bug
.vscode/settings.json | 4 +-
Makefile | 16 ++++--
headers/hash_table.h | 1 +
headers/packet.h | 2 +
headers/receiver.h | 2 +-
headers/stream.h | 2 +-
src/buffer.c | 1 -
src/handler.c | 143 +++++++++++++++++++++++++++++++++++++++++++-------
src/hash_table.c | 2 +-
src/main.c | 3 +-
src/packet.c | 6 +--
src/receiver.c | 6 ++-
src/stream.c | 6 ++-
src/temp_handler.c | 17 ++----
14 files changed, 163 insertions(+), 48 deletions(-)
commit bdc3e3025a40b7bd68e4d6ee74998016084a67cc
Author: skjdbg <[email protected]>
Date: Thu Oct 17 01:41:52 2019 +0200
switched the two handlers for tests
src/handler.c | 19 +------------------
src/temp_handler.c | 28 ++++++++++++++++++++++++----
2 files changed, 25 insertions(+), 22 deletions(-)
commit ab11f8b2d09d17419446097723c2e10897624917
Merge: 69ba443 5ef8f57
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Wed Oct 16 22:29:46 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit 69ba44323cb2678c5bfc3ef1919657b7c9cba635
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Wed Oct 16 22:29:36 2019 +0200
Mostly fixed Handler
Makefile | 20 +++++--
callgraph.png | Bin 311985 -> 409612 bytes
headers/cli.h | 1 +
headers/errors.h | 1 +
headers/handler.h | 6 ++
headers/packet.h | 5 ++
headers/stream.h | 57 ++++++++++++++++--
src/cli.c | 17 +++++-
src/handler.c | 73 +++++++----------------
src/main.c | 23 +++-----
src/receiver.c | 4 +-
src/sender.c | 11 ++--
src/stream.c | 165 +++++++++++++++++++++++-----------------------------
tests/stream_test.c | 20 +++++--
14 files changed, 217 insertions(+), 186 deletions(-)
commit 5ef8f57753bc55f7ae766d61e859ba191932204b
Author: skjdbg <[email protected]>
Date: Wed Oct 16 21:32:53 2019 +0200
finished rewriting handler thread
src/temp_handler.c | 181 +++++++++++++++++++++++++++++------------------------
1 file changed, 100 insertions(+), 81 deletions(-)
commit 2ed28bbf32e31f75426be73ac0450f8c0ad4234a
Merge: e3aefa7 846a1fa
Author: skjdbg <[email protected]>
Date: Wed Oct 16 18:55:42 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit e3aefa78ce8762354ca65b73e8f33132a2046f2d
Author: skjdbg <[email protected]>
Date: Wed Oct 16 18:55:28 2019 +0200
code cleaning
src/temp_handler.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit 846a1fa08d517bc79ea9068fb84bcba4146255b3
Author: Sébastien d'Herbais <[email protected]>
Date: Wed Oct 16 03:27:11 2019 +0200
Many improvements, new makefile, fixed bugs
.vscode/launch.json | 2 +-
.vscode/settings.json | 7 +-
Makefile | 116 +-
callgraph.png | Bin 0 -> 311985 bytes
headers/buffer.h | 18 +-
headers/client.h | 3 +-
headers/packet.h | 4 -
headers/stream.h | 40 +-
src/buffer.c | 139 +-
src/client.c | 7 +-
src/handler.c | 30 +-
src/packet.c | 6 -
src/receiver.c | 2 +-
tests/buffer_test.c | 6 +-
tests/cli_test.c | 4 +-
tests/handler_test.c | 360 -----
tests/headers/buffer_test.h | 6 +
tests/headers/cli_test.h | 9 +
tests/headers/ht_test.h | 10 +
tests/headers/packet_test.h | 13 +
tests/headers/stream_test.h | 9 +
tests/ht_test.c | 7 +-
tests/misc.c | 63 -
tests/packet_test.c | 4 +-
tests/receiver_test.c | 236 ---
tests/sender_test.c | 23 -
tests/stream_test.c | 4 +-
tests/tests.c | 15 +-
tools/gprof2dot.py | 3510 +++++++++++++++++++++++++++++++++++++++++++
29 files changed, 3816 insertions(+), 837 deletions(-)
commit f8808ce1f755639b37a7c6115b4378aba77e94c9
Author: skjdbg <[email protected]>
Date: Tue Oct 15 19:29:21 2019 +0200
added enqueue_or_free
headers/handler.h | 27 ++++++++++++++++++++++++---
src/temp_handler.c | 2 +-
2 files changed, 25 insertions(+), 4 deletions(-)
commit d7a6609c02c536fa5a78c3853fc1284e0a95785c
Merge: 76db941 bbdd996
Author: skjdbg <[email protected]>
Date: Tue Oct 15 19:20:45 2019 +0200
Merge branch 'master' of https://github.com/Dherse/TRTP2
commit 76db94174329aaa67b0c72edaba291190ce232bd
Author: skjdbg <[email protected]>
Date: Tue Oct 15 19:20:36 2019 +0200
cleaning new handler
src/temp_handler.c | 81 ++++++++++++++++++++----------------------------------
1 file changed, 30 insertions(+), 51 deletions(-)
commit bbdd996439b215a6d91ef1abb508b9ec6d2f7523
Author: Sébastien d'Herbais <[email protected]>
Date: Tue Oct 15 19:17:20 2019 +0200
Added getter & setters on s_node_t
headers/global.h | 19 ++++++++++++++++++-
headers/stream.h | 3 +++
src/stream.c | 3 +++
3 files changed, 24 insertions(+), 1 deletion(-)
commit 290ba100a10d762b2808ef3adcad46d036ff0193
Author: Sébastien d'Herbais <[email protected]>
Date: Tue Oct 15 18:55:00 2019 +0200
Further refactoring
headers/client.h | 6 +--
headers/global.h | 1 +
headers/handler.h | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++
headers/main.h | 1 +
headers/receiver.h | 132 +--------------------------------------------------
headers/stream.h | 6 +--
src/handler.c | 18 ++++++-
src/receiver.c | 64 ++++---------------------
src/sender.c | 9 +++-
src/stream.c | 2 +-
src/temp_handler.c | 1 +
11 files changed, 180 insertions(+), 195 deletions(-)
commit 2256c42c1f04e561de53b3e1978b6c956da5cca2
Merge: c1707a5 ee08815
Author: Sébastien d'Herbais <[email protected]>
Date: Tue Oct 15 18:39:28 2019 +0200
Merge both codes
commit c1707a5beff72f5bd109a51f76ce33e7e92ff3d6
Author: Sébastien d'Herbais <[email protected]>
Date: Tue Oct 15 18:36:41 2019 +0200
Huge refactoring
Makefile | 2 +-
headers/buffer.h | 113 +-
headers/client.h | 95 +
headers/lookup.h | 50 +
headers/packet.h | 196 +-
headers/receiver.h | 73 +-
headers/stream.h | 18 +
src/buffer.c | 10 +-
src/client.c | 139 +
src/handler.c | 12 +-
src/lookup.c | 8967 +++++++++++++++++++++++++--------------------------
src/packet.c | 242 +-
src/receiver.c | 91 +-
src/stream.c | 18 +
tests/buffer_test.c | 13 +-
15 files changed, 5144 insertions(+), 4895 deletions(-)
commit ee088154d9cd382b09cd69ca4c886ae7936c3566
Author: skjdbg <[email protected]>
Date: Tue Oct 15 18:31:15 2019 +0200
started rewriting of handler_thread
src/handler.c | 2 +-
src/temp_handler.c | 346 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 347 insertions(+), 1 deletion(-)
commit 71dc621e99b938e0fc7d960e22f941cc3dc5b4f1
Author: skjdbg <[email protected]>
Date: Tue Oct 15 18:30:29 2019 +0200
discarded useless boolean condition
src/sender.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
commit 6248f62069a94f183d9b89fe01fb99cd57254ce0
Author: skjdbg <[email protected]>
Date: Tue Oct 15 18:30:04 2019 +0200
added allocator for requests
headers/receiver.h | 26 ++++++++++++++++++++++++++
src/receiver.c | 32 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
commit 6380f1a395634ed673deaa674f250441ab614b53
Author: Sébastien d'Herbais <[email protected]>
Date: Tue Oct 15 03:02:37 2019 +0200
Much better working situation
.vscode/settings.json | 3 +-
headers/buffer.h | 4 +-
headers/lookup.h | 9 +
headers/packet.h | 2 +
headers/receiver.h | 1 +
src/buffer.c | 41 +-
src/handler.c | 72 +-
src/lookup.c | 4611 +++++++++++++++++++++++++++++++++++++++++++++++++
src/main.c | 5 +
src/packet.c | 69 +-
src/receiver.c | 21 +-
tests/buffer_test.c | 2 +-
tests/misc.c | 63 +
tests/tests.c | 3 +
valgrindout.txt | 3374 ++++++++++++++++++++++++++++++++++++
15 files changed, 8233 insertions(+), 47 deletions(-)
commit 24b38171eb9bd2e7f46d82823b28d3a021bb6c0c
Author: Sébastien d'Herbais <[email protected]>
Date: Mon Oct 14 21:03:42 2019 +0200
Working sort of, weird bugs inbound
Makefile | 2 +-
headers/errors.h | 2 +
headers/hash_table.h | 2 +-
headers/packet.h | 2 +
headers/receiver.h | 14 ++-----
headers/stream.h | 6 +++
src/buffer.c | 4 +-
src/handler.c | 113 ++++++++++----------------------------------------
src/hash_table.c | 34 +++++----------
src/main.c | 7 +++-
src/packet.c | 19 +++++++++
src/receiver.c | 23 ++++++----
src/stream.c | 25 +++++++++++
tests/handler_test.c | 9 ++--
tests/ht_test.c | 10 ++---
tests/receiver_test.c | 35 +++++++---------
tests/stream_test.c | 2 +-
tests/tests.c | 8 ++--
18 files changed, 141 insertions(+), 176 deletions(-)
commit f81ec06d3f1027d45f716940c5ea72aa34b98b7d
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 14 14:50:22 2019 +0200
Still not working, fixed many stuff
.vscode/launch.json | 2 +-
Makefile | 2 +-
headers/buffer.h | 8 +---
headers/hash_table.h | 2 +
headers/packet.h | 2 +-
headers/receiver.h | 2 +
src/buffer.c | 103 ++++++++++++++++-----------------------------------
src/handler.c | 82 ++++++++++++++++++++++------------------
src/hash_table.c | 60 ++++++++++++++++++++++--------
src/main.c | 1 +
src/packet.c | 15 ++------
src/receiver.c | 49 ++++++++++++------------
src/stream.c | 6 ++-
tests/tests.c | 2 +-
udpdump.pcap | Bin 0 -> 45597 bytes
15 files changed, 165 insertions(+), 171 deletions(-)
commit f6c04ebb1b409201c1fbc49f6ff2ef5d506d40d9
Author: Sébastien d'Herbais de Thun <[email protected]>
Date: Mon Oct 14 12:40:17 2019 +0200
Pushing small changes
Makefile | 2 +-
receiver | Bin
sender | Bin
src/handler.c | 122 ++++++++++++++++++++++++++++++++++++++++-----------------
src/main.c | 16 +++++---
src/receiver.c | 12 +++---
6 files changed, 104 insertions(+), 48 deletions(-)
commit fe7093f73b31b5cb5249a2984c096f0ccb7dd3b1
Author: Sébastien d'Herbais <[email protected]>
Date: Sun Oct 13 14:19:37 2019 +0200
Change gnu version
Makefile | 3 ++-
headers/errors.h | 1 +
src/buffer.c | 3 ++-
src/handler.c | 5 ++++-
src/packet.c | 9 +++++++--
src/receiver.c | 3 ++-
tests/ht_test.c | 7 ++++---
tests/packet_test.c | 6 ++++--
tests/receiver_test.c | 5 +++--
tests/stream_test.c | 5 +++--
10 files changed, 32 insertions(+), 15 deletions(-)
commit 2cb5711423c39d22e72b107bbe08e939580981cc
Author: Sébastien d'Herbais <[email protected]>
Date: Sun Oct 13 14:03:45 2019 +0200
Fixed hashtable corrupting on delete
src/hash_table.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 336c04db21fa53dfd1e6c3c689c5bbc9a7f19104
Author: Sébastien d'Herbais <[email protected]>
Date: Sun Oct 13 13:41:24 2019 +0200
Working tests, moves pack to handler
headers/receiver.h | 2 +-
src/cli.c | 1 -
src/handler.c | 127 ++++++++++++++++++++++++++++++---------------------
src/packet.c | 10 +---
src/sender.c | 15 +-----
tests/handler_test.c | 39 +++++++++-------
tests/tests.c | 2 +-
7 files changed, 102 insertions(+), 94 deletions(-)
commit 521a3d145651830d9bba96b5da8f76a2454929d8
Author: Sébastien d'Herbais <[email protected]>
Date: Sun Oct 13 11:39:48 2019 +0200
Working but weird interop with default sender
.vscode/launch.json | 2 +-
.vscode/settings.json | 3 +-
Makefile | 2 +-
dissector-LINGI1341.lua | 1 +
headers/buffer.h | 10 +++++--
headers/receiver.h | 6 ++++
src/buffer.c | 76 ++++++++++++++++++++++++++++++++++---------------
src/handler.c | 76 ++++++++++++++++++++++---------------------------
src/packet.c | 14 +++++++--
src/receiver.c | 4 +--
src/sender.c | 48 +++++++++++++++++++++++++------
src/stream.c | 2 ++
tests/buffer_test.c | 2 +-
13 files changed, 160 insertions(+), 86 deletions(-)
commit d5c892dd29a9aac4ccfbabcdc4fa76dc26db5353
Author: Sébastien d'Herbais <[email protected]>
Date: Sat Oct 12 22:08:41 2019 +0200
Mostly working receiver. Lots of stuff done, too lazy to write 'em all