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

1164 commits

Author SHA1 Message Date
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
5ef08552b2 zeromq: added IPv6 options 2017-05-23 15:22:37 +02:00
9edd0fc68d zeromq: fix little bug because socket-types were swapped 2017-05-23 15:22:37 +02:00
98cd2938af add new msg_buffer() functions to read / write multiple struct sample from / to a buffer using the struct msg wire protocol. 2017-05-23 15:22:37 +02:00
465999d608 socket: save MSG_PEEK recv(2) call by using a fixed allocation.
This should work for most data link layers.
2017-05-23 15:21:40 +02:00
5a267813d0 zeromq: added initial version of ZeroMQ node-type 2017-05-23 15:20:38 +02:00
f433743173 nanomsg: added new messaging node-type 2017-05-23 14:54:25 +02:00
a1a56a9f0a msg: use new macro to define max packet size 2017-05-23 13:55:13 +02:00
f6909de568 add new msg_buffer() functions to read / write multiple struct sample from / to a buffer using the struct msg wire protocol. 2017-05-23 13:02:20 +02:00
Georg Reinke
1b61d55cab add close methods for queue and use them for shmem 2017-05-12 13:12:42 +02:00
Georg Reinke
d17300e276 remove unnecessary sample_get in shmem node 2017-05-12 11:52:39 +02:00
Georg Reinke
1067c66ab8 shmem node: copy samples when reading 2017-05-12 11:52:24 +02:00
e92f17d891 file: fix and test rewind feature 2017-05-08 00:50:56 +02:00