Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 16 of 16) sorted by relevance

/net-tools-3.7.0/libcoap/examples/
Detsi_iot_01.c99 coap_add_payload(const coap_key_t key, coap_payload_t *payload, in coap_add_payload() argument
101 assert(payload); in coap_add_payload()
103 memcpy(payload->resource_key, key, sizeof(coap_key_t)); in coap_add_payload()
104 HASH_ADD(hh, test_resources, resource_key, sizeof(coap_key_t), payload); in coap_add_payload()
113 coap_delete_payload(coap_payload_t *payload) { in coap_delete_payload() argument
114 if (payload) { in coap_delete_payload()
117 payload->resource_key, sizeof(coap_key_t), uri); in coap_delete_payload()
124 HASH_DELETE(hh, test_resources, payload); in coap_delete_payload()
125 coap_free(payload); in coap_delete_payload()
226 coap_payload_t *payload; in hnd_delete_resource() local
[all …]
Dclient.c49 static str payload = { 0, NULL }; /* optional payload to send */ variable
435 if (payload.length <= (block.num+1) * (1 << (block.szx + 4))) { in message_handler()
467 block.m = ((block.num+1) * (1 << (block.szx + 4)) < payload.length); in message_handler()
476 payload.length, in message_handler()
477 payload.s, in message_handler()
763 ((1u << (block.szx + 4)) < payload.length); in set_blocksize()
1056 if (!cmdline_input(optarg,&payload)) in main()
1057 payload.length = 0; in main()
1060 if (!cmdline_input_from_file(optarg,&payload)) in main()
1061 payload.length = 0; in main()
[all …]
Dcoap-client.txt.in47 Include text as payload (use percent-encoding for non-ASCII characters).
/net-tools-3.7.0/docker/
Dhttp-server.py21 payload = "<html><p>Done</p></html>"
22 self.length = len(payload)
24 self.wfile.write(payload.encode())
27 payload = "<html><p>Done</p></html>"
28 self.length = len(payload)
30 self.wfile.write(payload.encode())
Dhttps-server.py37 payload = "<html><p>Done</p></html>"
38 self.length = len(payload)
40 self.wfile.write(payload)
43 payload = "<html><p>Done</p></html>"
44 self.length = len(payload)
46 self.wfile.write(payload.encode())
/net-tools-3.7.0/
Dhttp-server.py22 payload = "<html><p>Done</p></html>"
23 self.length = len(payload)
25 self.wfile.write(payload)
Dhttps-server.py37 payload = "<html><p>Done</p></html>"
38 self.length = len(payload)
40 self.wfile.write(payload)
Dcoap-client.c161 static str payload = { 0, NULL }; /* optional payload to send */ variable
196 .payload = test_payload, \
227 .payload = test_payload, \
314 const unsigned char *payload; /* possible payload to be sent */ member
1400 if (payload.length <= (block.num+1) * in coap_message_handler()
1417 payload.length); in coap_message_handler()
1428 payload.length, in coap_message_handler()
1429 payload.s, in coap_message_handler()
1496 ((1u << (block.szx + 4)) < payload.length); in set_blocksize()
/net-tools-3.7.0/libcoap/include/coap/
Dcoap_io.h151 unsigned char payload[]; /**< payload */ member
/net-tools-3.7.0/python-websocket-server/websocket_server/
Dwebsocket_server.py272 payload = encode_to_UTF8(message)
273 payload_length = len(payload)
296 self.request.send(header + payload)
/net-tools-3.7.0/libcoap/src/
Dcoap_io.c51 unsigned char payload[]; /**< payload */ member
396 *address = packet->payload; in coap_packet_get_memmapped()
435 iov[0].iov_base = (*packet)->payload; in coap_network_read()
560 memcpy(&(*packet)->payload, uip_appdata, len); in coap_network_read()
Dcoap_io_lwip.c26 *address = packet->pbuf->payload; in coap_packet_get_memmapped()
Dpdu.c35 pdu->hdr = pdu->pbuf->payload; in coap_pdu_clear()
67 result->hdr = pbuf->payload; in coap_pdu_from_pbuf()
/net-tools-3.7.0/libcoap/
DChangeLog212 -e to specify a payload (incompatible with -f)
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.data1455 X509 CSR ASN.1 (bad CRI.Name payload: not a set)
1458 X509 CSR ASN.1 (bad CRI.Name payload: overlong)
/net-tools-3.7.0/mbedtls-2.4.0/
DChangeLog1929 * Fixed a bug in ssl_write() that caused the same payload to
2032 * Fixed a bug that caused valid packets with a payload