Home
last modified time | relevance | path

Searched refs:lws_ser_wu16be (Results 1 – 11 of 11) sorted by relevance

/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt-handshake.c73 lws_ser_wu16be(p, 4); /* Length of protocol name */ in lws_mqtt_client_send_connect()
81 lws_ser_wu16be(p, c->keep_alive_secs); in lws_mqtt_client_send_connect()
89 lws_ser_wu16be(p, c->id->len); in lws_mqtt_client_send_connect()
109 lws_ser_wu16be(p, c->will.topic->len); in lws_mqtt_client_send_connect()
114 lws_ser_wu16be(p, c->will.message->len); in lws_mqtt_client_send_connect()
120 lws_ser_wu16be(p, 0); in lws_mqtt_client_send_connect()
134 lws_ser_wu16be(p, c->username->len); in lws_mqtt_client_send_connect()
145 lws_ser_wu16be(p, c->password->len); in lws_mqtt_client_send_connect()
151 lws_ser_wu16be(p, 0); in lws_mqtt_client_send_connect()
/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c316 lws_ser_wu16be(&buf[LWS_PRE + 2], in rops_handle_POLLOUT_mqtt()
323 lws_ser_wu16be(&buf[LWS_PRE + 2], in rops_handle_POLLOUT_mqtt()
330 lws_ser_wu16be(&buf[LWS_PRE + 2], in rops_handle_POLLOUT_mqtt()
398 lws_ser_wu16be(&buf[LWS_PRE + 2], wsi->mqtt->peer_ack_pkt_id); in rops_handle_POLLOUT_mqtt()
Dmqtt.c2008 lws_ser_wu16be(p, pub->topic_len); in lws_mqtt_client_send_publish()
2033 lws_ser_wu16be(p, pub->packet_id); in lws_mqtt_client_send_publish()
2216 lws_ser_wu16be(p, wsi->mqtt->ack_pkt_id); in lws_mqtt_client_send_subcribe()
2243 lws_ser_wu16be(p, (uint16_t)strlen(sub->topic[n].name)); in lws_mqtt_client_send_subcribe()
2384 lws_ser_wu16be(p, wsi->mqtt->ack_pkt_id); in lws_mqtt_client_send_unsubcribe()
2403 lws_ser_wu16be(p, (uint16_t)strlen(unsub->topic[n].name)); in lws_mqtt_client_send_unsubcribe()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c167 lws_ser_wu16be(&p[1], 4); in lws_sspc_serialize_metadata()
185 lws_ser_wu16be(&p[1], (uint16_t)n); in lws_sspc_serialize_metadata()
407 lws_ser_wu16be(&s[1], (uint16_t)n); in callback_sspc_client()
452 lws_ser_wu16be(&s[1], 4); in callback_sspc_client()
508 lws_ser_wu16be(&s[1], 4); in callback_sspc_client()
551 lws_ser_wu16be(&p[1], (uint16_t)(len + 19 - 3)); in callback_sspc_client()
Dsecure-streams-process.c589 lws_ser_wu16be(&p[1], (uint16_t)(1 + naml + in callback_ss_proxy()
620 lws_ser_wu16be(&p[1], (uint16_t)xlen); in callback_ss_proxy()
Dsecure-streams-serialize.c171 lws_ser_wu16be(&pre[1], (uint16_t)(len + (size_t)est - 3)); in lws_ss_serialize_rx_payload()
730 lws_ser_wu16be(&p[1], (uint16_t)((unsigned int)n + 23 - 3)); in lws_ss_deserialize_parse()
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c213 lws_ser_wu16be(&p[DHO_TID], in lws_async_dns_writeable()
218 lws_ser_wu16be(&p[DHO_FLAGS], (1 << 8)); in lws_async_dns_writeable()
219 lws_ser_wu16be(&p[DHO_NQUERIES], 1); in lws_async_dns_writeable()
244 lws_ser_wu16be(p, which ? LWS_ADNS_RECORD_AAAA : LWS_ADNS_RECORD_A); in lws_async_dns_writeable()
247 lws_ser_wu16be(p, 1); /* IN class */ in lws_async_dns_writeable()
/third_party/libwebsockets/include/libwebsockets/
Dlws-misc.h911 lws_ser_wu16be(uint8_t *b, uint16_t u);
/third_party/libwebsockets/lib/roles/http/
Dparsers.c1039 lws_ser_wu16be((uint8_t *)&ah->data[ah->unk_pos + 2], in lws_parse()
1246 lws_ser_wu16be((uint8_t *)&ah->data[ah->unk_pos], in lws_parse()
/third_party/libwebsockets/lib/core/
Dlibwebsockets.c33 lws_ser_wu16be(uint8_t *b, uint16_t u) in lws_ser_wu16be() function
/third_party/libwebsockets/
Dchangelog234 common types, see eh, lws_ser_wu16be() in include/libwebsockets/lws-misc.h