Searched refs:mtu (Results 1 – 13 of 13) sorted by relevance
/openssl/ssl/ |
H A D | d1_lib.c | 91 d1->mtu = 0; in dtls1_new() 176 size_t mtu; in dtls1_clear() local 191 mtu = s->d1->mtu; in dtls1_clear() 206 s->d1->mtu = mtu; in dtls1_clear() 368 size_t mtu; in dtls1_check_timeout_num() local 376 mtu = in dtls1_check_timeout_num() 378 if (mtu < s->d1->mtu) in dtls1_check_timeout_num() 379 s->d1->mtu = mtu; in dtls1_check_timeout_num() 936 size_t mtu; in DTLS_get_data_mtu() local 942 mtu = s->d1->mtu; in DTLS_get_data_mtu() [all …]
|
H A D | ssl_local.h | 1935 size_t mtu; /* max DTLS packet size */ member
|
/openssl/ssl/quic/ |
H A D | quic_demux.c | 39 size_t mtu; member 85 demux->mtu = DEMUX_DEFAULT_MTU; in ossl_quic_demux_new() 122 unsigned int mtu; in ossl_quic_demux_set_bio() local 132 mtu = BIO_dgram_get_mtu(net_bio); in ossl_quic_demux_set_bio() 133 if (mtu >= QUIC_MIN_INITIAL_DGRAM_LEN) in ossl_quic_demux_set_bio() 134 ossl_quic_demux_set_mtu(demux, mtu); /* best effort */ in ossl_quic_demux_set_bio() 138 int ossl_quic_demux_set_mtu(QUIC_DEMUX *demux, unsigned int mtu) in ossl_quic_demux_set_mtu() argument 140 if (mtu < QUIC_MIN_INITIAL_DGRAM_LEN) in ossl_quic_demux_set_mtu() 143 demux->mtu = mtu; in ossl_quic_demux_set_mtu() 215 e = demux_alloc_urxe(demux->mtu); in demux_ensure_free_urxe() [all …]
|
/openssl/crypto/bio/ |
H A D | bss_dgram_pair.c | 256 size_t mtu; member 282 b->mtu = 1472; /* conservative default MTU */ in dgram_pair_init() 284 b->req_buf_len = 9 * (sizeof(struct dgram_hdr) + b->mtu); in dgram_pair_init() 540 if (l < b->mtu) in dgram_pair_ctrl_get_write_guarantee() 619 return b->mtu; in dgram_pair_ctrl_get_mtu() 623 static int dgram_pair_ctrl_set_mtu(BIO *bio, size_t mtu) in dgram_pair_ctrl_set_mtu() argument 627 b->mtu = mtu; in dgram_pair_ctrl_set_mtu() 631 peerb->mtu = mtu; in dgram_pair_ctrl_set_mtu()
|
H A D | bss_dgram.c | 214 unsigned int mtu; member 673 data->mtu = sockopt_val - 8 - 20; in dgram_ctrl() 674 ret = data->mtu; in dgram_ctrl() 689 data->mtu = sockopt_val - 8 - 40; in dgram_ctrl() 690 ret = data->mtu; in dgram_ctrl() 728 return data->mtu; in dgram_ctrl() 730 data->mtu = num; in dgram_ctrl() 2303 data->dgram.mtu = 16384; in dgram_sctp_ctrl() 2304 ret = data->dgram.mtu; in dgram_sctp_ctrl() 2311 data->dgram.mtu = 16384; in dgram_sctp_ctrl() [all …]
|
/openssl/include/internal/ |
H A D | quic_demux.h | 218 int ossl_quic_demux_set_mtu(QUIC_DEMUX *demux, unsigned int mtu);
|
/openssl/ssl/statem/ |
H A D | statem_dtls.c | 122 if (s->d1->mtu < dtls1_min_mtu(s)) in dtls1_do_write() 174 if (s->d1->mtu > used_len) in dtls1_do_write() 175 curr_mtu = s->d1->mtu - used_len; in dtls1_do_write() 188 if (s->d1->mtu > overhead + DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write() 189 curr_mtu = s->d1->mtu - overhead; in dtls1_do_write() 263 || BIO_wpending(s->wbio) <= (int)s->d1->mtu); in dtls1_do_write()
|
/openssl/doc/man3/ |
H A D | BIO_s_dgram_pair.pod | 22 int BIO_dgram_set_mtu(BIO *bio, unsigned int mtu);
|
/openssl/include/openssl/ |
H A D | bio.h.in | 671 # define BIO_dgram_set_mtu(b, mtu) \ argument 672 (int)BIO_ctrl((b), BIO_CTRL_DGRAM_SET_MTU, (mtu), NULL)
|
H A D | ssl.h.in | 617 # define SSL_set_mtu(ssl, mtu) \ argument 618 SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL) 619 # define DTLS_set_link_mtu(ssl, mtu) \ argument 620 SSL_ctrl((ssl),DTLS_CTRL_SET_LINK_MTU,(mtu),NULL)
|
/openssl/doc/man1/ |
H A D | openssl-s_server.pod.in | 126 [B<-mtu> I<+int>] 715 =item B<-mtu>
|
H A D | openssl-s_client.pod.in | 61 [B<-mtu> I<size>] 478 =item B<-mtu> I<size>
|
/openssl/doc/designs/quic-design/ |
H A D | quic-api.md | 66 - [MTU Signalling](#mtu-signalling)
|
Completed in 58 milliseconds