1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
Commit graph

86 commits

Author SHA1 Message Date
Umar Farooq
62bf0c2b0c Bug fixes/improvements to GTNET-SKT code
- Change enum types APP_HDR_* to SOCKET_HDR_*
 - Remove SOCKET_HDR_NONE type from app-hdr as its same as
   SOCKET_HDR_GTSKT
 - Fix values per samples for GTSKT to 1
 - Replace TODO tag with @todo
 - Use SOCKET_HDR_DEFAULT if app_hdr setting is not present
   in config file
 - Fix bug when invalid message is received resulting in
   infinite printing loop
 - Fix bug in socket_write when due to declaration of struct
   msg msgs[cnt] in the for loop the values are not transmitted
 - Replace std=c98 with std=c11 but still compile without it
2016-08-02 21:08:25 +02:00
Umar Farooq
2f47be0ac5 Add app_hdr tag for GT-NET-Socket
GT-NET-Socket uses a tag in the config file to distinguish from default
socket node type application layer header (struct msg). For now all the
values are encoded in the struct sample without any header (no timestamp
or sequence number).
Minor improvement in pipe.c: replace 'goto' with do while
2016-07-17 01:01:43 +02:00
d589c71ab6 missed something to rename 2016-06-13 21:44:39 +02:00
35bfd02b13 added debug facilities to debug output 2016-06-13 21:43:08 +02:00
04aad098bb fixed some whitespace 2016-06-13 21:41:55 +02:00
9096de8024 fixed broken nags node-type 2016-06-08 23:42:44 +02:00
ad8ee1c3f7 renamed S2SS to VILLASnode 2016-06-08 23:31:58 +02:00
2962c2902e added debug facilities 2016-06-08 22:53:26 +02:00
44c3efaac7 renamed file 2016-06-08 22:50:56 +02:00
36e27af702 adapting file and socket node-types to new data structures 2016-06-08 22:39:43 +02:00
104455e0d5 splitting web socket code in multiple files 2016-06-08 22:39:17 +02:00
3e0c743d80 adapting hook feature to new data structures 2016-06-08 22:38:50 +02:00
909bde0894 introduced new data structures 2016-06-08 22:38:21 +02:00
0cebda19c8 whitespace fixes and documentation 2016-06-08 22:36:38 +02:00
3e85ef8ea4 removed all 'struct msg' based functions (now in sample data structure) 2016-06-08 22:31:24 +02:00
ac61a8498e added function to get system cache line size 2016-06-08 22:30:30 +02:00
90ae32058a prepared log functions for facilities 2016-06-08 22:29:30 +02:00
876de3ddc8 added new internal data structure for samples (instead of the old struct msg) 2016-06-08 22:26:40 +02:00
7820e66cee added new circular buffer queue data structure 2016-06-08 22:26:12 +02:00
1b24f29088 added new memory pool for fixed size blocks (samples) 2016-06-08 22:25:48 +02:00
6392073223 added new lock-less stack data structure 2016-06-08 22:24:58 +02:00
433c65e717 simplified strcatf() with new macro strf() 2016-04-16 21:58:13 +02:00
5d5b36cd76 moved list destructor and added optional free() of list items 2016-04-16 19:54:26 +02:00
08181c2f94 made list helpers static 2016-03-29 08:59:26 +02:00
4eeba60bf4 added / rewrite of a couple of linux specific checks and LKM functions 2016-03-18 12:38:28 +01:00
fe39f6c7a8 added 2 new node states 2016-02-09 05:35:23 +01:00
9b56be2bc6 updated copyright year to 2016 2016-02-09 05:33:19 +01:00
5efc178408 refactored path_run_hook() to hook_run() 2016-02-07 14:24:58 +01:00
dba5fe7696 fixed invalid first timer event 2016-02-07 03:18:07 +01:00
c90b5ba2b4 cleanups 2016-02-07 01:11:22 +01:00
6923e57b63 fixed invalid pool_current() pool_previous() pointers for the hook functions 2016-02-07 01:10:52 +01:00
50d048e017 smaller cleanups and bugfixes for web socket node type (still a bit buggy :-() 2016-02-04 18:25:13 +01:00
707f08ceec remove older stuff 2016-02-04 17:50:05 +01:00
79fa624c3e fix: only send data once to the client 2016-02-04 17:49:45 +01:00
8a578325c3 fix: proper shutdown of active web socket connections 2016-02-04 17:18:30 +01:00
f5ccfb8afb added support for relative @include statements in configuration files 2016-02-04 17:18:30 +01:00
e761f22c54 binary WebSocket payload 2016-02-04 17:18:30 +01:00
51fe428809 updated third party libraries 2016-02-04 17:18:30 +01:00
191a26d55e improved web socket logging 2016-02-04 17:18:29 +01:00
20534d1c3d replaced HOOK_INIT with HOOK_PATH_START and HOOK_DEINIT with HOOK_PATH_STOP 2016-02-04 17:18:29 +01:00
18d4051ca4 remove references to node list from library code (hooks) 2016-02-04 17:17:55 +01:00
a057e35a41 Use same copyright message across all tools 2016-01-15 15:25:22 +01:00
305e411814 improved pool_foreach iterator 2016-01-15 15:13:04 +01:00
317f3029d1 upgrade libwebsockets api to lastest version: v1.6.0-chrome48-firefox42 2016-01-15 15:11:22 +01:00
6088fb3e30 Merge branch 'feature-pool' into develop 2016-01-15 00:09:18 +01:00
fcf01e5410 updated WebSocket node to latest develop state 2016-01-15 00:08:23 +01:00
9e63bf4070 updated GTFPGA to latest develop state 2016-01-15 00:08:23 +01:00
458976ce63 added new field to node type descriptor which specifies maximum vector length 2016-01-15 00:08:23 +01:00
e59c2d7894 removed nested functions to enable compilation with Clang 2016-01-15 00:08:23 +01:00
26419549bd simplified timer code 2016-01-15 00:07:32 +01:00