Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Removed some debugging leftovers. | 3b71558fc26d7958f83362926555c1f4100a57ab | Catalin(ux) M. BOIE | 2011-08-23 22:18:02 |
Spec files updates. | 7a09b21c11b8d3c562544826c1fddb6009b16263 | Catalin(ux) M. BOIE | 2011-08-22 21:30:13 |
Duilder updates. | f2b462384459025a3ffdcb8ebffcb070d8289ca7 | Catalin(ux) M. BOIE | 2011-08-22 21:29:51 |
Bump version to 0.8. | e330ad91c75eeb6e627c6725b17fcc69d01eac50 | Catalin(ux) M. BOIE | 2011-08-22 15:17:00 |
Added a good example for tc prio classification. | 32b9078e47fccc09527ca2c11904f82879934da3 | Catalin(ux) M. BOIE | 2011-08-22 15:16:21 |
Added support for multiple connections and chunk size for send_udp example. | eff367aa527ed763fe525832891e0fc0df9badbb | Catalin(ux) M. BOIE | 2011-08-22 14:58:13 |
Do not count the time spent in sleep! | e585e5e0b0b3ce0637674cf320a6f044afa42982 | Catalin(ux) M. BOIE | 2011-08-22 14:57:28 |
Give a real example for bandwidth enforcing. | ca829bcb14183f7f5aa180bed4bf633199dc5839 | Catalin(ux) M. BOIE | 2011-08-22 14:57:01 |
Added possibility to force skb priority field (SO_PRIORITY). | 9b4b2a6b03ff7573041a7ed96c86e7bcda86c580 | Catalin(ux) M. BOIE | 2011-08-06 21:55:43 |
Added support for FWMARK. | 648b09b84fcd5bc17aaa7d6ba2bf2bfeeea583f7 | Catalin(ux) M. BOIE | 2011-08-06 21:35:23 |
Added support for IPv6 flowinfo (class + label). | c23cc6042893fb98986b5aa38c146b7aec488079 | Catalin(ux) M. BOIE | 2011-08-06 21:11:46 |
Added support for connecting clients (socket -> connect or socket -> sendto). | 8f94255890a99d4890206e53f031ffad79c55866 | Catalin(ux) M. BOIE | 2011-08-05 21:15:38 |
Bump version to 0.7. | 1a51b690a50c482c9e727b3e8e129bbc2890f600 | Catalin(ux) M. BOIE | 2011-06-21 17:06:25 |
Corrected description and license. | 708b98d98bb5704f3bd265928f07cc94c18bd212 | Catalin(ux) M. BOIE | 2011-06-21 17:06:04 |
Bump version to 0.6. | cb4ef5c142753802f9dcd2410d094f9914e8273c | Catalin(ux) M. BOIE | 2011-06-21 16:56:15 |
Added support for separate FORCE_ADDR for IPv4 and IPv6, MSS, TTL etc. | e32e97cafe360f192283168d76c327559282e24d | Catalin(ux) M. BOIE | 2011-06-21 16:55:12 |
Added TODO to %doc rpm section. | 086dbb2e078955dddf83cbfd65998334d6db81e4 | Catalin(ux) M. BOIE | 2010-12-19 19:46:20 |
Added MSS. | 9a5c3676567cb92e6c0b4106c2b97cd2da2273a5 | Catalin(ux) M. BOIE | 2010-12-14 17:00:37 |
Added TOS test script. | a4b1b05b27b3eaa06a4a71f656e1b80731d1b8ff | Catalin(ux) M. BOIE | 2010-12-14 16:55:03 |
Ignore Changelog-last file. | 1bfa5decd11f4fd95e4b002d88e2a2e04c747855 | Catalin(ux) M. BOIE | 2010-12-14 16:54:36 |
File | Lines added | Lines deleted |
---|---|---|
force_bind.c | 5 | 3 |
File force_bind.c changed (mode: 100644) (index 6917b0a..27ec276) | |||
... | ... | static void bw(const int sockfd, const ssize_t bytes) | |
903 | 903 | allowed = q->rest + q->limit * diff_ms / 1000; | allowed = q->rest + q->limit * diff_ms / 1000; |
904 | 904 | q->last = now; | q->last = now; |
905 | 905 | ||
906 | printf("diff_ms=%lld rest=%llu bytes=%u allowed=%llub\n", | ||
906 | /* | ||
907 | printf("diff_ms=%lld rest=%llu bytes=%uz allowed=%llub\n", | ||
907 | 908 | diff_ms, q->rest, bytes, allowed); | diff_ms, q->rest, bytes, allowed); |
909 | */ | ||
908 | 910 | ||
909 | 911 | if (bytes <= allowed) { | if (bytes <= allowed) { |
910 | 912 | q->rest = allowed - bytes; | q->rest = allowed - bytes; |
911 | printf("\tInside limit, rest=%llu.\n", q->rest); | ||
913 | /*printf("\tInside limit, rest=%llu.\n", q->rest);*/ | ||
912 | 914 | return; | return; |
913 | 915 | } | } |
914 | 916 | ||
... | ... | static void bw(const int sockfd, const ssize_t bytes) | |
921 | 923 | ||
922 | 924 | ts.tv_sec = sleep_ms / 1000; | ts.tv_sec = sleep_ms / 1000; |
923 | 925 | ts.tv_nsec = (sleep_ms % 1000) * 1000 * 1000; | ts.tv_nsec = (sleep_ms % 1000) * 1000 * 1000; |
924 | printf("\tWe will sleep %lus %lunsec.\n", ts.tv_sec, ts.tv_nsec); | ||
926 | /*printf("\tWe will sleep %lus %lunsec.\n", ts.tv_sec, ts.tv_nsec);*/ | ||
925 | 927 | ||
926 | 928 | /* We try to sleep even if we are interrupted by signals */ | /* We try to sleep even if we are interrupted by signals */ |
927 | 929 | while (1) { | while (1) { |