Lines Matching refs:service
23 COAP_SERVICE_FOREACH(service) { in cmd_list()
27 service->name, in cmd_list()
28 service->data->sock_fd < 0 ? "INACTIVE" : "ACTIVE", in cmd_list()
29 service->host != NULL ? service->host : "", in cmd_list()
30 *service->port); in cmd_list()
50 COAP_SERVICE_FOREACH(service) { in cmd_start()
51 if (strcmp(argv[1], service->name) == 0) { in cmd_start()
52 ret = coap_service_start(service); in cmd_start()
73 COAP_SERVICE_FOREACH(service) { in cmd_stop()
74 if (strcmp(argv[1], service->name) == 0) { in cmd_stop()
75 ret = coap_service_stop(service); in cmd_stop()