Subject | Hash | Author | Date (UTC) |
---|---|---|---|
SOCK_DCCP is not defined on CentOS. :( | 303830a06b80962e417c01d88cae6d50e9182662 | Catalin(ux) M. BOIE | 2011-08-25 09:46:09 |
More fixes for spec file | 06d8c98718977c91419ffd6cabdd3e6bb57b8043 | Catalin(ux) M. BOIE | 2011-08-24 20:29:10 |
Added example for config file. | 20becba1955981d5c3642e802031c08c25c701cf | Catalin(ux) M. BOIE | 2011-08-24 20:26:19 |
Bump version to 0.10. | 9659780e6f025d10441c354eefe79e327a660c09 | Catalin(ux) M. BOIE | 2011-08-24 20:20:26 |
Ignore more files in repo. | c1121dc5f6644043314880361c24fc2172326c02 | Catalin(ux) M. BOIE | 2011-08-24 20:20:00 |
Big fix for stuck programs. Stupid. | f0ea19d9130bdc8851f08fb16a61a7be8da002cd | Catalin(ux) M. BOIE | 2011-08-24 20:19:56 |
More duilder updates | 83d91834796de59a679545c25d62a423d6f04f0e | Catalin(ux) M. BOIE | 2011-08-24 20:17:33 |
More stuff added to TODO | aaf5da40115dc3ee2562f42522468f5bd9362012 | Catalin(ux) M. BOIE | 2011-08-24 20:17:11 |
Corrected a merge problem. | bb0ce0b8b1c869572d15babb81543154f0c5db39 | Catalin(ux) M. BOIE | 2011-08-24 03:41:36 |
Bump version to 0.9. | 97343f56db715658dc0fbf6179db0d300c5d8545 | Catalin(ux) M. BOIE | 2011-08-24 03:37:36 |
Remove the need for SO_DOMAIN because we can get domain from accepting socket. | a027bcfd13a15a98dd2a5db924af77199e156c7f | Catalin(ux) M. BOIE | 2011-08-10 20:19:38 |
SO_MARK may not be defined by glibc. | 2204bbcf4b4480008cabc0e330f64460a8995255 | Catalin(ux) M. BOIE | 2011-08-10 20:08:43 |
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 |
File | Lines added | Lines deleted |
---|---|---|
force_bind.c | 10 | 5 |
File force_bind.c changed (mode: 100644) (index 2402ec0..e4aec6b) | |||
33 | 33 | #include <netinet/in.h> | #include <netinet/in.h> |
34 | 34 | #include <netinet/tcp.h> | #include <netinet/tcp.h> |
35 | 35 | ||
36 | |||
37 | /* glibc may not be up-to-date at compile time */ | ||
38 | #ifndef SO_MARK | ||
39 | #define SO_MARK 36 /* only on some architectures */ | ||
40 | #endif | ||
41 | |||
42 | #ifndef SOCK_DCCP | ||
43 | #define SOCK_DCCP 6 | ||
44 | #endif | ||
45 | |||
36 | 46 | #ifndef IPV6_FLOWINFO_SEND | #ifndef IPV6_FLOWINFO_SEND |
37 | 47 | #define IPV6_FLOWLABEL_MGR 32 | #define IPV6_FLOWLABEL_MGR 32 |
38 | 48 | #define IPV6_FLOWINFO_SEND 33 | #define IPV6_FLOWINFO_SEND 33 |
... | ... | static unsigned int verbose = 0; | |
119 | 129 | static char *log_file = NULL; | static char *log_file = NULL; |
120 | 130 | static FILE *Log = NULL; | static FILE *Log = NULL; |
121 | 131 | ||
122 | /* glibc may not be up-to-date at compile time */ | ||
123 | #ifndef SO_MARK | ||
124 | #define SO_MARK 36 /* only on some architectures */ | ||
125 | #endif | ||
126 | |||
127 | 132 | ||
128 | 133 | /* Helper functions */ | /* Helper functions */ |
129 | 134 | static char *sdomain(const int domain) | static char *sdomain(const int domain) |