Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Compressed a little the POLL flags. | 47b5dce395694c18c973e3ce6ba9a71c690a41bc | Catalin(ux) M. BOIE | 2009-08-25 18:16:16 |
Store also local address for incoming connections. | 0548ce6434185cdd36e110c61315b4cb21849666 | Catalin(ux) M. BOIE | 2009-08-25 18:15:46 |
Added possibility to shutdown blackhole_s server by typing 'quit'. | 5fd60900809e1a2d7554aa7fa93ce83b29214de0 | Catalin(ux) M. BOIE | 2009-08-25 17:54:27 |
Cosmetic changes. | 7099dd49a270b9f4ecc0cb2e55254bef671202e5 | Catalin(ux) M. BOIE | 2009-08-25 17:54:15 |
Improved status output. | 1ff597059bbb208b56ad18bf8324fae5b63950a2 | Catalin(ux) M. BOIE | 2009-08-25 17:53:44 |
Conn_type_* becomes CONN_TYPE_*. | b284a20cc5430042cc662edc4d121c7f18cb3569 | Catalin(ux) M. BOIE | 2009-08-25 17:52:51 |
Improved status logging. | 54fea00d8f16127244fd15b209c24f606adb20b3 | Catalin(ux) M. BOIE | 2009-08-25 17:33:14 |
Added Conn_strcasestr for case insensitive search in buffer. | ca14b37b2a1f23887ad12fed729a3dd0ff253443 | Catalin(ux) M. BOIE | 2009-08-24 17:18:24 |
Improved ntime example. | b63de9b82ffab1c0d759571a40f1d72f9b8df927 | Catalin(ux) M. BOIE | 2009-08-24 17:09:21 |
Removed unused includes. | 8af81a4c311caa7d738000a5208d01d7620d1040 | Catalin(ux) M. BOIE | 2009-08-21 18:57:33 |
Improved blackhole example. | 2fd7ff181a412f4ba060b0e89b97acdf89a8fb88 | Catalin(ux) M. BOIE | 2009-08-21 18:03:22 |
Fixed connections to outside. Still, it is a little mess there. | 417ccd4a48508a810377676658d51c5103168472 | Catalin(ux) M. BOIE | 2009-08-21 17:42:37 |
addr and bind_addr are not pointers! Corrected them. | e1deeb765500ee079802c2cd6543f9c9496d8f9b | Catalin(ux) M. BOIE | 2009-08-21 16:49:24 |
Exported _alloc and _commit functions. | 9a3159e89eff020cfb75b9eec49a45a637a6da57 | Catalin(ux) M. BOIE | 2009-08-21 16:39:27 |
Added blackhole example. | 8a7ac49b018ad65ba386f8a50725745127b4cbd2 | Catalin(ux) M. BOIE | 2009-08-21 15:54:55 |
TODO in/out. | fdcfbf9e18ed5fbe0135b9aa702e09432fa71e93 | Catalin(ux) M. BOIE | 2009-08-21 15:53:05 |
First chunk of generic socket handling. | b9a488ba615c4322b5d116a29919f11fd476b200 | Catalin(ux) M. BOIE | 2009-08-21 15:50:45 |
Added ntime example (returns CLOCK_REALTIME as fast as it can). | e2fa318caf3e9aea09a853ab2b4af4b5a2cc8261 | Catalin(ux) M. BOIE | 2009-08-20 15:41:20 |
TODO ins and outs. | 66a987be5d8e08ef6fe1ce0c056b8c3acd65bdb7 | Catalin(ux) M. BOIE | 2009-08-20 15:36:14 |
Cosmetic change. | 5dab6539af2ca97f3f3f9b55e20be7d6f423829e | Catalin(ux) M. BOIE | 2009-08-20 15:34:01 |
File | Lines added | Lines deleted |
---|---|---|
Conn_engine_core.c | 13 | 10 |
File Conn_engine_core.c changed (mode: 100644) (index 8f9b3db..57e8b0d) | |||
... | ... | int Conn_try_expand_buf(struct Conn *C, const int what, const int needed) | |
329 | 329 | ||
330 | 330 | static void Conn_poll_status(const short ev, char *ret) | static void Conn_poll_status(const short ev, char *ret) |
331 | 331 | { | { |
332 | strcpy(ret, "________"); | ||
333 | |||
334 | if (ev & CONN_POLLIN) ret[0] = 'I'; | ||
335 | if (ev & CONN_POLLPRI) ret[1] = 'P'; | ||
336 | if (ev & CONN_POLLOUT) ret[2] = 'O'; | ||
337 | if (ev & CONN_POLLERR) ret[3] = 'E'; | ||
338 | if (ev & CONN_POLLHUP) ret[4] = 'H'; | ||
339 | if (ev & CONN_POLLNVAL) ret[5] = 'V'; | ||
340 | if (ev & CONN_POLLRDNORM) ret[6] = 'r'; | ||
341 | if (ev & CONN_POLLRDBAND) ret[7] = 'R'; | ||
332 | int i = 0; | ||
333 | |||
334 | strcpy(ret, ""); | ||
335 | |||
336 | if (ev & CONN_POLLIN) ret[i++] = 'I'; | ||
337 | if (ev & CONN_POLLPRI) ret[i++] = 'P'; | ||
338 | if (ev & CONN_POLLOUT) ret[i++] = 'O'; | ||
339 | if (ev & CONN_POLLERR) ret[i++] = 'E'; | ||
340 | if (ev & CONN_POLLHUP) ret[i++] = 'H'; | ||
341 | if (ev & CONN_POLLNVAL) ret[i++] = 'V'; | ||
342 | if (ev & CONN_POLLRDNORM) ret[i++] = 'r'; | ||
343 | if (ev & CONN_POLLRDBAND) ret[i++] = 'R'; | ||
344 | ret[i++] = '\0'; | ||
342 | 345 | } | } |
343 | 346 | ||
344 | 347 | char *Conn_domain(const struct Conn *C) | char *Conn_domain(const struct Conn *C) |