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

47 commits

Author SHA1 Message Date
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
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
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
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
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
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
a3222da312 adapted socket node-type to support new packet format 2017-04-23 22:13:29 +02:00
47bff0f9ba fixed several bugs in the new state machine logic 2017-04-07 17:44:20 +02:00
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
3eb629d9d5 various bug fixes from todays debugging session 2017-03-29 04:25:30 +02:00
411b9dd326 replaced most occurrences of list_foreach with a traditional for loop due to performance reasons 2017-03-25 21:23:31 +01:00
607be1dd99 minor bugfixes and improvements 2017-03-13 23:51:38 -03:00
0830132a83 cosmetic changes 2017-03-13 00:04:56 -03:00
2757011e1b several smaller fixes and documentation updates 2017-03-12 17:13:37 -03:00
14e2b97372 initialize node_type::instances correctly 2017-03-12 17:08:52 -03:00
fa2dc403aa refactoring: if_create() => if_init() 2017-03-12 17:08:04 -03:00
c90343d4af refactoring: node_open, node_close => node_start, node_stop 2017-03-11 23:30:24 -03:00
e27f0b699f several fixes for clean compilation 2017-03-03 20:21:33 -04:00
3e7c855526 updated licence and copyright info in file headers 2017-03-03 20:20:13 -04:00
7ec6aee288 Merge remote-tracking branch 'rwth/develop' into feature-curlio 2017-02-18 11:05:11 -05:00
2b83fef2ce removed a bunch of non-needed include files (found by include-what-you-need.org) 2017-02-16 13:33:04 -03:00
e9f8a50c3c introduce new plugin system for extensions 2017-02-12 14:35:05 -03:00
84ebfda4e1 refactored log faciltity macros 2017-02-12 14:12:35 -03:00
1dba01a8ae Re-license source code to LGPLv2.1 (closes #56) 2016-11-22 11:14:25 -05:00
d6e4ab5d2f severe bug fix: msg_swap() did not correctly swapped the values (just the header) 2016-10-30 17:11:12 -04:00
7dec04edfc added new setting to example config, updated documentation 2016-10-30 17:10:20 -04:00
1bcd0f9ae2 moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type) 2016-10-30 16:58:45 -04:00
Umar Farooq
4745a799ff Add endianness setting in config file to nodes 2016-10-27 19:25:29 +02:00
3159729cff add new header type to socket node-type for making "fake" header in gtnet-skt mode configurable 2016-10-20 09:06:29 -04:00
ff48249389 fix sequence numbers for gtnet-skt 2016-10-19 01:56:00 -04:00
Umar Farooq
a5d50ea756 Add manual sequence numbers for GTNET w/o header as temp solution 2016-10-17 16:28:43 +02:00
d0ad1e47ef improved implementation of gtnet-skt protocol headers 2016-09-13 21:20:58 -04:00
0097132b4f Merge branch 'feature-gtnet' into develop 2016-09-11 02:56:46 +00:00
3880abeb63 unified member variable naming of struct sample and struct msg 2016-07-11 18:19:23 +02:00
0fa5f5b976 introduced new directory structure for source and header files 2016-06-14 01:17:58 +02:00
Renamed from lib/socket.c (Browse further)