Commit Graph

116 Commits

Author SHA1 Message Date
8ed151abb6 defined MIO_BITS_PER_BYTE 2019-05-04 18:01:23 +00:00
10be482d97 added __cplusplus when determining inline availability 2019-05-03 08:42:59 +00:00
9212131997 enhanced mio_bswap16/32/64() 2019-05-03 07:36:53 +00:00
91fa13c4a5 refined some endian conversion macros with proper type casting 2019-05-03 03:20:16 +00:00
8f1c613572 redefined endian conversion routines 2019-05-02 07:55:23 +00:00
bac56f3d1d placing rdata encoding code in encode_rdata_in_dns_msg() 2019-04-13 07:23:11 +00:00
2bff2e76fe adding more dns parsing code 2019-04-13 06:04:43 +00:00
e5c82673a8 removed wrongly placed hash sign in dns.c 2019-04-12 09:39:42 +00:00
423b627cbc created the dns_msg_to_pkt() macro
schedued to wait for response only if a query has been sent
2019-04-12 07:02:04 +00:00
8f6888a47d rename mio-sck.c to sck.c, mio-proc.c to pro.c 2019-04-12 06:37:23 +00:00
0d3bebb42f fixed the mio_dev_sck_getxtn() macro 2019-04-12 05:52:33 +00:00
856d87db55 touched up main.c to support more platforms 2019-04-12 03:53:32 +00:00
265be307cd made ssl selective in main.c 2019-04-12 03:13:07 +00:00
2ec12d96eb changed mio-sck.c to ignore some eunavailable feature request 2019-04-12 02:45:35 +00:00
564af6fbaf preparing to write dns packet parser 2019-04-11 08:23:01 +00:00
a0f9b567cb enhanced the dns client code with timeout handling, id tracking, etc 2019-04-11 07:26:00 +00:00
898bf787d5 fixed the mux code using poll() 2019-04-10 09:25:34 +00:00
cc9a038760 enhanced the dns message builder function 2019-04-10 09:05:56 +00:00
92677d5129 added some experimental edns code 2019-04-09 15:24:16 +00:00
9217fcec55 some code for edns 2019-04-09 09:45:02 +00:00
9cc53fc237 added more MIO_SIZEOF_XXX_T macros.
added MIO_HAVE_BUJILTIN_CTZL/CTZLL for gcc 3.4 or later
2019-03-25 11:42:26 +00:00
6eed4425ec changed PUT_BYTE_IN_HEX() 2019-03-19 13:58:26 +00:00
d859fe00d0 renamed inconsistent function names 2019-03-19 13:30:09 +00:00
7e0ee486a5 added mio_byte_to_bcstr().
implemented k/K/w/W in the formatted output function
2019-03-18 15:32:04 +00:00
1bc418b99e included signal.h in mio-pro.c 2019-03-15 05:06:56 +00:00
c82aae920a minor change 2019-02-22 10:13:35 +00:00
a76dc94e0a renamed mio_makedev() to mio_dev_make().
added MIO_SVC_REGISTER() and MIO_SVN_UNREGISTER().
defined mio_svc_t
2019-02-22 08:44:51 +00:00
0f9eac0614 added mio_fill_uchars()/mio_fill_bchars() 2019-02-18 17:15:44 +00:00
0760dc1a04 attempt to support edns0 2019-02-16 18:22:32 +00:00
257a3f533c added the two header filess that should have been committed previously 2019-02-16 07:29:32 +00:00
f6278a4623 added the actual dns function file left out previously 2019-02-14 10:09:11 +00:00
be68e4ec80 implemented low-level dns packet maker 2019-02-14 10:08:32 +00:00
af86c6a95e more dns code 2019-02-13 10:41:33 +00:00
b40bdf3e8e added some dns code 2019-02-11 09:24:16 +00:00
3dcbd4a231 started dns protocol implementation 2019-02-08 10:13:24 +00:00
c6c51df2d3 updated project url 2019-02-01 16:44:39 +00:00
d583cf2514 redefined MEM macros 2019-01-31 13:27:37 +00:00
ac65312bf2 switched to check SSL_new instead of SSL_library_init in configure.ac
fixed a bug of not honoring precision specified with %.* in computing string length given for 's' and 'S'
renamed DEV_CAPA/dev_capa to DEV_CAP/dev_capa
2019-01-31 09:16:44 +00:00
4aa0da2011 enhanced the openssl library check in configure.ac 2019-01-30 19:07:05 +00:00
559d125874 fixed error strings.
changed time functions
2019-01-30 10:18:58 +00:00
32abb82f01 refactoring system dependent code 2019-01-29 16:57:16 +00:00
792e4da4c2 changed directory error number setting to mio_seterrxxx() calls
removed mio->renew_watch and moved it to each device by using the MIO_DEV_RENEW_REQUIRED bit
2019-01-29 08:38:12 +00:00
470e459781 fixing some bugs regarding mux update - wip 2019-01-28 17:41:50 +00:00
e9c42b28c6 more code fixes 2019-01-28 08:13:06 +00:00
e21acce5c1 more code refactoring 2019-01-27 16:22:55 +00:00
446809d7f4 unfinished refactoring 2019-01-27 02:09:22 +00:00
276d15877d wip: added some primitive system interfacing functions 2019-01-24 18:03:27 +00:00
e19231b104 wip. enhancing log and error handling support 2019-01-24 17:22:04 +00:00
a6d1122e33 added many new files to form fundamental base. wip 2019-01-24 09:53:10 +00:00
9b391741d6 added sck-addr.c for socket address conversion work 2019-01-23 09:37:23 +00:00
0072ab5bd8 kept read timeout after successful read until read is disabled 2019-01-17 08:51:10 +00:00
115031d2ce added moo_dev_timedread() 2019-01-17 08:09:19 +00:00
2372fc535e changed the return type of on_connect to void 2019-01-16 10:42:20 +00:00
af20b13e04 enhanced cfq free list management a bit 2019-01-16 04:37:53 +00:00
d0583e95c8 enhanced to reuse some cwq objects once allocated with dstaddr of size 0 2019-01-14 09:23:16 +00:00
ec28cccdd3 enhanced mio_killdev() to clear unfired completed write events 2019-01-14 08:45:56 +00:00
306384370c changed to push backward the write completion event into the main loop 2019-01-14 08:33:14 +00:00
b30bbf8063 touched up code for renewal 2019-01-11 07:35:43 +00:00
27695e69cd regenerated build files 2018-12-17 03:27:20 +00:00
3950555fc2 renamed stio-cfg.in.h to mio-cfg.in.h 2018-12-17 03:25:30 +00:00
5f7cbf3ca9 less use of MIO_MT 2018-12-16 17:37:59 +00:00
fb0258db6a added utf8.c 2018-12-12 14:20:08 +00:00
0f604972af trimmed some source files 2018-12-12 14:16:49 +00:00
6e69dd97ce added --enable-unicode 2018-12-12 13:24:05 +00:00
14dc22fd0e renamed stio to mio in source files 2018-12-12 13:15:54 +00:00
daf5143ba3 renamed stio to mio 2018-12-12 13:06:37 +00:00