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

1076 commits

Author SHA1 Message Date
51d80b73ce refactoring: json.c => config_helper.c & sample_io_json.c 2017-07-13 22:13:40 +02:00
4b51c4dbba node_type: add new function for parsing node configuration from CLI 2017-07-13 01:55:06 +02:00
45ec574011 utils: die() has been superseeded by killme() 2017-07-12 12:20:11 +02:00
49c0e9957a using memdup() will invalidate pointers to the object which might have been used during _init() and _parse() calls 2017-07-09 14:36:09 +02:00
Georg Reinke
1cc9c2177d file: prevent stack corruption when reading first sample 2017-07-07 11:55:33 +02:00
2fef0864a8 fixed regression 2017-07-07 00:01:17 +02:00
542631ed5b reuse code between villas-signal and signal node-type 2017-07-06 23:14:38 +02:00
007ff9a776 added new node-type based on villas-signal tool 2017-07-06 21:15:46 +02:00
a057c0c513 adding function killme() to gracefully shutdown 2017-07-06 21:15:10 +02:00
8287f049ef some refactoring 2017-07-02 23:58:56 +02:00
2b913d4d69 tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00
16f2b22a12 file: make flush() configurable 2017-07-02 19:37:48 +02:00
aa77c82b82 rpm: perform tests during packaging 2017-06-29 21:10:33 +02:00
ec061e0e3d cleanup: whitespace 2017-06-29 19:20:11 +02:00
5f262ffc9a socket: improve checks for multicast support 2017-06-28 10:56:10 +02:00
a994de62e2 socket: added support for multicast adressing 2017-06-28 10:39:41 +02:00
50cc0a99a0 socket: show reason for invalid packets 2017-06-27 08:49:23 +00:00
f359bc230b file: dont try to read first timestamp if epoch_mode is "original" 2017-06-17 18:55:37 +02:00
cbef499f58 file: improve file_print() 2017-06-17 18:55:37 +02:00
7b32445fb3 file: use correct prefix for enums 2017-06-17 18:55:37 +02:00
c02f4c8ebe file: support more behaviours when EOF is reached 2017-06-17 18:55:37 +02:00
71465488f0 zeromq: older versions of the library have zmq_curve_keypair() in zmq_utils.h 2017-06-17 03:45:25 +02:00
8cbbb8b4f1 fixed unused return value warnings / errors emitted by Ubuntu's GCC 5.4.0 2017-06-17 03:16:14 +02:00
c1154faf40 fixed several format string compiler warnings / errors emitted by Ubuntu's GCC 5.4.0 2017-06-17 03:13:42 +02:00
bde2b6ebba Merge branch 'shmem-rework' into 'develop'
Rework shmem interface to be symmetric

See merge request !23
2017-06-15 15:39:57 +02:00
86bddfa83a shmem: whitespace cleanup
I like a bit more whitespace for readability
2017-06-15 15:07:42 +02:00
f738dff1ac zeromq: support libzmq < 4.2 2017-06-15 13:59:09 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
c5eb7c8e73 more whitespace fixes 2017-06-08 13:07:20 +02:00
Georg Reinke
2ba3c1cbe7 rework shmem interface to be "symmetric"
The notion of "VILLASnode" / "external program" is removed from the
interface. Now there's only a distiction regarding which process opened
the object first, and this is handled transparently by the functions.

This enables some new uses for the interface, for example connecting
two instances of VILLASnode or two instances of DPsim directly.
2017-06-08 12:43:24 +02:00
Georg Reinke
1d011e6d8f some include / format error fixes 2017-06-08 12:42:46 +02:00
ace03b657e minor fixes and cleanups for new nanomsg and zeromq node-types 2017-05-28 19:43:19 +02:00
e639b67015 socket: rewrite and fixes for layer=„ip“ and layer=„eth“ 2017-05-28 18:49:49 +02:00
d4fe802a9c socket: fix socket_compare_addr for AF_PACKET addresses 2017-05-28 18:48:01 +02:00
d749c9a244 socket: use union instead of casts for socket address 2017-05-28 18:40:22 +02:00
2651181900 socket: added some checks for the local and remote addresses 2017-05-28 18:38:20 +02:00
8cab5cde96 added verify_source setting to socket node-type 2017-05-28 13:43:00 +02:00
48dd5953e0 several workarounds to start daemon without super-user privilges (closes #43) 2017-05-24 14:47:24 +00:00
08a5aa2320 socket: fix compiler error because of undefined macro 2017-05-23 15:33:59 +02:00
09b37a1bfc zeromq: fix radio dish support by swapping server / client roles 2017-05-23 15:22:37 +02:00
d6970abd82 zeromq: fix compiler warning 2017-05-23 15:22:37 +02:00
89e4f3588f zeromq: fix shutdown close pending socket 2017-05-23 15:22:37 +02:00
eef7764b8a zeromq: only check for handshake if we are in a CurveZMQ session 2017-05-23 15:22:37 +02:00
48b3898f23 zeromq: fix group subscription 2017-05-23 15:22:37 +02:00
df028c3b28 zeromq: some code cleanup 2017-05-23 15:22:37 +02:00
7e602dd44e zeromq: added support for CurveZMQ encryption and authentication (still not working) 2017-05-23 15:22:37 +02:00
fbf75d90ee zeromq: fix ipv6 2017-05-23 15:22:37 +02:00
503da4bb94 zeromq: add support for filtering based on pubsub groups 2017-05-23 15:22:37 +02:00
0f197cb223 zeromq: check if handshake succeeded 2017-05-23 15:22:37 +02:00
b6c39611c1 zeromq: add support to reverse node 2017-05-23 15:22:37 +02:00