1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
Commit graph

78 commits

Author SHA1 Message Date
9ceb05d823 rework of hook system.
added new hooks:
  - skip_first
2015-10-09 13:30:41 +02:00
9b5cf26bac added new 'msgsize' option to path (not yet used) 2015-10-09 13:06:59 +02:00
d6cc209a79 smaller cleanups 2015-10-09 13:05:35 +02:00
9439a88877 replaced linked list by dynamic array (closes #6) 2015-10-09 12:50:35 +02:00
1a1ea0b938 some cleanups 2015-09-22 15:58:19 +02:00
2bc8a71825 do not send asynchronously as long no message was received 2015-09-22 15:33:55 +02:00
f53d7284d1 added new hook type for asynchronous path 2015-09-22 15:33:01 +02:00
bfb0221ccf replaced strap() and vstrap() functions by strcatf() and vstrcatf()
The new versions of those string concatenating functions are using realloc() to dynamically resize the string buffer if needed.
We don't use the stack anymore.
2015-09-22 13:01:02 +02:00
17659ffc83 applying coding conventions 2015-09-19 12:24:11 +02:00
66fcf82d1c moved hook_run() function to path.c 2015-09-19 12:20:17 +02:00
85f3707554 smaller fixes and cleanups 2015-08-22 17:42:38 +02:00
5f038bf6bd removed trailing whitespace 2015-08-07 01:11:43 +02:00
b103212a02 cleanups 2015-06-10 15:13:02 +02:00
ae1da5d8ff added statistic hooks 2015-06-10 15:12:36 +02:00
1b9bfc155a rewrite of hook system (much more powerful now :-) 2015-06-10 15:10:51 +02:00
2597fff110 added new fields ts_{sent,recv} for a timestamp of last sent/received messages 2015-06-10 15:05:36 +02:00
8fe93ace65 pass timestamp when message was received to hook callbacks #2 2015-06-05 12:40:59 +02:00
219278b31f also measure delay distribution for dropped packets 2015-06-05 12:30:27 +02:00
bacba17c5c fix: handle new size of sequence number correctly during overflow 2015-06-05 12:26:06 +02:00
fffac2eb88 remove superfluous includes 2015-06-03 10:13:35 +02:00
73fc4da932 removed broken TCP support 2015-06-02 22:53:19 +02:00
5cb89c1ac8 added histogram of delay distribution 2015-06-02 22:45:37 +02:00
375a16243e cleanups 2015-06-02 22:44:57 +02:00
a3908af4da cleanups and documentation 2015-06-02 22:29:15 +02:00
e2458e899d fix: proper usage of static scope 2015-06-02 22:04:03 +02:00
5aa1530baf moved time related functions to timing.{c,h} 2015-06-02 21:59:31 +02:00
08e08e6711 updated copyright in header 2015-06-02 21:53:04 +02:00
08f7dd5b25 small fixes 2015-05-07 13:01:18 +02:00
c9e805f6fa merged asynchronous (fixed-rate) and synchronous sending routines in a new function 2015-05-06 13:22:22 +02:00
eea6788253 added helper function for blocking timerfd wait (returns number of runs) 2015-05-06 13:20:02 +02:00
9af2e26655 integrating new node types into server and tools 2015-05-06 11:49:13 +02:00
877e2b7aec Merge branch 'master' of github.com:RWTH-ACS/S2SS 2015-04-01 13:28:33 +02:00
9f4dd78ab3 added circular history buffer of past message to every path 2015-04-01 13:26:46 +02:00
7da5f5a3db moved code out of path_run() into separate functions 2015-04-01 13:25:03 +02:00
d7c367911e improved TCP connection handling (still to be improved) 2015-03-31 18:29:07 +02:00
97bd035fef replace signal based timer with and file descriptor based one 2015-03-31 16:58:25 +02:00
d50a5b40ff small cleanup 2015-03-31 16:44:33 +02:00
8587184bf6 added storage for previous message
(this will may be extended to a variable number of past messages)
2015-03-21 18:04:52 +01:00
57081daa93 more cleanups 2015-03-21 15:31:42 +01:00
b3d1fc8c45 added missing timer_delete() 2015-03-21 15:30:42 +01:00
b89f65debc a lots of small cleanups 2015-03-21 15:29:00 +01:00
e1d7e0487d adjust histogram memory management function naming scheme 2015-03-21 15:26:52 +01:00
f0db3e7897 added destructor function callback to list implementation 2015-03-21 15:23:57 +01:00
cccd0e6957 removed old Linux-like linked list implementation for nodes, paths, interfaces and sockets 2015-03-21 15:19:41 +01:00
9c57c54abe improved hook user callback system and added new examples (untested) 2015-03-18 16:13:18 +01:00
b6fce3fe8d finished support for multiple destination nodes 2015-03-18 15:53:01 +01:00
e30e9292f2 proper release of path structure (path_destroy() vs free()) 2015-03-18 15:47:18 +01:00
dab130545c added path_print() for variable number of destination nodes 2015-03-18 15:45:06 +01:00
9a3d19ce6c removed superfluous casts from void * 2015-03-17 23:23:13 +01:00
61b3e45bca make use of new helper function: alloc() 2015-03-17 23:21:31 +01:00