Home
last modified time | relevance | path

Searched refs:max_with_header (Results 1 - 1 of 1) sorted by relevance

/third_party/libcoap/src/
H A Dcoap_session.c707 size_t max_with_header) { in coap_session_max_pdu_size_internal()
710 return max_with_header > 4 ? max_with_header - 4 : 0; in coap_session_max_pdu_size_internal()
713 return max_with_header > 4 ? max_with_header - 4 : 0; in coap_session_max_pdu_size_internal()
715 if (max_with_header <= 2) in coap_session_max_pdu_size_internal()
717 else if (max_with_header <= COAP_MAX_MESSAGE_SIZE_TCP0 + 2) in coap_session_max_pdu_size_internal()
718 return max_with_header - 2; in coap_session_max_pdu_size_internal()
719 else if (max_with_header <= COAP_MAX_MESSAGE_SIZE_TCP8 + 3) in coap_session_max_pdu_size_internal()
720 return max_with_header in coap_session_max_pdu_size_internal()
706 coap_session_max_pdu_size_internal(const coap_session_t *session, size_t max_with_header) coap_session_max_pdu_size_internal() argument
740 size_t max_with_header; coap_session_max_pdu_size() local
[all...]

Completed in 2 milliseconds