Searched refs:tlen (Results 1 – 8 of 8) sorted by relevance
/openthread-3.5.0/third_party/tcplp/bsdtcp/ |
D | tcp_input.c | 106 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, 317 #define DELAY_ACK(tp, tlen) \ argument 320 (tlen <= tp->t_maxopd) && \ 402 int tlen, int rstreason) in tcp_dropwithreset() argument 419 tlen++; in tcp_dropwithreset() 420 tcp_respond(tp, instance, ip6, th, th->th_seq + tlen, (tcp_seq) 0, TH_RST | TH_ACK); in tcp_dropwithreset() 461 int tlen = 0, off; in tcp_input() local 480 tlen = ntohs(ip6->ip6_plen); // assume *off == sizeof(*ip6) in tcp_input() 494 if (off < sizeof (struct tcphdr) || off > tlen) { in tcp_input() 497 tlen -= off; /* tlen is used instead of ti->ti_len */ in tcp_input() [all …]
|
D | tcp_reass.c | 60 int tlen; in tcp_reass() local 71 tlen = *tlenp; in tcp_reass() 77 if (cbuf_reass_count_set(&tp->recvbuf, (size_t) offset, tp->reassbmp, tlen) >= (size_t) tlen) { in tcp_reass() 81 …written = cbuf_reass_write(&tp->recvbuf, (size_t) offset, data, data_offset, tlen, tp->reassbmp, &… in tcp_reass() 84 tp->reass_fin_index = (int16_t) (start_index + tlen); in tcp_reass() 86 …KASSERT(written == tlen, ("Reassembly write out of bounds: tried to write %d, but wrote %d", tlen,… in tcp_reass()
|
D | tcp_timewait.c | 309 tcp_twcheck(struct tcpcb* tp, struct tcphdr *th, int tlen) in tcp_twcheck() argument 382 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck() 390 if (thflags != TH_ACK || tlen != 0 || in tcp_twcheck()
|
D | tcp_var.h | 598 int tlen, int rstreason);
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | ssl_ticket.c | 202 size_t *tlen, in mbedtls_ssl_ticket_write() argument 214 *tlen = 0; in mbedtls_ssl_ticket_write() 267 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
|
D | ssl_cli.c | 656 size_t tlen = ssl->session_negotiate->ticket_len; in ssl_write_session_ticket_ext() local 667 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 4 + tlen ); in ssl_write_session_ticket_ext() 672 MBEDTLS_PUT_UINT16_BE( tlen, p, 0 ); in ssl_write_session_ticket_ext() 677 if( ssl->session_negotiate->ticket == NULL || tlen == 0 ) in ssl_write_session_ticket_ext() 681 ( "sending session ticket of length %" MBEDTLS_PRINTF_SIZET, tlen ) ); in ssl_write_session_ticket_ext() 683 memcpy( p, ssl->session_negotiate->ticket, tlen ); in ssl_write_session_ticket_ext() 685 *olen += tlen; in ssl_write_session_ticket_ext()
|
D | ssl_srv.c | 4603 size_t tlen; in ssl_write_new_session_ticket() local 4626 &tlen, &lifetime ) ) != 0 ) in ssl_write_new_session_ticket() 4629 tlen = 0; in ssl_write_new_session_ticket() 4633 MBEDTLS_PUT_UINT16_BE( tlen, ssl->out_msg, 8 ); in ssl_write_new_session_ticket() 4634 ssl->out_msglen = 10 + tlen; in ssl_write_new_session_ticket()
|
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl.h | 2033 size_t *tlen,
|