Searched refs:ws_host (Results 1 – 4 of 4) sorted by relevance
/third_party/libcoap/src/ |
D | coap_ws.c | 815 if (!session->ws_host) { in coap_ws_establish() 832 if (strchr((const char *)session->ws_host->s, ':')) { in coap_ws_establish() 834 snprintf(host, sizeof(host), "[%s]:%d", session->ws_host->s, port); in coap_ws_establish() 836 snprintf(host, sizeof(host), "[%s]", session->ws_host->s); in coap_ws_establish() 840 snprintf(host, sizeof(host), "%s:%d", session->ws_host->s, port); in coap_ws_establish() 842 snprintf(host, sizeof(host), "%s", session->ws_host->s); in coap_ws_establish() 922 coap_ws_set_host_request(coap_session_t *session, coap_str_const_t *ws_host) { in coap_ws_set_host_request() argument 923 if (!session | !ws_host) in coap_ws_set_host_request() 926 session->ws_host = coap_new_str_const(ws_host->s, ws_host->length); in coap_ws_set_host_request() 927 if (!session->ws_host) in coap_ws_set_host_request() [all …]
|
D | coap_session.c | 671 coap_delete_str_const(session->ws_host); in coap_session_mfree()
|
/third_party/libcoap/include/coap3/ |
D | coap_ws.h | 47 int coap_ws_set_host_request(coap_session_t *session, coap_str_const_t *ws_host);
|
D | coap_session_internal.h | 198 coap_str_const_t *ws_host; /**< Host to use in WS Request */ member
|