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

1148 commits

Author SHA1 Message Date
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
2036c2bdfa websocket: fix bug in receive path 2017-05-08 00:50:55 +02:00
92e3087a16 file: make intialization more robust 2017-05-08 00:50:53 +02:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
74ee677b41 fix pointer mistake 2017-05-05 19:09:57 +00:00
9b1e6a33ed add license to headers 2017-04-27 13:20:20 +02:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
Umar Farooq
de6c7f83a4 AsyncIP endianess fix, test with VILLASnode 2017-04-25 15:11:41 +00:00
6da1070e56 minor improvements 2017-04-24 19:56:14 +02:00
4e5dc58e18 added first version of web socket client support 2017-04-24 19:28:45 +02:00
414fcc72f1 websocket: add destinations to websocket_print() 2017-04-24 18:11:05 +02:00
8c4f291fd9 changed byte-order for websocket messages to little-endian 2017-04-24 13:25:30 +02:00
a3222da312 adapted socket node-type to support new packet format 2017-04-23 22:13:29 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
Georg Reinke
5f540e58bc even more documentation for shmem node 2017-04-17 19:00:15 +02:00
48ad4f9a56 refactoring: added DEFAULT_WEBSOCKET_{SAMPLE,QUEUE}LEN (like for shmem node-type) 2017-04-15 22:50:37 +02:00
cee5575861 shm node: use similar settings as for paths: {in,out}size => queuelen, sample_values => samplelen 2017-04-15 22:47:24 +02:00