Searched refs:LWS_SMD_SS_RX_HEADER_LEN (Results 1 – 5 of 5) sorted by relevance
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/ |
D | multi.c | 158 *len = LWS_SMD_SS_RX_HEADER_LEN + (unsigned int) in multi_myss_tx() 159 lws_snprintf((char *)buf + LWS_SMD_SS_RX_HEADER_LEN, *len, in multi_myss_tx() 167 *len = LWS_SMD_SS_RX_HEADER_LEN + (unsigned int) in multi_myss_tx() 168 lws_snprintf((char *)buf + LWS_SMD_SS_RX_HEADER_LEN, *len, in multi_myss_tx()
|
/third_party/libwebsockets/lib/system/smd/ |
D | smd.c | 334 char *content = (char *)buf + LWS_SMD_SS_RX_HEADER_LEN; in lws_smd_ss_msg_printf() 338 if (*len < LWS_SMD_SS_RX_HEADER_LEN) in lws_smd_ss_msg_printf() 345 n = vsnprintf(content, (*len) - LWS_SMD_SS_RX_HEADER_LEN, format, ap); in lws_smd_ss_msg_printf() 349 (unsigned int)n > (*len) - LWS_SMD_SS_RX_HEADER_LEN) in lws_smd_ss_msg_printf() 353 *len = LWS_SMD_SS_RX_HEADER_LEN + (unsigned int)n; in lws_smd_ss_msg_printf()
|
D | private-lib-system-smd.h | 27 #define LWS_SMD_SS_RX_HEADER_LEN_EFF (LWS_SMD_SS_RX_HEADER_LEN)
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-smd.h | 29 #define LWS_SMD_SS_RX_HEADER_LEN 16 macro
|
/third_party/libwebsockets/lib/secure-streams/ |
D | secure-streams.c | 602 uint8_t *p = (uint8_t *)buf - LWS_SMD_SS_RX_HEADER_LEN; in lws_smd_ss_cb() 617 h->info.rx((void *)&h[1], p, len + LWS_SMD_SS_RX_HEADER_LEN, in lws_smd_ss_cb() 627 uint8_t buf[LWS_SMD_SS_RX_HEADER_LEN + LWS_SMD_MAX_PAYLOAD], *p; in lws_ss_smd_tx_cb() 645 assert(len >= LWS_SMD_SS_RX_HEADER_LEN); in lws_ss_smd_tx_cb() 647 p = lws_smd_msg_alloc(h->context, _class, len - LWS_SMD_SS_RX_HEADER_LEN); in lws_ss_smd_tx_cb() 654 memcpy(p, buf + LWS_SMD_SS_RX_HEADER_LEN, len - LWS_SMD_SS_RX_HEADER_LEN); in lws_ss_smd_tx_cb()
|