summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps
AgeCommit message (Expand)AuthorFilesLines
2021-04-30hsa: vcl test client incremental statsFlorin Coras2-22/+82
2021-04-29hsa: vcl test perf improvementsFlorin Coras3-88/+93
2021-04-28vcl: fix epoll wait with indefinite timeoutFlorin Coras1-4/+4
2021-04-28hsa: fix quic vcl testFlorin Coras1-9/+21
2021-04-28hsa: support sigint in vcl test clientFlorin Coras1-2/+33
2021-04-27hsa: custom proto vfts for vcl testsFlorin Coras5-314/+836
2021-04-27hsa: use only one conn type for vcl testsFlorin Coras3-139/+80
2021-04-26hsa: use tcp for vcl test control channelFlorin Coras3-195/+242
2021-04-22vcl session: refactor passing of crypto contextFlorin Coras6-12/+141
2021-04-14hsa: fix coverity warningsFlorin Coras1-2/+3
2021-03-26vlib: introduce vlib_get_main_by_index(), vlib_get_n_threads()Damjan Marion2-2/+2
2021-03-11hsa: add support for tls to proxyFlorin Coras2-39/+89
2021-03-04hsa: fix builtin echo apps with multiple workersFlorin Coras2-25/+88
2021-02-23hsa: fifo detach cleanupFlorin Coras2-0/+27
2021-02-16hsa: coverity fixFlorin Coras1-0/+1
2021-02-09tls: dtls initial implementationFlorin Coras3-3/+8
2021-02-05session svm: non blocking mqFlorin Coras1-8/+2
2021-01-25svm: add custom q implementation for mqFlorin Coras1-1/+1
2021-01-07vcl session: switch to generic cert key apisFlorin Coras6-58/+100
2020-12-29svm vcl: allow random offsets for fifo segments in appsFlorin Coras1-10/+6
2020-12-29svm: allow mq attachments at random offsetsFlorin Coras5-25/+63
2020-12-24svm: split fifo into private and shared structsFlorin Coras6-52/+74
2020-12-23hsa: detach fifo segments in echo appFlorin Coras3-38/+60
2020-12-17hsa: http server: memset after pool_put will cause ASAN issuejiangxiaoming1-1/+2
2020-12-17hsa: http server: fix http response format type errorjiangxiaoming1-1/+1
2020-12-14misc: move to new pool_foreach macrosDamjan Marion2-7/+7
2020-12-10hsa: http proxy connected callback fixesnandfan1-3/+0
2020-11-09hsa: remove fake binary api registration in echo appsFlorin Coras2-42/+6
2020-11-04session: fix ct server session thread indexFlorin Coras1-1/+1
2020-10-19vcl: cleanup read and write readyFlorin Coras1-0/+2
2020-10-19hsa: refactor socket client appFlorin Coras3-315/+177
2020-10-19hsa: cleanup sock server testFlorin Coras2-380/+261
2020-09-29hsa: fix coverity warningFlorin Coras1-3/+4
2020-09-29vcl svm: provide apps access to fifo chunksFlorin Coras2-7/+21
2020-08-22hsa: set connected mode for udp serverjiangxiaoming1-0/+4
2020-08-06misc: harmonize namesDave Barach1-1/+1
2020-07-29hsa: fix handling active connection failures in the proxyIvan Shvedunov1-9/+16
2020-07-28hsa: fix http server session cleanupFlorin Coras1-36/+31
2020-07-23hsa: proxy session cleanup fixesFlorin Coras2-95/+188
2020-07-13hsa: set connected mode for echo_server app in udp mode.jiangxiaoming1-7/+20
2020-05-04session: add option to preallocate fifo headersFlorin Coras1-1/+1
2020-04-30hsa: bind af-unix socket only for echo testsFlorin Coras1-60/+77
2020-04-29hsa: cleanup ifdefs in sock testsFlorin Coras4-532/+168
2020-04-10udp: remove connected udp transport protoFlorin Coras3-10/+1
2020-04-06vcl session: enforce full dgram reads/writesFlorin Coras1-8/+13
2020-04-04misc: strcpy be goneDave Barach3-5/+7
2020-04-04misc: sprintf be goneDave Barach4-8/+9
2020-04-03session: improve error reportingFlorin Coras4-11/+13
2020-04-03session udp: fix transport flags and migrationFlorin Coras1-1/+1
2020-04-03session: remove obsolete apisFlorin Coras1-1/+0
nction_registrations; \ vm->config_function_registrations \ = &VLIB_CONFIG_FUNCTION_SYMBOL(x); \ } \ static void __vlib_rm_config_function_##x (void) \ __attribute__((__destructor__)) ; \ static void __vlib_rm_config_function_##x (void) \ { \ vlib_main_t * vm = vlib_get_main(); \ vlib_config_function_runtime_t *p = \ & VLIB_CONFIG_FUNCTION_SYMBOL (x); \ VLIB_REMOVE_FROM_LINKED_LIST \ (vm->config_function_registrations, p, next_registration);\ } \ vlib_config_function_runtime_t \ VLIB_CONFIG_FUNCTION_SYMBOL (x) \ = { \ .name = n, \ .function = x, \ .is_early = 0, \ } #define VLIB_EARLY_CONFIG_FUNCTION(x,n,...) \ __VA_ARGS__ vlib_config_function_runtime_t \ VLIB_CONFIG_FUNCTION_SYMBOL(x); \ static void __vlib_add_config_function_##x (void) \ __attribute__((__constructor__)) ; \ static void __vlib_add_config_function_##x (void) \ { \ vlib_main_t * vm = vlib_get_main(); \ VLIB_CONFIG_FUNCTION_SYMBOL(x).next_registration \ = vm->config_function_registrations; \ vm->config_function_registrations \ = &VLIB_CONFIG_FUNCTION_SYMBOL(x); \ } \ static void __vlib_rm_config_function_##x (void) \ __attribute__((__destructor__)) ; \ static void __vlib_rm_config_function_##x (void) \ { \ vlib_main_t * vm = vlib_get_main(); \ vlib_config_function_runtime_t *p = \ & VLIB_CONFIG_FUNCTION_SYMBOL (x); \ VLIB_REMOVE_FROM_LINKED_LIST \ (vm->config_function_registrations, p, next_registration);\ } \ vlib_config_function_runtime_t \ VLIB_CONFIG_FUNCTION_SYMBOL (x) \ = { \ .name = n, \ .function = x, \ .is_early = 1, \ } /* Call given init function: used for init function dependencies. */ #define vlib_call_init_function(vm, x) \ ({ \ extern vlib_init_function_t * VLIB_INIT_FUNCTION_SYMBOL (x); \ vlib_init_function_t * _f = VLIB_INIT_FUNCTION_SYMBOL (x); \ clib_error_t * _error = 0; \ if (! hash_get (vm->init_functions_called, _f)) \ { \ hash_set1 (vm->init_functions_called, _f); \ _error = _f (vm); \ } \ _error; \ }) /* Don't call given init function: used to suppress parts of the netstack */ #define vlib_mark_init_function_complete(vm, x) \ ({ \ extern vlib_init_function_t * VLIB_INIT_FUNCTION_SYMBOL (x); \ vlib_init_function_t * _f = VLIB_INIT_FUNCTION_SYMBOL (x); \ hash_set1 (vm->init_functions_called, _f); \ }) #define vlib_call_post_graph_init_function(vm, x) \ ({ \ extern vlib_init_function_t * VLIB_POST_GRAPH_INIT_FUNCTION_SYMBOL (x); \ vlib_init_function_t * _f = VLIB_POST_GRAPH_INIT_FUNCTION_SYMBOL (x); \ clib_error_t * _error = 0; \ if (! hash_get (vm->init_functions_called, _f)) \ { \ hash_set1 (vm->init_functions_called, _f); \ _error = _f (vm); \ } \ _error; \ }) #define vlib_call_config_function(vm, x) \ ({ \ vlib_config_function_runtime_t * _r; \ clib_error_t * _error = 0; \ extern vlib_config_function_runtime_t \ VLIB_CONFIG_FUNCTION_SYMBOL (x); \ \ _r = &VLIB_CONFIG_FUNCTION_SYMBOL (x); \ if (! hash_get (vm->init_functions_called, _r->function)) \ { \ hash_set1 (vm->init_functions_called, _r->function); \ _error = _r->function (vm, &_r->input); \ } \ _error; \ }) /* External functions. */ clib_error_t *vlib_call_all_init_functions (struct vlib_main_t *vm); clib_error_t *vlib_call_all_config_functions (struct vlib_main_t *vm, unformat_input_t * input, int is_early); clib_error_t *vlib_call_all_main_loop_enter_functions (struct vlib_main_t *vm); clib_error_t *vlib_call_all_main_loop_exit_functions (struct vlib_main_t *vm); clib_error_t *vlib_call_init_exit_functions (struct vlib_main_t *vm, _vlib_init_function_list_elt_t * head, int call_once); #define foreach_vlib_module_reference \ _ (node_cli) \ _ (trace_cli) /* Dummy function to get node_cli.c linked in. */ #define _(x) void vlib_##x##_reference (void); foreach_vlib_module_reference #undef _ #endif /* included_vlib_init_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */