Home
last modified time | relevance | path

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

/net-tools-3.4.0/tinydtls-0.8.2/
Ddtls.c1184 uint8 *sendbuf, size_t *rlen) { in dtls_prepare_record() argument
1194 p = dtls_set_record_header(type, security, sendbuf); in dtls_prepare_record()
1269 memcpy(p, &DTLS_RECORD_HEADER(sendbuf)->epoch, 8); in dtls_prepare_record()
1299 memcpy(A_DATA, &DTLS_RECORD_HEADER(sendbuf)->epoch, 8); /* epoch and seq_num */ in dtls_prepare_record()
1300 memcpy(A_DATA + 8, &DTLS_RECORD_HEADER(sendbuf)->content_type, 3); /* type and version */ in dtls_prepare_record()
1316 dtls_int_to_uint16(sendbuf + 11, res); in dtls_prepare_record()
1418 unsigned char sendbuf[DTLS_MAX_BUF]; in dtls_send_multi() local
1419 size_t len = sizeof(sendbuf); in dtls_send_multi()
1424 …res = dtls_prepare_record(peer, security, type, buf_array, buf_len_array, buf_array_len, sendbuf, … in dtls_send_multi()
1432 dtls_debug_hexdump("send header", sendbuf, sizeof(dtls_record_header_t)); in dtls_send_multi()
[all …]