Lines Matching refs:coap_client
24 static struct coap_client *clients[CONFIG_COAP_CLIENT_MAX_INSTANCES];
29 static void cancel_requests_with(struct coap_client *client, int error);
30 static int recv_response(struct coap_client *client, struct coap_packet *response, bool *truncated);
31 static int handle_response(struct coap_client *client, const struct coap_packet *response,
33 static struct coap_client_internal_request *get_request_with_mid(struct coap_client *client,
87 static int coap_client_schedule_poll(struct coap_client *client, int sock, in coap_client_schedule_poll()
119 static bool has_ongoing_request(struct coap_client *client) in has_ongoing_request()
130 static bool has_ongoing_exchange(struct coap_client *client) in has_ongoing_exchange()
142 static bool has_timeout_expired(struct coap_client *client) in has_timeout_expired()
152 static struct coap_client_internal_request *get_free_request(struct coap_client *client) in get_free_request()
197 static int coap_client_init_request(struct coap_client *client, in coap_client_init_request()
348 int coap_client_req(struct coap_client *client, int sock, const struct sockaddr *addr, in coap_client_req()
483 static int resend_request(struct coap_client *client, in resend_request()
528 static void coap_client_resend_handler(struct coap_client *client) in coap_client_resend_handler()
552 static struct coap_client *get_client(int sock) in get_client()
596 struct coap_client *client = get_client(fds[i].fd); in handle_poll()
645 static int recv_response(struct coap_client *client, struct coap_packet *response, bool *truncated) in recv_response()
681 static int send_ack(struct coap_client *client, const struct coap_packet *req, in send_ack()
702 static int send_rst(struct coap_client *client, const struct coap_packet *req) in send_rst()
723 struct coap_client *client, const struct coap_packet *resp) in get_request_with_token()
750 static struct coap_client_internal_request *get_request_with_mid(struct coap_client *client, in get_request_with_mid()
769 static int handle_response(struct coap_client *client, const struct coap_packet *response, in handle_response()
1003 static void cancel_requests_with(struct coap_client *client, int error) in cancel_requests_with()
1029 void coap_client_cancel_requests(struct coap_client *client) in coap_client_cancel_requests()
1055 void coap_client_cancel_request(struct coap_client *client, struct coap_client_request *req) in coap_client_cancel_request()
1094 int coap_client_init(struct coap_client *client, const char *info) in coap_client_init()