1740df596b
separated in/out signal descriptors
2019-02-06 13:14:38 +01:00
ef2eb6a2fa
socket: avoid duplicate variable shadowing
2019-01-21 23:00:43 +01:00
4533e0ab12
netem: fix defines and includes
2019-01-21 22:14:41 +01:00
8190227776
netem: move intialization of Netem support into node instead of socket class
2019-01-21 15:50:18 +01:00
d3ff9f2d41
node: allow nodes to have multiple filedescriptors
2019-01-21 15:47:34 +01:00
8f7c8ae71e
update copyright year to 2019
2019-01-13 00:42:39 +01:00
d18d786801
refactor: list_* -> vlist_*
2019-01-07 10:28:55 +01:00
caf3e45960
workaround for C-compatability
2018-12-02 03:11:31 +01:00
e3b522c39b
socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path
2018-11-30 21:39:55 +01:00
70cc94b5c7
refactor: warn() => warning() due to name collision with libc
2018-11-30 21:37:52 +01:00
677f8b2aa2
socket: fix compilation without libnl3
2018-11-30 21:00:53 +01:00
30576ba7ad
refactoring: move config to villas/node/config.h
2018-11-30 21:00:53 +01:00
987a59a5aa
cpp: ported SuperNode
2018-11-30 20:46:59 +01:00
e33e1904b8
refactor: warning() => warn()
2018-11-30 20:38:31 +01:00
06ef762ad9
socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path
2018-11-30 20:33:11 +01:00
40521cf5dd
socket: enable raw socket only on linux and if libnl3-route was found ( closes #210 )
2018-10-31 10:38:43 +01:00
8e052eaa5e
do not send offsets of network node-types
2018-10-20 16:23:26 +02:00
2677623c8c
socket: fix unused variable
2018-09-08 00:05:47 +02:00
d35971c26c
refactor: update copyright years
2018-08-20 18:40:03 +02:00
df94f7fb91
socket: adapt to new signal code and separate node-type configuration into in/out sections
2018-08-20 18:26:14 +02:00
abdec22993
plugin: replace plugin_name() by type-specific wrappers
2018-08-20 18:16:44 +02:00
a5edd4c0f5
code style: refactor indention of switch/case
2018-08-17 12:51:54 +02:00
afc529626a
fix some includes
2018-08-13 00:00:09 +02:00
2a0311f05f
socket: use correct values for sockaddr lengths ( closes #177 )
2018-07-16 21:59:23 +02:00
60f55ec178
improve naming of struct node_type function pointers ( closes #150 )
2018-07-16 11:00:15 +02:00
Dennis Potter
72e627b327
Fixes #166 , all node interfaces are modified
...
The functions now look like this
int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
6150a36411
Changed all node_write() functions
2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b
Changed all node_read() functions to support a *cnt instead of cnt
2018-07-07 17:07:45 +02:00
fc6f63b192
cmake: change sub-libraries to be statically linked
2018-07-03 18:25:15 +02:00
0c8e52da4e
socket: do not block in sendto()
2018-06-15 14:56:48 +02:00
4ba077d14e
io: remove state-less IO calls
2018-05-12 15:25:29 +02:00
c0313c7963
refactored: io_format -> format_type
2018-05-12 13:57:39 +02:00
c59e0948c3
io: use dots instead of hyphens in format names
2018-05-08 08:45:18 +02:00
f31a7b0ffb
get rid of strncpy as much as possible
2018-04-04 08:53:00 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
bfa8407665
netem: support loading distribution directly from config instead of a separate file
2017-12-20 11:23:55 +01:00
3077722476
netem: fix network emulation
2017-12-14 13:23:19 +01:00
7c52de9b0a
socket: do not fail if stale socket does not exist
2017-10-27 21:46:40 +02:00
7d6ca30f8a
socket: lift limitation of packet lengths (was 1500 bytes)
2017-10-27 19:15:23 +02:00
2443f7c2fa
socket: add support for AF_UNIX domain sockets
2017-10-26 18:32:51 +02:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
3c27971cc7
socket: treat EPERM as a warning (see #120 )
2017-10-18 13:23:00 +02:00
ce5f4e5a60
some refactoring in json parsing
2017-10-16 08:09:07 +02:00
b03748ac2c
another fix for #120 (sendto: invalid argument)
2017-09-23 23:45:39 -06:00
5e620942ce
adding new field "flags" to struct sample
2017-09-16 15:04:59 +02:00
6922e273bb
io: renamed formats (msg -> villas-binary, villas -> villas-human)
2017-09-04 14:39:15 +02:00
6d495c1a35
add new bitmask to samples to indicate which fields are valid
2017-09-04 14:28:55 +02:00
5b4e4a4eb7
socket: remove obsolete settings 'endian' and 'header'
2017-08-31 09:28:44 +02:00
9f3d806755
add node_fd() support to most node types
2017-08-30 09:21:35 +02:00
fc53728b34
socket: most of the format specific error handling is now in the io subsystem
2017-08-23 15:48:05 +02:00