diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-01 22:57:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-01 22:57:00 +0200 |
commit | 9ba7218399841d1eafe962d82b66302fc6aa05b0 (patch) | |
tree | b3a2d8421f8147188240a3da7248d65187905e7a /src/setu/gnunet-service-setu.c | |
parent | 39b19b0ca9d004b4cbe67d2f09c2a1e9eab03c19 (diff) | |
download | gnunet-9ba7218399841d1eafe962d82b66302fc6aa05b0.tar.gz gnunet-9ba7218399841d1eafe962d82b66302fc6aa05b0.zip |
-fix typos
Diffstat (limited to 'src/setu/gnunet-service-setu.c')
-rw-r--r-- | src/setu/gnunet-service-setu.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c index a51e92b71..9a61af67d 100644 --- a/src/setu/gnunet-service-setu.c +++ b/src/setu/gnunet-service-setu.c | |||
@@ -95,7 +95,7 @@ | |||
95 | #define SECURITY_LEVEL 80 | 95 | #define SECURITY_LEVEL 80 |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * Is the estimated probabily for a new round this values | 98 | * Is the estimated probability for a new round this values |
99 | * is based on the bsc thesis of Elias Summermatter (2021) | 99 | * is based on the bsc thesis of Elias Summermatter (2021) |
100 | */ | 100 | */ |
101 | 101 | ||
@@ -467,7 +467,7 @@ struct Operation | |||
467 | 467 | ||
468 | /** | 468 | /** |
469 | * Set difference is multiplied with this factor | 469 | * Set difference is multiplied with this factor |
470 | * to gennerate large enought IBF | 470 | * to gennerate large enough IBF |
471 | */ | 471 | */ |
472 | uint8_t ibf_bucket_number_factor; | 472 | uint8_t ibf_bucket_number_factor; |
473 | 473 | ||
@@ -780,7 +780,7 @@ struct perf_num_send_received_msg | |||
780 | }; | 780 | }; |
781 | 781 | ||
782 | /** | 782 | /** |
783 | * Main struct to messure perfomance (data/rtts) | 783 | * Main struct to measure performance (data/rtts) |
784 | */ | 784 | */ |
785 | struct per_store_struct | 785 | struct per_store_struct |
786 | { | 786 | { |
@@ -828,7 +828,7 @@ enum MESSAGE_CONTROL_FLOW_STATE | |||
828 | MSG_CFS_EXPECTED, | 828 | MSG_CFS_EXPECTED, |
829 | 829 | ||
830 | /** | 830 | /** |
831 | * Track that message has been recieved | 831 | * Track that message has been received |
832 | */ | 832 | */ |
833 | MSG_CFS_RECEIVED, | 833 | MSG_CFS_RECEIVED, |
834 | }; | 834 | }; |
@@ -843,20 +843,22 @@ enum MESSAGE_TYPE | |||
843 | * Offer message type | 843 | * Offer message type |
844 | */ | 844 | */ |
845 | OFFER_MESSAGE, | 845 | OFFER_MESSAGE, |
846 | |||
846 | /** | 847 | /** |
847 | * Demand message type | 848 | * Demand message type |
848 | */ | 849 | */ |
849 | DEMAND_MESSAGE, | 850 | DEMAND_MESSAGE, |
851 | |||
850 | /** | 852 | /** |
851 | * Elemente message type | 853 | * Element message type |
852 | */ | 854 | */ |
853 | ELEMENT_MESSAGE, | 855 | ELEMENT_MESSAGE, |
854 | }; | 856 | }; |
855 | 857 | ||
858 | |||
856 | /** | 859 | /** |
857 | * Struct to tracked messages in message controll flow | 860 | * Struct to tracked messages in message control flow |
858 | */ | 861 | */ |
859 | |||
860 | struct messageControlFlowElement | 862 | struct messageControlFlowElement |
861 | { | 863 | { |
862 | /** | 864 | /** |
@@ -912,7 +914,7 @@ load_config (struct Operation *op) | |||
912 | 914 | ||
913 | 915 | ||
914 | /** | 916 | /** |
915 | * Function to calculate total bytes used for performance messurement | 917 | * Function to calculate total bytes used for performance measurement |
916 | * @param size | 918 | * @param size |
917 | * @param perf_num_send_received_msg | 919 | * @param perf_num_send_received_msg |
918 | * @return bytes used | 920 | * @return bytes used |
@@ -942,7 +944,7 @@ calculate_perf_store () | |||
942 | int bytes_transmitted = 0; | 944 | int bytes_transmitted = 0; |
943 | 945 | ||
944 | /** | 946 | /** |
945 | * Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normaly 1 or 1.5 depending | 947 | * Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normally 1 or 1.5 depending |
946 | */ | 948 | */ |
947 | if ((perf_store.element_full.received != 0) || | 949 | if ((perf_store.element_full.received != 0) || |
948 | (perf_store.element_full.sent != 0) | 950 | (perf_store.element_full.sent != 0) |
@@ -1840,7 +1842,7 @@ struct GetElementContext | |||
1840 | struct GNUNET_HashCode hash; | 1842 | struct GNUNET_HashCode hash; |
1841 | 1843 | ||
1842 | /** | 1844 | /** |
1843 | * Pointer to the key enty | 1845 | * Pointer to the key entry |
1844 | */ | 1846 | */ |
1845 | struct KeyEntry *k; | 1847 | struct KeyEntry *k; |
1846 | }; | 1848 | }; |