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
59f3e86d21
web: fix segmention fault during shutdown of web server ( closes #93 )
2017-06-09 12:02:01 +02:00
Georg Reinke
e2353e937a
add pool functions to libext
2017-06-08 14:05:52 +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
38a63f1f82
api: added new ‚paths‘ action to get a list of all paths with their current statistics
2017-05-28 19:44:05 +02:00
ace03b657e
minor fixes and cleanups for new nanomsg and zeromq node-types
2017-05-28 19:43:19 +02:00
31ca905013
stats: dont print periodic stats if path is not running
2017-05-28 19:42:52 +02:00
2ab0b1d52a
hist: json_pack() can handle NaN
2017-05-28 19:42:12 +02:00
bb773ac763
api: cleanup ‚nodes‘ action
2017-05-28 19:16:10 +02:00
4709abc48a
rt: change warning message
2017-05-28 18:57:31 +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
8f6b38cd63
added new function node_type_name()
2017-05-23 15:20:38 +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
1e5c143ff9
list: added list_set()
2017-05-23 12:12:39 +02:00
Georg Reinke
b21a017cc2
properly define atomic state for queue
2017-05-15 14:04:15 +02:00
Georg Reinke
292e846bf8
Revert "use proper enum type for atomic state"
...
This reverts commit 44669a748d
.
2017-05-15 13:45:37 +02:00
867fb90f7f
Merge branch 'fix-queue-signalled' into develop
2017-05-14 11:38:11 +02:00
1e3980f034
fix the race in web startup differently
2017-05-14 11:36:44 +02:00
44669a748d
use proper enum type for atomic state
2017-05-14 11:36:14 +02:00
e95b562c71
improve readability
2017-05-14 11:35:49 +02:00
e1d5a11c9c
stats: parse 'veerbose' setting as boolean
2017-05-14 10:41:27 +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
434504b788
Merge branch 'fix-shmem' into fix-queue-signalled
2017-05-12 13:12:30 +02:00