Searched refs:optlen (Results 1 – 4 of 4) sorted by relevance
/openthread-latest/third_party/tcplp/bsdtcp/ |
D | tcp_output.c | 120 unsigned ipoptlen, optlen, hdrlen; in tcp_output() local 715 optlen = 0; in tcp_output() 807 hdrlen += optlen = tcp_addoptions(&to, opt); in tcp_output() 830 if (len + optlen + ipoptlen > tp->t_maxopd) { in tcp_output() 835 len = tp->t_maxopd - optlen - ipoptlen; in tcp_output() 962 if (otMessageSetLength(message, sizeof(struct tcphdr) + optlen + len) != OT_ERROR_NONE) { in tcp_output() 990 size_t message_offset = otMessageGetOffset(message) + sizeof(struct tcphdr) + optlen; in tcp_output() 1128 if (optlen) { in tcp_output() 1129 bcopy(opt, th + 1, optlen); in tcp_output() 1130 th->th_off_x2 = ((sizeof (struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_output() [all …]
|
D | tcp_timewait.c | 125 uint32_t optlen = 0; in tcp_twrespond() local 139 optlen = tcp_addoptions(&to, opt); in tcp_twrespond() 145 if (otMessageSetLength(message, sizeof(struct tcphdr) + optlen) != OT_ERROR_NONE) { in tcp_twrespond() 150 char outbuf[sizeof(struct tcphdr) + optlen]; in tcp_twrespond() 161 nth->th_off_x2 = ((sizeof(struct tcphdr) + optlen) >> 2) << TH_OFF_SHIFT; in tcp_twrespond() 167 memcpy(nth + 1, opt, optlen); in tcp_twrespond() 168 otMessageWrite(message, 0, outbuf, sizeof(struct tcphdr) + optlen); in tcp_twrespond()
|
D | tcp_input.c | 468 int optlen = 0; in tcp_input() local 508 optlen = off - sizeof (struct tcphdr); in tcp_input() 783 tcp_dooptions(&to, optp, optlen, TO_SYN); in tcp_input() 2777 int opt, optlen; in tcp_dooptions() local 2780 for (; cnt > 0; cnt -= optlen, cp += optlen) { in tcp_dooptions() 2785 optlen = 1; in tcp_dooptions() 2789 optlen = cp[1]; in tcp_dooptions() 2790 if (optlen < 2 || optlen > cnt) in tcp_dooptions() 2795 if (optlen != TCPOLEN_MAXSEG) in tcp_dooptions() 2805 if (optlen != TCPOLEN_WINDOW) in tcp_dooptions() [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_dhm.data | 118 dhm_file:"data_files/dh.optlen.pem":"b3126aeaf47153c7d67f403030b292b5bd5a6c9eae1c137af34087fce2a36a… 121 dhm_file:"data_files/dh.optlen.der":"b3126aeaf47153c7d67f403030b292b5bd5a6c9eae1c137af34087fce2a36a…
|