Commit Graph

39 Commits (49328cd8b52b0a482527af5330247e4177d4aa76)

Author SHA1 Message Date
Richard Fuchs 49328cd8b5 implement atomic64 for non-64-bit platforms
11 years ago
Richard Fuchs 787d90f004 rename atomic_uint64 to atomic64 for brevity
11 years ago
Richard Fuchs 3bc1672a0e more atomic stats, and fix average length calc
11 years ago
Richard Fuchs 411a888f9b use atomic ops for stats
11 years ago
Richard Fuchs de37ac046c use TLS buffer array for temporary strings
11 years ago
Richard Fuchs 36c7141d53 change control_ng_stats into a hash and use locking and atomic ops
11 years ago
Carsten Bock 9a2da87f13 Fix randomness source for key generation.
11 years ago
Richard Fuchs e24253a709 move parse_ip(6)_port into aux.h
11 years ago
Richard Fuchs 45dee75156 support specifying interfaces to use in control protocols
11 years ago
Richard Fuchs 513ac44a84 incorporate new local-interface infrastructure into appropriate places
11 years ago
Richard Fuchs 0cbb4665a5 paving the way to multi-interface support
11 years ago
Richard Fuchs e1cfc19c18 fix incorrect port allocations
12 years ago
Richard Fuchs 05e429c610 C99 inlining rules
12 years ago
Richard Fuchs f638f36bb0 replace implicit bit fields with explicit ones
12 years ago
Richard Fuchs f8f741b584 Update to upcoming 3.0 release (2.9.9 for now)
12 years ago
Richard Fuchs 50573f40e5 bit field/array fixes
12 years ago
Richard Fuchs 0a4418cd4b consistent use of existing macros
13 years ago
Richard Fuchs a37bd78355 rename ARRAY_SIZE to ARRAYSIZE to avoid naming conflict
13 years ago
Richard Fuchs f7da33b4a7 adding a UINT64F format macro
13 years ago
Richard Fuchs fc6fe69075 replace IN6_IS_ADDR_UNSPECIFIED because it doesnt work for mapped addresses
13 years ago
Richard Fuchs ad4cef0f37 g_hash_table_contains implementation for old glib version
13 years ago
Richard Fuchs 7137b784e9 implement a "relays cache"
13 years ago
Richard Fuchs 9f276ad73d inlining ftw
13 years ago
Richard Fuchs f6a336ce89 prefer objects on stack instead of heap when possible
13 years ago
Richard Fuchs be4a6c7d58 make my life easier with a smart_ntop_port() function
13 years ago
Richard Fuchs fb20c7491d implement receiving and parsing NG protocol packets
13 years ago
Richard Fuchs 7e38c7a96f a more robust thread shutdown procedure
14 years ago
Richard Fuchs d20d747a63 since xmlrpc is still segfaulting even in its own process, disable core dumps in the child and retry the xmlrpc call up to 3 times if the child terminates abnormally. jumping through hoops ftw!
14 years ago
Richard Fuchs a4625fbad9 enough with the glib threading nonsense, it's only causing problems. revert to good old pthread stuff
14 years ago
Richard Fuchs 45f34b9784 turns out you actually have to free/destroy mutexes. who woulda thunk?
14 years ago
Richard Fuchs 47a9a00a11 it makes no sense to return a value from an effectively detached thread
14 years ago
Richard Fuchs 31a5ff9c29 detached threads considered harmful, so simulate them by keeping a threads-to-join list
14 years ago
Richard Fuchs 4588e13a76 getting rid of more global variables
14 years ago
Richard Fuchs 26824993e2 preliminary attempt to make the udp controller thread-safe
14 years ago
Richard Fuchs b3ef1995fc add mutex_trylock primitives
14 years ago
Richard Fuchs 8dcd2c89c4 add rwlock type and primitives
14 years ago
Richard Fuchs f05156a58e catch the inevitable disaster early and define our own mutex types. sigh. and there i was, thinking that using the glib types would make things easier.
14 years ago
Richard Fuchs effc21b26c mybsearch function is also obsolete
14 years ago
Richard Fuchs dc7517121d remove uuid helper code
14 years ago