Home
last modified time | relevance | path

Searched refs:_service (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/shell/
Dshell_websocket.h68 #define GET_WS_NAME(_service) ws_ctx_##_service argument
70 #define GET_WS_TRANSPORT_NAME(_service) transport_shell_ws_##_service argument
71 #define GET_WS_DETAIL_NAME(_service) ws_res_detail_##_service argument
73 #define SHELL_WEBSOCKET_DEFINE(_service) \ argument
74 static struct shell_websocket GET_WS_NAME(_service); \
75 static struct shell_transport GET_WS_TRANSPORT_NAME(_service) = { \
77 .ctx = &GET_WS_NAME(_service), \
80 #define SHELL_WS_PORT_NAME(_service) http_service_##_service argument
81 #define SHELL_WS_BUF_NAME(_service) ws_recv_buffer_##_service argument
84 #define DEFINE_WEBSOCKET_HTTP_SERVICE(_service) \ argument
[all …]
/Zephyr-latest/include/zephyr/net/
Dcoap_service.h113 #define COAP_RESOURCE_DEFINE(_name, _service, ...) \ argument
114 STRUCT_SECTION_ITERABLE_ALTERNATE(_CONCAT(coap_resource_, _service), coap_resource, \
153 #define COAP_SERVICE_RESOURCE_COUNT(_service) ((_service)->res_end - (_service)->res_begin) argument
161 #define COAP_SERVICE_HAS_RESOURCE(_service, _resource) \ argument
162 ((_service)->res_begin <= _resource && _resource < (_service)->res_end)
179 #define COAP_RESOURCE_FOREACH(_service, _it) \ argument
180 STRUCT_SECTION_FOREACH_ALTERNATE(_CONCAT(coap_resource_, _service), coap_resource, _it)
190 #define COAP_SERVICE_FOREACH_RESOURCE(_service, _it) \ argument
191 for (struct coap_resource *_it = (_service)->res_begin; ({ \
192 __ASSERT(_it <= (_service)->res_end, "unexpected list end location"); \
[all …]
Ddns_sd.h112 #define DNS_SD_REGISTER_SERVICE(_id, _instance, _service, _proto, \ argument
116 .service = _service, \
/Zephyr-latest/include/zephyr/net/http/
Dservice.h58 #define HTTP_RESOURCE_DEFINE(_name, _service, _resource, _detail) \ argument
59 const STRUCT_SECTION_ITERABLE_ALTERNATE(http_resource_desc_##_service, http_resource_desc, \
221 #define HTTP_SERVICE_RESOURCE_COUNT(_service) ((_service)->res_end - (_service)->res_begin) argument
238 #define HTTP_RESOURCE_FOREACH(_service, _it) \ argument
239 STRUCT_SECTION_FOREACH_ALTERNATE(http_resource_desc_##_service, http_resource_desc, _it)
250 #define HTTP_SERVICE_FOREACH_RESOURCE(_service, _it) \ argument
251 for (struct http_resource_desc *_it = (_service)->res_begin; ({ \
252 __ASSERT(_it <= (_service)->res_end, "unexpected list end location"); \
253 _it < (_service)->res_end; \
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dgatt_macs.h81 #define BT_GATT_H_PRIMARY_SERVICE(_service, _handle) \ argument
86 (void *)_service, \
97 #define BT_GATT_H_SECONDARY_SERVICE(_service, _handle) \ argument
102 (void *)_service, \
/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h828 #define BT_GATT_PRIMARY_SERVICE(_service) \ argument
830 bt_gatt_attr_read_service, NULL, (void *)_service)
842 #define BT_GATT_SECONDARY_SERVICE(_service) \ argument
844 bt_gatt_attr_read_service, NULL, (void *)_service)