Commit graph

55 commits

Author SHA1 Message Date
aa20bcc6eb Add file monitor 2014-03-23 17:57:54 +01:00
2096f29487 Change gmrf_iface_t arguments in monitors to iface_t 2014-03-22 20:11:54 +01:00
dff97425cd Remove SQLite monitor
SQLite is slows down the simulation to much.
2014-03-22 01:16:48 +01:00
d317a324c1 Revert "Require libsqlite3"
This reverts commit 28aa388476.
2014-03-22 01:15:05 +01:00
28aa388476 Require libsqlite3 2014-03-21 04:54:33 +01:00
a78a01eacc Add monitors
Monitors are used to log events from the simulated nodes. So far there are a log
monitor which just logs the nodes' log messages and a SQLite monitor which does
nothing at the moment.
2014-03-21 04:51:48 +01:00
aaddd2e7cd Update copyright years 2014-03-18 18:02:19 +01:00
521e9a5415 lex: add std namespace to a few function calls 2014-03-18 00:18:44 +01:00
5889f942b8 lex: fix parsing of addresses not starting with a decimal digit 2014-03-17 22:02:34 +01:00
9156910508 Remove flex scanner, use scanner from fastd (with lots of adjustions) 2014-03-17 19:21:24 +01:00
dd87d59f47 Compiler option cleanup and -Wextra fixes 2014-03-17 17:50:57 +01:00
56a8a7465c Add protocol debug functions 2014-03-17 17:18:59 +01:00
99d3b8e788 register is deprecated in C++11 2014-03-17 17:15:22 +01:00
24854ce5b5 Add example config 2014-03-17 16:39:01 +01:00
e23822c940 Use POSITION_INDEPENDENT_CODE instead of specifying -fPIC manually 2013-08-06 20:30:37 +02:00
5b362da37d Also prevent move in nocopy_t 2013-07-30 04:54:19 +02:00
5288ee1021 Use floats for time specification 2013-07-30 04:01:37 +02:00
fd99a7ea34 packet loss: fix phase 2013-07-29 21:33:57 +02:00
1ff55d4c9a Implement simple packet loss simulation 2013-07-29 21:00:11 +02:00
b15c16f12c Move protocol-specific interface state into iface_t 2013-07-29 02:11:08 +02:00
37c2167874 Implement config parser 2013-07-28 22:12:35 +02:00
a713d2931e Clean up config_t class 2013-07-28 19:33:40 +02:00
d5c57ad133 Finish data encapsulation 2013-07-28 00:39:43 +02:00
aced19e374 More encapsulation 2013-07-27 23:38:38 +02:00
0b696dafb3 Get rid of mmss.hpp 2013-07-27 22:28:34 +02:00
3756620213 Encapsulate protocol_t 2013-07-27 21:33:37 +02:00
efabc7a40d Encapsulate node and interface structures 2013-07-27 20:34:29 +02:00
08c6bcb98e Move logging into context_t 2013-07-27 18:53:27 +02:00
379b2b3701 Create a common base class event_t for packet_t and scheduled_t 2013-07-27 18:31:10 +02:00
49652b9e28 Some changes in memory management 2013-07-27 14:21:46 +02:00
a7ccec3fef Fix data pointer type in packet_t 2013-07-27 13:54:59 +02:00
1880d6addc Some minor API improvements 2013-07-27 13:38:55 +02:00
cb5d5a9397 More small optimizations 2013-07-27 00:33:10 +02:00
f97d1e1569 Queue optimizations 2013-07-26 21:06:05 +02:00
cc1a4b9493 Miscellanous fixes 2013-07-26 20:35:31 +02:00
f706404e6e More cleanups 2013-07-26 19:47:09 +02:00
a615e395f2 Fix queue order 2013-07-26 19:45:59 +02:00
1f67abe0f3 Clean up queue implementation, fix namespaces 2013-07-26 17:47:35 +02:00
0ffde34faa Convert mmss to C++, add parser 2013-07-26 14:22:18 +02:00
ac9f22678b Add a third node to simulation to make things a bit more interesting :D 2013-03-26 03:36:49 +01:00
69e7b11275 Some whitespace fixes 2013-03-23 20:27:41 +01:00
ff5c270ee1 Add unspecified time constant 2013-03-18 23:45:02 +01:00
815b446109 Don't send broadcast packets to the sender 2013-03-18 23:38:19 +01:00
4acbc99663 Add random functions 2013-03-18 23:38:04 +01:00
f567646b68 Add functions to get current timestamp 2013-03-18 22:02:28 +01:00
976cea11de Inform protocol about interfaces 2013-03-18 19:30:37 +01:00
33d1cf04a7 Add log message support 2013-03-18 19:09:25 +01:00
56ccdb40ab Add support for scheduled jobs 2013-03-18 18:06:24 +01:00
7d4283f8f5 Add protocol module API library 2013-03-18 17:13:15 +01:00
77199be682 Rename context data structures, define more of the module API 2013-03-18 03:34:12 +01:00