Home
last modified time | relevance | path

Searched refs:BIO_MSG (Results 1 – 25 of 27) sorted by relevance

12

/openssl/doc/man3/
H A DBIO_sendmmsg.pod18 } BIO_MSG;
20 int BIO_sendmmsg(BIO *b, BIO_MSG *msg,
23 int BIO_recvmmsg(BIO *b, BIO_MSG *msg,
38 The B<BIO_MSG> structure provides a subset of the functionality of the B<struct
45 The caller should set the I<data> member of a B<BIO_MSG> to a buffer containing
49 that B<BIO_MSG>'s array index), I<data_len> will be modified to specify the
52 The I<flags> field of a B<BIO_MSG> provides input per-message flags to the
53 invocation. If the invocation processes that B<BIO_MSG>, the I<flags> field is
94 The I<stride> argument must be set to C<sizeof(BIO_MSG)>. This argument
96 must zero-initialize B<BIO_MSG>.
[all …]
H A DBIO_meth_new.pod48 ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
51 ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
74 BIO_MSG *,
79 BIO_MSG *,
H A DBIO_set_callback.pod39 BIO_MSG *msg;
228 =item B<BIO_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride, size_t num_msg, uint64_t flags, size_t *m…
251 =item B<BIO_recvmmsg(BIO *b, BIO_MSG *msg, size_t stride, size_t num_msg, uint64_t flags, size_t *m…
/openssl/test/
H A Dbio_dgram_test.c64 static int do_sendmmsg(BIO *b, BIO_MSG *msg, in do_sendmmsg()
71 if (!BIO_sendmmsg(b, msg + done, sizeof(BIO_MSG), in do_sendmmsg()
82 static int do_recvmmsg(BIO *b, BIO_MSG *msg, in do_recvmmsg()
89 if (!BIO_recvmmsg(b, msg + done, sizeof(BIO_MSG), in do_recvmmsg()
115 BIO_MSG tx_msg[128], rx_msg[128]; in test_bio_dgram_impl()
500 BIO_MSG msgs[2], rmsgs[2]; in test_bio_dgram_pair()
610 if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), OSSL_NELEM(msgs), 0, in test_bio_dgram_pair()
619 if (!TEST_true(BIO_recvmmsg(bio2, rmsgs, sizeof(BIO_MSG), OSSL_NELEM(rmsgs), 0, in test_bio_dgram_pair()
658 if (!TEST_false(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), in test_bio_dgram_pair()
679 if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), 1, 0, &num_processed)) in test_bio_dgram_pair()
[all …]
H A Dthreadstest.c1134 BIO_MSG msg = {0}; in test_bio_dgram_pair_worker()
1149 sizeof(BIO_MSG), 1, 0, &num_processed); in test_bio_dgram_pair_worker()
1152 sizeof(BIO_MSG), 1, 0, &num_processed); in test_bio_dgram_pair_worker()
H A Dquicfaultstest.c242 static int on_datagram_cb(QTEST_FAULT *fault, BIO_MSG *m, size_t stride, in on_datagram_cb()
H A Dquic_tserver_test.c360 BIO_MSG rmsg = {0}; in do_test()
H A Dquic_multistream_test.c99 BIO_MSG *m, size_t stride);
133 BIO_MSG *m, size_t stride);
986 BIO_MSG *msg, size_t stride, in helper_datagram_listener()
4936 static int server_gen_version_neg(struct helper *h, BIO_MSG *msg, size_t stride) in server_gen_version_neg()
H A Dquic_record_test.c3615 BIO_MSG msg = {0}; in tx_run_script()
/openssl/crypto/bio/
H A Dbio_meth.c239 int (*bsendmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *)) in BIO_meth_set_sendmmsg() argument
246 int (*BIO_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *, size_t, size_t, uint64_t, si… in BIO_meth_get_sendmmsg()
252 int (*brecvmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *)) in BIO_meth_set_recvmmsg() argument
259 int (*BIO_meth_get_recvmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *, size_t, size_t, uint64_t, si… in BIO_meth_get_recvmmsg()
H A Dbss_dgram_pair.c186 static int dgram_pair_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride,
189 static int dgram_pair_recvmmsg(BIO *b, BIO_MSG *msg, size_t stride,
197 #define BIO_MSG_N(array, n) (*(BIO_MSG *)((char *)(array) + (n)*stride))
1033 static int dgram_pair_recvmmsg(BIO *bio, BIO_MSG *msg, in dgram_pair_recvmmsg()
1040 BIO_MSG *m; in dgram_pair_recvmmsg()
1283 static int dgram_pair_sendmmsg(BIO *bio, BIO_MSG *msg, in dgram_pair_sendmmsg()
1288 BIO_MSG *m; in dgram_pair_sendmmsg()
H A Dbss_conn.c58 static int conn_sendmmsg(BIO *h, BIO_MSG *m, size_t s, size_t n,
60 static int conn_recvmmsg(BIO *h, BIO_MSG *m, size_t s, size_t n,
816 static int conn_sendmmsg(BIO *bio, BIO_MSG *msg, size_t stride, size_t num_msgs, in conn_sendmmsg()
847 static int conn_recvmmsg(BIO *bio, BIO_MSG *msg, size_t stride, size_t num_msgs, in conn_recvmmsg()
H A Dbss_dgram.c140 # define BIO_MSG_N(array, stride, n) (*(BIO_MSG *)((char *)(array) + (n)*(stride)))
149 static int dgram_sendmmsg(BIO *b, BIO_MSG *msg,
152 static int dgram_recvmmsg(BIO *b, BIO_MSG *msg,
1040 unsigned char *control, BIO_MSG *msg) in translate_msg_win()
1074 unsigned char *control, BIO_MSG *msg) in translate_msg()
1314 static int dgram_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride, in dgram_sendmmsg()
1515 static int dgram_recvmmsg(BIO *b, BIO_MSG *msg, in dgram_recvmmsg()
H A Dbio_lib.c394 int BIO_sendmmsg(BIO *b, BIO_MSG *msg, in BIO_sendmmsg()
441 int BIO_recvmmsg(BIO *b, BIO_MSG *msg, in BIO_recvmmsg()
/openssl/test/helpers/
H A Dpktsplitbio.c33 static int pkt_split_dgram_sendmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in pkt_split_dgram_sendmmsg()
49 static int pkt_split_dgram_recvmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in pkt_split_dgram_recvmmsg()
55 BIO_MSG *thismsg; in pkt_split_dgram_recvmmsg()
H A Dquictestlib.h236 BIO_MSG *m,
262 int bio_msg_copy(BIO_MSG *dst, BIO_MSG *src);
H A Dnoisydgrambio.c32 BIO_MSG msg;
113 BIO_MSG *msg, size_t num_msg) in bandwidth_limit()
169 static int noisy_dgram_sendmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in noisy_dgram_sendmmsg()
302 static int noisy_dgram_recvmmsg(BIO *bio, BIO_MSG *msg, size_t stride, in noisy_dgram_recvmmsg()
308 BIO_MSG *thismsg; in noisy_dgram_recvmmsg()
H A Dquictestlib.c69 BIO_MSG msg;
1069 # define BIO_MSG_N(array, stride, n) (*(BIO_MSG *)((char *)(array) + (n)*(stride)))
1071 static int pcipher_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride, in pcipher_sendmmsg()
1256 int bio_msg_copy(BIO_MSG *dst, BIO_MSG *src) in bio_msg_copy()
/openssl/include/internal/
H A Dbio.h30 int (*bsendmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *);
31 int (*brecvmmsg) (BIO *, BIO_MSG *, size_t, size_t, uint64_t, size_t *);
H A Dquic_record_tx.h279 int ossl_qtx_pop_net(OSSL_QTX *qtx, BIO_MSG *msg);
/openssl/ssl/quic/
H A Dquic_demux.c236 BIO_MSG msg[DEMUX_MAX_MSGS_PER_CALL]; in demux_recv()
272 memset(&msg[i], 0, sizeof(BIO_MSG)); in demux_recv()
284 if (!BIO_recvmmsg(demux->net_bio, msg, sizeof(BIO_MSG), i, 0, &rd)) { in demux_recv()
H A Dquic_record_tx.c919 static void txe_to_msg(TXE *txe, BIO_MSG *msg) in txe_to_msg()
934 BIO_MSG msg[MAX_MSGS_PER_SEND]; in ossl_qtx_flush_net()
956 res = BIO_sendmmsg(qtx->bio, msg, sizeof(BIO_MSG), i, 0, &wr); in ossl_qtx_flush_net()
1001 int ossl_qtx_pop_net(OSSL_QTX *qtx, BIO_MSG *msg) in ossl_qtx_pop_net()
/openssl/doc/designs/quic-design/
H A Ddgram-api.md44 - We ensure the extensibility of our `BIO_MSG` structure in a way that preserves
46 `sizeof(BIO_MSG)`. Implementations can examine the stride field to determine
47 whether a given field is part of a `BIO_MSG`. This allows us to add optional
48 fields to `BIO_MSG` at a later time without breaking ABI. All new fields must
110 } BIO_MSG;
115 ossl_ssize_t BIO_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride,
117 ossl_ssize_t BIO_recvmmsg(BIO *b, BIO_MSG *msg, size_t stride,
123 - `msg` points to an array of `num_msg` `BIO_MSG` structures.
132 - `stride` must be set to `sizeof(BIO_MSG)`.
140 - `flags` in the `BIO_MSG` structure provides per-message flags to
/openssl/apps/lib/
H A Ds_cb.c496 BIO_MSG *msg = (BIO_MSG *)((char *)mmsgargs->msg in bio_dump_callback()
505 BIO_MSG *msg = mmsgargs->msg; in bio_dump_callback()
516 BIO_MSG *msg = (BIO_MSG *)((char *)mmsgargs->msg in bio_dump_callback()
525 BIO_MSG *msg = mmsgargs->msg; in bio_dump_callback()
/openssl/include/openssl/
H A Dbio.h.in379 } BIO_MSG; typedef
382 BIO_MSG *msg;
715 __owur int BIO_recvmmsg(BIO *b, BIO_MSG *msg,
722 __owur int BIO_sendmmsg(BIO *b, BIO_MSG *msg,
950 int (*f) (BIO *, BIO_MSG *, size_t, size_t,
957 int (*f) (BIO *, BIO_MSG *, size_t, size_t,
975 OSSL_DEPRECATEDIN_3_5 int (*BIO_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *,
981 OSSL_DEPRECATEDIN_3_5 int (*BIO_meth_get_recvmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *,

Completed in 79 milliseconds

12